diff options
author | Alex Dupre <ale@FreeBSD.org> | 2006-08-21 08:42:31 +0000 |
---|---|---|
committer | Alex Dupre <ale@FreeBSD.org> | 2006-08-21 08:42:31 +0000 |
commit | 76e17d80dcd14e88a4a4cf7b4332e10f34f1a070 (patch) | |
tree | 248109e250ce059020b1d3d7f3a1c481eec914b5 /devel/pear/Makefile | |
parent | c295728bd5f2d84ea0ea303fd95aa3f3a9913b2c (diff) | |
download | ports-76e17d80dcd14e88a4a4cf7b4332e10f34f1a070.tar.gz ports-76e17d80dcd14e88a4a4cf7b4332e10f34f1a070.zip |
Notes
Diffstat (limited to 'devel/pear/Makefile')
-rw-r--r-- | devel/pear/Makefile | 6 |
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> |