1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-07 06:40:06 +00:00

- Convert to new options helper

This commit is contained in:
Sunpoet Po-Chuan Hsieh 2013-11-30 18:29:16 +00:00
parent b58f0c2540
commit 0e0cfca5f1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=335322

View File

@ -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>