Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Oct 2015 20:18:51 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r399394 - head/devel/rubygem-app_config
Message-ID:  <201510152018.t9FKIpg1026810@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201510152018.t9FKIpg1026810>