From 96e7b0a041d3693c668390ebd428e3d5362528e3 Mon Sep 17 00:00:00 2001 From: bdrewery Date: Sat, 16 Mar 2013 12:27:10 +0000 Subject: - Add missing build dependency on php - Trim header - Pet portlint rm->${RM} Approved by: miwi (maintainer) --- devel/pear/Makefile | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'devel') 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 -# +# Created by: Alex Dupre # $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 -- cgit