svn commit: r399394 - head/devel/rubygem-app_config

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Thu Oct 15 20:18:53 UTC 2015


Author: sunpoet
Date: Thu Oct 15 20:18:51 2015
New Revision: 399394
URL: https://svnweb.freebsd.org/changeset/ports/399394

Log:
  - Convert to new options helper
  
  Approved by:	portmgr (blanket)

Modified:
  head/devel/rubygem-app_config/Makefile

Modified: head/devel/rubygem-app_config/Makefile
==============================================================================
--- head/devel/rubygem-app_config/Makefile	Thu Oct 15 20:18:46 2015	(r399393)
+++ head/devel/rubygem-app_config/Makefile	Thu Oct 15 20:18:51 2015	(r399394)
@@ -16,18 +16,10 @@ OPTIONS_DEFAULT=	SQLITE3
 MONGO_DESC=	mongo backend support
 SQLITE3_DESC=	sqlite3 backend support
 
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MSQLITE3}
-RUN_DEPENDS+=	rubygem-sqlite3>=0:${PORTSDIR}/databases/rubygem-sqlite3
-.endif
-
-.if ${PORT_OPTIONS:MMONGO}
-RUN_DEPENDS+=	rubygem-mongo>=0:${PORTSDIR}/devel/rubygem-mongo
-.endif
+MONGO_RUN_DEPENDS=	rubygem-mongo>=0:${PORTSDIR}/devel/rubygem-mongo
+SQLITE3_RUN_DEPENDS=	rubygem-sqlite3>=0:${PORTSDIR}/databases/rubygem-sqlite3
 
 NO_ARCH=	yes
-
 USE_RUBY=	yes
 USE_RUBYGEMS=	yes
 RUBYGEM_AUTOPLIST=	yes


More information about the svn-ports-head mailing list