diff options
author | nork <nork@FreeBSD.org> | 2003-06-08 07:00:46 +0800 |
---|---|---|
committer | nork <nork@FreeBSD.org> | 2003-06-08 07:00:46 +0800 |
commit | 745d211ff042f4470c9df0ffe9f99c37920b85c7 (patch) | |
tree | 6d423271cde50294359b8b859c4d8d7b1a45c6ae /devel/pear-I18N | |
parent | c81d0eb89c8cdf6ad9ff097db9f1413450c7dd94 (diff) | |
download | freebsd-ports-graphics-745d211ff042f4470c9df0ffe9f99c37920b85c7.tar.gz freebsd-ports-graphics-745d211ff042f4470c9df0ffe9f99c37920b85c7.tar.zst freebsd-ports-graphics-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 'devel/pear-I18N')
-rw-r--r-- | devel/pear-I18N/Makefile | 37 | ||||
-rw-r--r-- | devel/pear-I18N/distinfo | 2 | ||||
-rw-r--r-- | devel/pear-I18N/pkg-deinstall | 13 | ||||
-rw-r--r-- | devel/pear-I18N/pkg-descr | 2 | ||||
-rw-r--r-- | devel/pear-I18N/pkg-plist | 13 |
5 files changed, 20 insertions, 47 deletions
diff --git a/devel/pear-I18N/Makefile b/devel/pear-I18N/Makefile index 029716a48c2..cb6e2daafa7 100644 --- a/devel/pear-I18N/Makefile +++ b/devel/pear-I18N/Makefile @@ -6,38 +6,22 @@ # PORTNAME= I18N -PORTVERSION= 0.8 -PORTREVISION= 1 +PORTVERSION= 0.8.5 CATEGORIES= devel www -MASTER_SITES= http://pear.php.net/get/ -PKGNAMEPREFIX= pear- -EXTRACT_SUFX= .tgz -DIST_SUBDIR= PEAR MAINTAINER= ports@FreeBSD.org COMMENT= PEAR internationalization package -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> +.include "${.CURDIR}/../../devel/pear-PEAR/Makefile.common" -EXAMPLESDIR= ${PREFIX}/share/examples/pear - -.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} MANIFEST= Common.php Country.php Language.php Negotiator.php -EXAMPLES= I18N_Message.php I18N_Message_Translate.php \ - I18N_Message_Translate.tpl I18N_Negotiator.php +EXAMPLES= I18N_Currency.php I18N_DateTime.php I18N_Message.php \ + I18N_Message_Translate.php I18N_Message_Translate.tpl \ + I18N_Negotiator.php I18N_Number.php do-install: @${MKDIR} ${PEARDIR}/I18N @@ -49,14 +33,11 @@ do-install: @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PEARDIR}/I18N @${CHMOD} a-x ${PEARDIR}/I18N/Messages/* .if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} .for FILE in ${EXAMPLES} - @${INSTALL_DATA} ${WRKSRC}/examples/${FILE} ${EXAMPLESDIR} + @${INSTALL_DATA} ${WRKSRC}/docs/${FILE} ${DOCSDIR} .endfor - @${ECHO_MSG} "===> Examples installed in ${EXAMPLESDIR}." + @${ECHO_MSG} "===> Examples installed in ${DOCSDIR}." .endif -post-install: -# Register a new package - @${PEAR} install -r -f ${WRKDIR}/package.xml - .include <bsd.port.post.mk> diff --git a/devel/pear-I18N/distinfo b/devel/pear-I18N/distinfo index 9bf08f2df1f..ca3cf0057e6 100644 --- a/devel/pear-I18N/distinfo +++ b/devel/pear-I18N/distinfo @@ -1 +1 @@ -MD5 (PEAR/I18N-0.8.tgz) = 2b3b9e62f132c53f7f8f753613646863 +MD5 (PEAR/I18N-0.8.5.tgz) = f0114f9b179847c5abac4af3214376a0 diff --git a/devel/pear-I18N/pkg-deinstall b/devel/pear-I18N/pkg-deinstall deleted file mode 100644 index c17e9d19ced..00000000000 --- a/devel/pear-I18N/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/devel/pear-I18N/pkg-descr b/devel/pear-I18N/pkg-descr index 1f677204743..a92ee636220 100644 --- a/devel/pear-I18N/pkg-descr +++ b/devel/pear-I18N/pkg-descr @@ -5,4 +5,4 @@ determine the current users (browser-)language. Localizing Numbers, DateTime and currency is also possible. -WWW: http://pear.php.net/package-info.php?pacid=129 +WWW: http://pear.php.net/package-info.php?package=I18N diff --git a/devel/pear-I18N/pkg-plist b/devel/pear-I18N/pkg-plist index 8747b0b6108..7e706e0b0d6 100644 --- a/devel/pear-I18N/pkg-plist +++ b/devel/pear-I18N/pkg-plist @@ -6,9 +6,14 @@ %%PEARDIR%%/I18N/Messages/File.php %%PEARDIR%%/I18N/Messages/Translate.php %%PEARDIR%%/I18N/Messages/determineLanguage.inc.php -%%PORTDOCS%%%%EXAMPLESDIR%%/I18N_Message.php -%%PORTDOCS%%%%EXAMPLESDIR%%/I18N_Message_Translate.php -%%PORTDOCS%%%%EXAMPLESDIR%%/I18N_Message_Translate.tpl -%%PORTDOCS%%%%EXAMPLESDIR%%/I18N_Negotiator.php +%%PKGREGDIR%%/package.xml +%%PORTDOCS%%%%DOCSDIR%%/I18N_Currency.php +%%PORTDOCS%%%%DOCSDIR%%/I18N_DateTime.php +%%PORTDOCS%%%%DOCSDIR%%/I18N_Message.php +%%PORTDOCS%%%%DOCSDIR%%/I18N_Message_Translate.php +%%PORTDOCS%%%%DOCSDIR%%/I18N_Message_Translate.tpl +%%PORTDOCS%%%%DOCSDIR%%/I18N_Negotiator.php +%%PORTDOCS%%%%DOCSDIR%%/I18N_Number.php @dirrm %%PEARDIR%%/I18N/Messages @dirrm %%PEARDIR%%/I18N +@dirrm %%PKGREGDIR%% |