aboutsummaryrefslogtreecommitdiff
path: root/mail/pear-MIME_Type
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 /mail/pear-MIME_Type
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 'mail/pear-MIME_Type')
-rw-r--r--mail/pear-MIME_Type/Makefile15
1 files changed, 6 insertions, 9 deletions
diff --git a/mail/pear-MIME_Type/Makefile b/mail/pear-MIME_Type/Makefile
index 92504ec2d470..979ff5820dd3 100644
--- a/mail/pear-MIME_Type/Makefile
+++ b/mail/pear-MIME_Type/Makefile
@@ -1,9 +1,5 @@
-# Ports collection makefile for: pear-MIME_Type
-# Date created: 18 April 2005
-# Whom: Antonio Carlos Venancio Junior (<antonio@inf.ufsc.br>)
-#
+# Created by: Antonio Carlos Venancio Junior (<antonio@inf.ufsc.br>)
# $FreeBSD$
-#
PORTNAME= MIME_Type
PORTVERSION= 1.3.1
@@ -16,15 +12,16 @@ BUILD_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear
RUN_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear
LATEST_LINK= pear-${PORTNAME}
-OPTIONS= PEAR_SYSTEM_COMMAND "PEAR::System_Command support" off
+OPTIONS_DEFINE= PEAR_SYSTEM_COMMAND
+PEAR_SYSTEM_COMMAND_DESC= PEAR::System_Command support
PEAR_AUTOINSTALL=yes
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
-.if defined(WITH_PEAR_SYSTEM_COMMAND)
+.if ${PORT_OPTIONS:MPEAR_SYSTEM_COMMAND}
RUN_DEPENDS+= ${PEARDIR}/System/Command.php:${PORTSDIR}/devel/pear-System_Command
.endif
.include "${PORTSDIR}/devel/pear/bsd.pear.mk"
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>