1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-15 07:56:36 +00:00

- Add missing build dependency on php

- Trim header
- Pet portlint rm->${RM}

Approved by:	miwi (maintainer)
This commit is contained in:
Bryan Drewery 2013-03-16 12:27:10 +00:00
parent 455700b19f
commit 46ac3af7ce
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=314350

View File

@ -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