aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2013-03-16 20:27:10 +0800
committerbdrewery <bdrewery@FreeBSD.org>2013-03-16 20:27:10 +0800
commit96e7b0a041d3693c668390ebd428e3d5362528e3 (patch)
tree9809af1f5b9bbabd496300b229c01a7530c00db0
parent04504a01e3457b6bfd17cc9fb40fa048139dcf6e (diff)
downloadfreebsd-ports-gnome-96e7b0a041d3693c668390ebd428e3d5362528e3.tar.gz
freebsd-ports-gnome-96e7b0a041d3693c668390ebd428e3d5362528e3.tar.zst
freebsd-ports-gnome-96e7b0a041d3693c668390ebd428e3d5362528e3.zip
- Add missing build dependency on php
- Trim header - Pet portlint rm->${RM} Approved by: miwi (maintainer)
-rw-r--r--devel/pear/Makefile9
1 files changed, 3 insertions, 6 deletions
diff --git a/devel/pear/Makefile b/devel/pear/Makefile
index f196eab78ff1..c320f6fb0860 100644
--- a/devel/pear/Makefile
+++ b/devel/pear/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: pear
-# Date created: 25 Nov 2005
-# Whom: Alex Dupre <ale@FreeBSD.org>
-#
+# Created by: Alex Dupre <ale@FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= pear
PORTVERSION= 1.9.4
@@ -19,6 +15,7 @@ NO_BUILD= yes
WANT_PHP_CLI= yes
USE_PHP= pcre xml
+USE_PHP_BUILD= yes
PEARDIR= ${PREFIX}/share/pear
@@ -29,7 +26,7 @@ post-patch:
${WRKSRC}/go-pear
@cd ${WRKSRC}/go-pear-bundle && ${MKDIR} tmp && ${TAR} -C tmp -xf PEAR-${PORTVERSION}.tar
@cd ${WRKSRC}/go-pear-bundle/tmp/PEAR-${PORTVERSION} && ${PATCH} -s -p0 < ${FILESDIR}/extra-patch-PEAR-Config.php
- @rm ${WRKSRC}/go-pear-bundle/tmp/PEAR-${PORTVERSION}/PEAR/Config.php.orig
+ @${RM} ${WRKSRC}/go-pear-bundle/tmp/PEAR-${PORTVERSION}/PEAR/Config.php.orig
@${MD5} -q ${WRKSRC}/go-pear-bundle/tmp/PEAR-${PORTVERSION}/PEAR/Config.php > ${WRKSRC}/Config.php.md5
@${REINPLACE_CMD} -E -e "s|(file md5sum=\").*(\" name=\"PEAR/Config.php\" role=\"php\")|\1`${CAT} ${WRKSRC}/Config.php.md5`\2|g" \
${WRKSRC}/go-pear-bundle/tmp/package2.xml ${WRKSRC}/go-pear-bundle/package2.xml