svn commit: r335322 - head/devel/rubygem-multi_json
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sat Nov 30 18:29:16 UTC 2013
Author: sunpoet
Date: Sat Nov 30 18:29:16 2013
New Revision: 335322
URL: http://svnweb.freebsd.org/changeset/ports/335322
Log:
- Convert to new options helper
Modified:
head/devel/rubygem-multi_json/Makefile
Modified: head/devel/rubygem-multi_json/Makefile
==============================================================================
--- head/devel/rubygem-multi_json/Makefile Sat Nov 30 18:29:12 2013 (r335321)
+++ head/devel/rubygem-multi_json/Makefile Sat Nov 30 18:29:16 2013 (r335322)
@@ -15,24 +15,14 @@ OPTIONS_DEFINE= JSON JSON_PURE YAJL_RUBY
JSON_DESC= JSON implementation as a Ruby extension in C
JSON_PURE_DESC= JSON implementation in pure Ruby
YAJL_RUBY_DESC= Yajl JSON stream-based parser library
-OPTIONS_DEFAULT= JSON_PURE
+OPTIONS_DEFAULT=JSON_PURE
USE_RUBY= yes
USE_RUBYGEMS= yes
RUBYGEM_AUTOPLIST= yes
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MJSON}
-RUN_DEPENDS+= rubygem-json>=0:${PORTSDIR}/devel/rubygem-json
-.endif
-
-.if ${PORT_OPTIONS:MJSON_PURE}
-RUN_DEPENDS+= rubygem-json_pure>=0:${PORTSDIR}/devel/rubygem-json_pure
-.endif
-
-.if ${PORT_OPTIONS:MYAJL_RUBY}
-RUN_DEPENDS+= rubygem-yajl-ruby>=0:${PORTSDIR}/devel/rubygem-yajl-ruby
-.endif
+JSON_RUN_DEPENDS= rubygem-json>=0:${PORTSDIR}/devel/rubygem-json
+JSON_PURE_RUN_DEPENDS= rubygem-json_pure>=0:${PORTSDIR}/devel/rubygem-json_pure
+YAJL_RUBY_RUN_DEPENDS= rubygem-yajl-ruby>=0:${PORTSDIR}/devel/rubygem-yajl-ruby
.include <bsd.port.mk>
More information about the svn-ports-head
mailing list