diff options
author | dirk <dirk@FreeBSD.org> | 2003-01-30 17:49:08 +0800 |
---|---|---|
committer | dirk <dirk@FreeBSD.org> | 2003-01-30 17:49:08 +0800 |
commit | c440e0bd5700b1de31afbe376b62c92211b7e2d6 (patch) | |
tree | dac65eff09ae92dac3f5401dcbccf2443f98a69d /devel | |
parent | 4e602de6f6b06e5ccfce7993c61dd3d28dab3a56 (diff) | |
download | freebsd-ports-gnome-c440e0bd5700b1de31afbe376b62c92211b7e2d6.tar.gz freebsd-ports-gnome-c440e0bd5700b1de31afbe376b62c92211b7e2d6.tar.zst freebsd-ports-gnome-c440e0bd5700b1de31afbe376b62c92211b7e2d6.zip |
Add devel/pear-I18N:
PEAR internationalization package
PR: ports/47418
Submitted by: Thierry Thomas <thierry@pompo.net>
Diffstat (limited to 'devel')
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/pear-I18N/Makefile | 49 | ||||
-rw-r--r-- | devel/pear-I18N/distinfo | 1 | ||||
-rw-r--r-- | devel/pear-I18N/pkg-comment | 1 | ||||
-rw-r--r-- | devel/pear-I18N/pkg-descr | 8 | ||||
-rw-r--r-- | devel/pear-I18N/pkg-plist | 14 |
6 files changed, 74 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index fbce0a7bd9a0..9451933730f2 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -652,6 +652,7 @@ SUBDIR += pear-Date SUBDIR += pear-HTML_Common SUBDIR += pear-HTML_Select + SUBDIR += pear-I18N SUBDIR += pear-PEAR SUBDIR += pear-install SUBDIR += pedisassem diff --git a/devel/pear-I18N/Makefile b/devel/pear-I18N/Makefile new file mode 100644 index 000000000000..45e3d67c3ced --- /dev/null +++ b/devel/pear-I18N/Makefile @@ -0,0 +1,49 @@ +# Ports collection makefile for: pear-I18N +# Date created: 30 November 2002 +# Whom: Thierry Thomas (<thierry@pompo.net>) +# +# $FreeBSD$ +# + +PORTNAME= I18N +PORTVERSION= 0.8 +CATEGORIES= devel www +MASTER_SITES= http://pear.php.net/get/ +PKGNAMEPREFIX= pear- +EXTRACT_SUFX= .tgz +DIST_SUBDIR= PEAR + +MAINTAINER= ports@FreeBSD.org + +BUILD_DEPENDS= ${PEARDIR}.DIST_PHP:${PORTSDIR}/devel/pear-install +RUN_DEPENDS= ${BUILD_DEPENDS} + +NO_BUILD= yes +EXAMPLESDIR= ${PREFIX}/share/examples/pear + +LPHP_LIB= lib/php +PEARDIR= ${LOCALBASE}/${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 + +do-install: + @${MKDIR} ${PEARDIR}/I18N +.for FILE in ${MANIFEST} + @${CP} -p ${WRKSRC}/${FILE} ${PEARDIR}/I18N +.endfor + @${CHMOD} a-x ${PEARDIR}/I18N/* + @${CP} -Rp ${WRKSRC}/Messages ${PEARDIR}/I18N + @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PEARDIR}/I18N + @${CHMOD} a-x ${PEARDIR}/I18N/Messages/* + +post-install: +.if !defined(NOPORTDOCS) +.for FILE in ${EXAMPLES} + @${INSTALL_DATA} ${WRKSRC}/examples/${FILE} ${EXAMPLESDIR} +.endfor + @${ECHO_MSG} "===> Examples installed in ${EXAMPLESDIR}." +.endif + +.include <bsd.port.mk> diff --git a/devel/pear-I18N/distinfo b/devel/pear-I18N/distinfo new file mode 100644 index 000000000000..9bf08f2df1f9 --- /dev/null +++ b/devel/pear-I18N/distinfo @@ -0,0 +1 @@ +MD5 (PEAR/I18N-0.8.tgz) = 2b3b9e62f132c53f7f8f753613646863 diff --git a/devel/pear-I18N/pkg-comment b/devel/pear-I18N/pkg-comment new file mode 100644 index 000000000000..8d0d8bad4755 --- /dev/null +++ b/devel/pear-I18N/pkg-comment @@ -0,0 +1 @@ +PEAR internationalization package diff --git a/devel/pear-I18N/pkg-descr b/devel/pear-I18N/pkg-descr new file mode 100644 index 000000000000..1f677204743c --- /dev/null +++ b/devel/pear-I18N/pkg-descr @@ -0,0 +1,8 @@ +This package supports you to localize your applications. + +Multiple ways of supporting translation are implemented and methods to +determine the current users (browser-)language. + +Localizing Numbers, DateTime and currency is also possible. + +WWW: http://pear.php.net/package-info.php?pacid=129 diff --git a/devel/pear-I18N/pkg-plist b/devel/pear-I18N/pkg-plist new file mode 100644 index 000000000000..8747b0b6108d --- /dev/null +++ b/devel/pear-I18N/pkg-plist @@ -0,0 +1,14 @@ +%%PEARDIR%%/I18N/Common.php +%%PEARDIR%%/I18N/Country.php +%%PEARDIR%%/I18N/Language.php +%%PEARDIR%%/I18N/Negotiator.php +%%PEARDIR%%/I18N/Messages/Common.php +%%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 +@dirrm %%PEARDIR%%/I18N/Messages +@dirrm %%PEARDIR%%/I18N |