diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2013-12-01 02:29:16 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2013-12-01 02:29:16 +0800 |
commit | d2bcbf04bbb0f5acf5fcb8c7b21f9882cd114298 (patch) | |
tree | a94ba9728fe6d2cb8fc9fd952138937b3a599974 /devel | |
parent | 0b1d340c06f1d2d7a11ffae6f1a65d13830ada60 (diff) | |
download | freebsd-ports-gnome-d2bcbf04bbb0f5acf5fcb8c7b21f9882cd114298.tar.gz freebsd-ports-gnome-d2bcbf04bbb0f5acf5fcb8c7b21f9882cd114298.tar.zst freebsd-ports-gnome-d2bcbf04bbb0f5acf5fcb8c7b21f9882cd114298.zip |
- Convert to new options helper
Diffstat (limited to 'devel')
-rw-r--r-- | devel/rubygem-multi_json/Makefile | 18 |
1 files changed, 4 insertions, 14 deletions
diff --git a/devel/rubygem-multi_json/Makefile b/devel/rubygem-multi_json/Makefile index d61f26070826..13b4668f2b5d 100644 --- a/devel/rubygem-multi_json/Makefile +++ b/devel/rubygem-multi_json/Makefile @@ -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> |