aboutsummaryrefslogtreecommitdiff
path: root/archivers/pear-Archive_Tar
diff options
context:
space:
mode:
Diffstat (limited to 'archivers/pear-Archive_Tar')
-rw-r--r--archivers/pear-Archive_Tar/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/archivers/pear-Archive_Tar/Makefile b/archivers/pear-Archive_Tar/Makefile
index c30a917e518e..7f0335e9a5d3 100644
--- a/archivers/pear-Archive_Tar/Makefile
+++ b/archivers/pear-Archive_Tar/Makefile
@@ -7,6 +7,7 @@
PORTNAME= Archive_Tar
PORTVERSION= 1.0
+PORTREVISION= 1
CATEGORIES= archivers www
MASTER_SITES= http://pear.php.net/get/
PKGNAMEPREFIX= pear-
@@ -29,7 +30,7 @@ PHP_BASE!= ${LOCALBASE}/bin/php-config --prefix
.else
PHP_BASE= ${LOCALBASE}
.endif
-
+PEAR= ${LOCALBASE}/bin/pear
LPHP_LIB= lib/php
PEARDIR= ${PHP_BASE}/${LPHP_LIB}
PLIST_SUB= PEARDIR=${LPHP_LIB}
@@ -47,4 +48,8 @@ do-install:
@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
.endif
+post-install:
+# Register a new package
+ @${PEAR} upgrade -r -f ${WRKDIR}/package.xml
+
.include <bsd.port.post.mk>