aboutsummaryrefslogtreecommitdiffstats
path: root/archivers
diff options
context:
space:
mode:
authornork <nork@FreeBSD.org>2003-06-08 07:00:46 +0800
committernork <nork@FreeBSD.org>2003-06-08 07:00:46 +0800
commit745d211ff042f4470c9df0ffe9f99c37920b85c7 (patch)
tree6d423271cde50294359b8b859c4d8d7b1a45c6ae /archivers
parentc81d0eb89c8cdf6ad9ff097db9f1413450c7dd94 (diff)
downloadfreebsd-ports-gnome-745d211ff042f4470c9df0ffe9f99c37920b85c7.tar.gz
freebsd-ports-gnome-745d211ff042f4470c9df0ffe9f99c37920b85c7.tar.zst
freebsd-ports-gnome-745d211ff042f4470c9df0ffe9f99c37920b85c7.zip
Update to pear-Archive_Tar 1.1.
Update to pear-PEAR 1.1. Update to pear-HTML_Common 1.2. Update to pear-Net_SMTP 1.2.3. Update to pear-Log 1.6.5. Update to pear-I18N 0.8.5. Update to pear 4.3.2. Adapt following ports for pear-PEAR's Makefile.common. pear-Console_Getopt, pear-Auth, pear-Auth_SASL, devel/pear-Date, net/pear-Net_Socket, pear-Mail_Mime, pear-Crypt_CBC, pear-mailparse, pear-File, pear-HTML_Select_Common, and pear-Net_Sieve PR: ports/52596, ports/52641, ports/52655, ports/52656, ports/52671, ports/52678, ports/52845 Submitted by: Thierry Thomas <thierry@pompo.net>
Diffstat (limited to 'archivers')
-rw-r--r--archivers/pear-Archive_Tar/Makefile32
-rw-r--r--archivers/pear-Archive_Tar/distinfo2
-rw-r--r--archivers/pear-Archive_Tar/pkg-descr3
-rw-r--r--archivers/pear-Archive_Tar/pkg-plist9
4 files changed, 12 insertions, 34 deletions
diff --git a/archivers/pear-Archive_Tar/Makefile b/archivers/pear-Archive_Tar/Makefile
index 7f0335e9a5d3..8b8c98131983 100644
--- a/archivers/pear-Archive_Tar/Makefile
+++ b/archivers/pear-Archive_Tar/Makefile
@@ -6,50 +6,26 @@
#
PORTNAME= Archive_Tar
-PORTVERSION= 1.0
-PORTREVISION= 1
+PORTVERSION= 1.1
CATEGORIES= archivers www
-MASTER_SITES= http://pear.php.net/get/
-PKGNAMEPREFIX= pear-
-EXTRACT_SUFX= .tgz
-DIST_SUBDIR= PEAR
MAINTAINER= ports@FreeBSD.org
COMMENT= PEAR tar file management class
-COMMENT= PEAR tar file management class
-BUILD_DEPENDS= ${PEARDIR}/PEAR.php.dist:${PORTSDIR}/devel/pear-PEAR
+BUILD_DEPENDS= pear:${PORTSDIR}/lang/php4
RUN_DEPENDS= ${BUILD_DEPENDS}
-NO_BUILD= yes
-
.include <bsd.port.pre.mk>
-
-.if exists(${LOCALBASE}/bin/php-config)
-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}
-
-DOCSDIR= ${PEARDIR}/docs/Archive_Tar
+.include "${.CURDIR}/../../devel/pear-PEAR/Makefile.common"
do-install:
- @${MV} ${PEARDIR}/Archive ${PEARDIR}/Archive.dist
+ @${MKDIR} ${PEARDIR}/Archive
@${CP} -Rp ${WRKSRC}/Archive ${PEARDIR}
@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PEARDIR}/Archive
.if !defined(NOPORTDOCS)
- @${MV} ${DOCSDIR} ${DOCSDIR}.dist
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/docs/Archive_Tar.txt ${DOCSDIR}
@${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>
diff --git a/archivers/pear-Archive_Tar/distinfo b/archivers/pear-Archive_Tar/distinfo
index 7258ae5fedbc..eb18f7d42456 100644
--- a/archivers/pear-Archive_Tar/distinfo
+++ b/archivers/pear-Archive_Tar/distinfo
@@ -1 +1 @@
-MD5 (PEAR/Archive_Tar-1.0.tgz) = 15e5dd6e46b339136e7d2b68f438249a
+MD5 (PEAR/Archive_Tar-1.1.tgz) = 474e37d367f1b96b92809baab00c0464
diff --git a/archivers/pear-Archive_Tar/pkg-descr b/archivers/pear-Archive_Tar/pkg-descr
index 29f95397944d..5baa215e6948 100644
--- a/archivers/pear-Archive_Tar/pkg-descr
+++ b/archivers/pear-Archive_Tar/pkg-descr
@@ -2,5 +2,6 @@ This class provides handling of tar files in PHP.
It supports creating, listing, extracting and adding to tar files.
Gzip support is available if PHP has the zlib extension built-in or loaded.
+ Bz2 compression is also supported with the bz2 extension loaded.
-WWW: http://pear.php.net/manual/en/packages.file.archive-tar.php
+WWW: http://pear.php.net/package-info.php?package=Archive_Tar
diff --git a/archivers/pear-Archive_Tar/pkg-plist b/archivers/pear-Archive_Tar/pkg-plist
index 273ae53d976e..d9d9709b467d 100644
--- a/archivers/pear-Archive_Tar/pkg-plist
+++ b/archivers/pear-Archive_Tar/pkg-plist
@@ -1,8 +1,9 @@
-@exec mv %D/lib/php/Archive %D/lib/php/Archive.dist
-%%PORTDOCS%%@exec mv %D/lib/php/docs/Archive_Tar %D/lib/php/docs/Archive_Tar.dist
%%PEARDIR%%/Archive/Tar.php
+%%PKGREGDIR%%/package.xml
%%PORTDOCS%%%%PEARDIR%%/docs/Archive_Tar/Archive_Tar.txt
@dirrm %%PEARDIR%%/Archive
+@dirrm %%PKGREGDIR%%
%%PORTDOCS%%@dirrm %%PEARDIR%%/docs/Archive_Tar
-@unexec mv %D/lib/php/Archive.dist %D/lib/php/Archive || true
-%%PORTDOCS%%@unexec mv %D/lib/php/docs/Archive_Tar.dist %D/lib/php/docs/Archive_Tar || true
+@unexec rmdir %D/share/pear/docs 2> /dev/null || true
+@unexec rmdir %D/share/pear/.registry 2> /dev/null || true
+@unexec rmdir %D/share/pear/packages 2> /dev/null || true