aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2013-03-06 01:07:43 +0800
committermiwi <miwi@FreeBSD.org>2013-03-06 01:07:43 +0800
commitb5e88d7789bddf1e308d47c8c5b81b8d3f0c31d7 (patch)
tree268d74f9d8738f78b0c895672044611aa6343387 /devel
parent4c148339a17778393b116c6e7051a9bc484e786a (diff)
downloadfreebsd-ports-gnome-b5e88d7789bddf1e308d47c8c5b81b8d3f0c31d7.tar.gz
freebsd-ports-gnome-b5e88d7789bddf1e308d47c8c5b81b8d3f0c31d7.tar.zst
freebsd-ports-gnome-b5e88d7789bddf1e308d47c8c5b81b8d3f0c31d7.zip
- Convert to OptionsNG
- Trim header Reviewed by: beat, bapt, kwm
Diffstat (limited to 'devel')
-rw-r--r--devel/phpsh/Makefile15
1 files changed, 5 insertions, 10 deletions
diff --git a/devel/phpsh/Makefile b/devel/phpsh/Makefile
index f0bbae35e27d..efaafa645c27 100644
--- a/devel/phpsh/Makefile
+++ b/devel/phpsh/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: phpsh
-# Date created: 2011-08-22
-# Whom: Ashish SHUKLA <ashish@FreeBSD.org>
-#
+# Created by: Ashish SHUKLA <ashish@FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= phpsh
PORTVERSION= 20110513
@@ -28,16 +24,15 @@ PYDISTUTILS_PKGVERSION= 1.3
MAN1= phpsh.1
-OPTIONS= PCNTL "Fork on every command (requires PHP extension pcntl)" OFF
+OPTIONS_DEFINE= PCNTL
+PCNTL_DESC= Fork on every command (pcntl PHP extension)
.include <bsd.port.options.mk>
-.if defined(WITH_PCNTL)
+.if ${PORT_OPTIONS:MPCNTL}
USE_PHP+= pcntl
.endif
-.include <bsd.port.pre.mk>
-
post-patch:
@${GREP} -Rl '%%PREFIX%%' ${WRKSRC} |${XARGS} ${REINPLACE_CMD} \
-e 's,%%PREFIX%%,${PREFIX},g'
@@ -45,4 +40,4 @@ post-patch:
post-install:
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>