svn commit: r314350 - head/devel/pear
Bryan Drewery
bdrewery at FreeBSD.org
Sat Mar 16 12:27:11 UTC 2013
Author: bdrewery
Date: Sat Mar 16 12:27:10 2013
New Revision: 314350
URL: http://svnweb.freebsd.org/changeset/ports/314350
Log:
- Add missing build dependency on php
- Trim header
- Pet portlint rm->${RM}
Approved by: miwi (maintainer)
Modified:
head/devel/pear/Makefile
Modified: head/devel/pear/Makefile
==============================================================================
--- head/devel/pear/Makefile Sat Mar 16 12:25:18 2013 (r314349)
+++ head/devel/pear/Makefile Sat Mar 16 12:27:10 2013 (r314350)
@@ -1,9 +1,5 @@
-# New ports collection makefile for: pear
-# Date created: 25 Nov 2005
-# Whom: Alex Dupre <ale at FreeBSD.org>
-#
+# Created by: Alex Dupre <ale at 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
More information about the svn-ports-head
mailing list