aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authordirk <dirk@FreeBSD.org>2003-01-30 17:49:08 +0800
committerdirk <dirk@FreeBSD.org>2003-01-30 17:49:08 +0800
commitc440e0bd5700b1de31afbe376b62c92211b7e2d6 (patch)
treedac65eff09ae92dac3f5401dcbccf2443f98a69d /devel
parent4e602de6f6b06e5ccfce7993c61dd3d28dab3a56 (diff)
downloadfreebsd-ports-graphics-c440e0bd5700b1de31afbe376b62c92211b7e2d6.tar.gz
freebsd-ports-graphics-c440e0bd5700b1de31afbe376b62c92211b7e2d6.tar.zst
freebsd-ports-graphics-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/Makefile1
-rw-r--r--devel/pear-I18N/Makefile49
-rw-r--r--devel/pear-I18N/distinfo1
-rw-r--r--devel/pear-I18N/pkg-comment1
-rw-r--r--devel/pear-I18N/pkg-descr8
-rw-r--r--devel/pear-I18N/pkg-plist14
6 files changed, 74 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index fbce0a7bd9a..9451933730f 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 00000000000..45e3d67c3ce
--- /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 00000000000..9bf08f2df1f
--- /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 00000000000..8d0d8bad475
--- /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 00000000000..1f677204743
--- /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 00000000000..8747b0b6108
--- /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