diff options
author | nork <nork@FreeBSD.org> | 2003-06-07 23:00:46 +0000 |
---|---|---|
committer | nork <nork@FreeBSD.org> | 2003-06-07 23:00:46 +0000 |
commit | 745d211ff042f4470c9df0ffe9f99c37920b85c7 (patch) | |
tree | 6d423271cde50294359b8b859c4d8d7b1a45c6ae /sysutils/pear-File | |
parent | c81d0eb89c8cdf6ad9ff097db9f1413450c7dd94 (diff) | |
download | FreeBSD-ports-745d211ff042f4470c9df0ffe9f99c37920b85c7.zip FreeBSD-ports-745d211ff042f4470c9df0ffe9f99c37920b85c7.tar.gz |
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 'sysutils/pear-File')
-rw-r--r-- | sysutils/pear-File/Makefile | 24 | ||||
-rw-r--r-- | sysutils/pear-File/pkg-deinstall | 13 | ||||
-rw-r--r-- | sysutils/pear-File/pkg-descr | 2 | ||||
-rw-r--r-- | sysutils/pear-File/pkg-plist | 5 |
4 files changed, 8 insertions, 36 deletions
diff --git a/sysutils/pear-File/Makefile b/sysutils/pear-File/Makefile index 7f0e076..21bf852 100644 --- a/sysutils/pear-File/Makefile +++ b/sysutils/pear-File/Makefile @@ -7,39 +7,21 @@ PORTNAME= File PORTVERSION= 1.0.3 +PORTREVISION= 1 CATEGORIES= sysutils www -MASTER_SITES= http://pear.php.net/get/ -PKGNAMEPREFIX= pear- -EXTRACT_SUFX= .tgz -DIST_SUBDIR= PEAR MAINTAINER= ports@FreeBSD.org COMMENT= PEAR common file and directory routines -BUILD_DEPENDS= ${PEARDIR}/PEAR.php.dist:${PORTSDIR}/devel/pear-PEAR +BUILD_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear-PEAR 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} +.include "${.CURDIR}/../../devel/pear-PEAR/Makefile.common" do-install: @${CP} -Rp ${WRKSRC}/* ${PEARDIR} @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PEARDIR}/${PORTNAME}* @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PEARDIR}/tests -post-install: -# Register a new package - @${PEAR} install -r -f ${WRKDIR}/package.xml - .include <bsd.port.post.mk> diff --git a/sysutils/pear-File/pkg-deinstall b/sysutils/pear-File/pkg-deinstall deleted file mode 100644 index c17e9d1..0000000 --- a/sysutils/pear-File/pkg-deinstall +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ -# -# Remove package declaration from PEAR's registry. - -if [ x$2 != xDEINSTALL ]; then - exit -fi -PKG_NAME=${1%%-[0-9._]*} -PACKAGE=$(echo $PKG_NAME | sed 's/pear-//') - -${PKG_PREFIX}/bin/pear uninstall -r ${PACKAGE} || true diff --git a/sysutils/pear-File/pkg-descr b/sysutils/pear-File/pkg-descr index 7dbaaff..d3826c5 100644 --- a/sysutils/pear-File/pkg-descr +++ b/sysutils/pear-File/pkg-descr @@ -2,4 +2,4 @@ PEAR classes providing easy access to read/write to files along with some common routines to deal with paths. Also provides interface for handling CSV files. -WWW: http://pear.php.net/manual/en/packages.file.php +WWW: http://pear.php.net/package-info.php?package=File diff --git a/sysutils/pear-File/pkg-plist b/sysutils/pear-File/pkg-plist index 82e769d..9d55bda 100644 --- a/sysutils/pear-File/pkg-plist +++ b/sysutils/pear-File/pkg-plist @@ -1,5 +1,8 @@ %%PEARDIR%%/File/CSV.php %%PEARDIR%%/File.php +%%PKGREGDIR%%/package.xml %%PEARDIR%%/tests/parser.php %%PEARDIR%%/tests/test.csv -@dirrm %%PEARDIR%%/File +@dirrm %%PKGREGDIR%% +@unexec rmdir %D/share/pear/tests 2> /dev/null || true +@unexec rmdir %D/share/pear/File 2> /dev/null || true |