From 745d211ff042f4470c9df0ffe9f99c37920b85c7 Mon Sep 17 00:00:00 2001 From: nork Date: Sat, 7 Jun 2003 23:00:46 +0000 Subject: 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 --- archivers/pear-Archive_Tar/Makefile | 32 ++++---------------------------- archivers/pear-Archive_Tar/distinfo | 2 +- archivers/pear-Archive_Tar/pkg-descr | 3 ++- archivers/pear-Archive_Tar/pkg-plist | 9 +++++---- 4 files changed, 12 insertions(+), 34 deletions(-) (limited to 'archivers/pear-Archive_Tar') 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 - -.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 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 -- cgit