aboutsummaryrefslogtreecommitdiff
path: root/devel/pear/Makefile
diff options
context:
space:
mode:
authorAlex Dupre <ale@FreeBSD.org>2006-08-21 08:42:31 +0000
committerAlex Dupre <ale@FreeBSD.org>2006-08-21 08:42:31 +0000
commit76e17d80dcd14e88a4a4cf7b4332e10f34f1a070 (patch)
tree248109e250ce059020b1d3d7f3a1c481eec914b5 /devel/pear/Makefile
parentc295728bd5f2d84ea0ea303fd95aa3f3a9913b2c (diff)
downloadports-76e17d80dcd14e88a4a4cf7b4332e10f34f1a070.tar.gz
ports-76e17d80dcd14e88a4a4cf7b4332e10f34f1a070.zip
Notes
Diffstat (limited to 'devel/pear/Makefile')
-rw-r--r--devel/pear/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/devel/pear/Makefile b/devel/pear/Makefile
index 20915332e617..3cc4f006b7b7 100644
--- a/devel/pear/Makefile
+++ b/devel/pear/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= pear
-PORTVERSION= 1.4.6
+PORTVERSION= 1.4.11
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= ale
@@ -23,11 +23,15 @@ USE_PHP= pcre xml
SUB_FILES= pkg-message
PKGMESSAGE= ${WRKDIR}/pkg-message
+PEARDIR= ${PREFIX}/share/pear
+
post-patch:
@${REINPLACE_CMD} "s|%%PREFIX%%|${PREFIX}|" ${WRKSRC}/go-pear
do-install:
@${LOCALBASE}/bin/php -q ${WRKSRC}/go-pear
+ @${PATCH} -p0 -s -b .orig -d ${PEARDIR} < ${PATCHDIR}/PEAR_Installer.php.patch
+ @${RM} -f ${PEARDIR}/PEAR/Installer.php.orig
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>