aboutsummaryrefslogtreecommitdiff
path: root/misc/pear-Services_Weather
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2012-12-17 02:15:13 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2012-12-17 02:15:13 +0000
commit3bdf701a5c55426eb679205359bb384d7019a1a2 (patch)
tree2462f02d26b3d6c876b0b158f0a6aa557f06a219 /misc/pear-Services_Weather
parent87b9f8cbd167accbbbbcf020b1dfed71e5f93278 (diff)
downloadports-3bdf701a5c55426eb679205359bb384d7019a1a2.tar.gz
ports-3bdf701a5c55426eb679205359bb384d7019a1a2.zip
Convert miwi's ports to new Options framework
While here fix some consistency in PEAR options name bumped revision of net/icpld and net/ipsumdump because IPV6 is now on Approved by: miwi (maintainer)
Notes
Notes: svn path=/head/; revision=309053
Diffstat (limited to 'misc/pear-Services_Weather')
-rw-r--r--misc/pear-Services_Weather/Makefile25
1 files changed, 13 insertions, 12 deletions
diff --git a/misc/pear-Services_Weather/Makefile b/misc/pear-Services_Weather/Makefile
index 4f603bab9d1e..26ee70c3817c 100644
--- a/misc/pear-Services_Weather/Makefile
+++ b/misc/pear-Services_Weather/Makefile
@@ -15,35 +15,36 @@ RUN_DEPENDS:= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear \
USE_PHP= ctype pcre
LATEST_LINK= pear-Services_Weather
-OPTIONS= PEAR_NET_FTP "PEAR::Net::FTP support" off \
- PEAR_CACHE "PEAR::Cache support" off \
- PEAR_DB "PEAR::DB support" off \
- PEAR_SOAP "PEAR::SOAP support" off \
- PEAR_XML_SERIALIZER "PEAR::XML::Serializer support" off
+OPTIONS_DEFINE= PEAR_NET_FTP PEAR_CACHE PEAR_DB PEAR_SOAP PEAR_XML_SERIALIZER
+PEAR_NET_FTP_DESC= PEAR::Net::FTP support
+PEAR_CACHE_DESC= PEAR::Cache support
+PEAR_DB_DESC= PEAR::DB support
+PEAR_SOAP_DESC= PEAR::SOAP support
+PEAR_XML_SERIALIZER_DESC= PEAR::XML::Serializer support
PEAR_AUTOINSTALL= yes
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
-.if defined(WITH_PEAR_NET_FTP)
+.if ${PORT_OPTIONS:MPEAR_NET_FTP}
BUILD_DEPENDS+= ${PEARDIR}/Net/FTP.php:${PORTSDIR}/ftp/pear-Net_FTP
.endif
-.if defined(WITH_PEAR_CACHE)
+.if ${PORT_OPTIONS:MPEAR_CACHE}
BUILD_DEPENDS+= ${PEARDIR}/Cache.php:${PORTSDIR}/sysutils/pear-Cache
.endif
-.if defined(WITH_PEAR_DB)
+.if ${PORT_OPTIONS:MPEAR_DB}
BUILD_DEPENDS+= ${PEARDIR}/DB.php:${PORTSDIR}/databases/pear-DB
.endif
-.if defined(WITH_PEAR_SOAP)
+.if ${PORT_OPTIONS:MPEAR_SOAP}
BUILD_DEPENDS+= ${PEARDIR}/SOAP/Base.php:${PORTSDIR}/net/pear-SOAP
.endif
-.if defined(WITH_PEAR_XML_SERIALIZER)
+.if ${PORT_OPTIONS:MPEAR_XML_SERIALIZER}
BUILD_DEPENDS+= ${PEARDIR}/XML/Serializer.php:${PORTSDIR}/devel/pear-XML_Serializer
.endif
.include "${PORTSDIR}/devel/pear/bsd.pear.mk"
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>