aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorthierry <thierry@FreeBSD.org>2004-04-14 04:22:10 +0800
committerthierry <thierry@FreeBSD.org>2004-04-14 04:22:10 +0800
commitd215ebc69ea28379b00d33270b367f6e069d651f (patch)
treec99e878821c7000aad466e703c50178a1648cde8
parent701210f212a767141f0e439005d8d2a674872b6a (diff)
downloadfreebsd-ports-gnome-d215ebc69ea28379b00d33270b367f6e069d651f.tar.gz
freebsd-ports-gnome-d215ebc69ea28379b00d33270b367f6e069d651f.tar.zst
freebsd-ports-gnome-d215ebc69ea28379b00d33270b367f6e069d651f.zip
Let Makefile.common do the work.
PR: ports/65496 Submitted by: Roman Neuhauser Approved by: mat (mentor)
-rw-r--r--devel/pear-I18N/Makefile39
-rw-r--r--devel/pear-I18N/pkg-descr2
-rw-r--r--devel/pear-I18N/pkg-plist48
3 files changed, 17 insertions, 72 deletions
diff --git a/devel/pear-I18N/Makefile b/devel/pear-I18N/Makefile
index 808dca8f5913..35a00aea9062 100644
--- a/devel/pear-I18N/Makefile
+++ b/devel/pear-I18N/Makefile
@@ -15,31 +15,24 @@ COMMENT= PEAR internationalization package
BUILD_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear-PEAR
RUN_DEPENDS= ${BUILD_DEPENDS}
-.include <bsd.port.pre.mk>
-.include "${.CURDIR}/../../devel/pear-PEAR/Makefile.common"
-
-MANIFEST= Common.php Country.php Currency.php DateTime.php Format.php \
- Language.php Negotiator.php Number.php
-SUBDIRS= Common Messages
+CATEGORY= I18N
+FILES= Common/af.php Common/da_DK.php Common/de.php \
+ Common/de_AT.php Common/de_DE.php Common/en.php \
+ Common/en_GB.php Common/en_UK.php Common/en_US.php \
+ Common/en_ZA.php Common/es.php Common/es_ES.php \
+ Common/fr.php Common/fr_FR.php Common/hu.php \
+ Common/it.php Common/it_IT.php Common/nl.php \
+ Common/nl_NL.php Common/pl.php Common/pt.php \
+ Common/ru.php Common/sl.php Common.php Country.php \
+ Currency.php DateTime.php Format.php Language.php \
+ Negotiator.php Number.php Messages/Common.php \
+ Messages/File.php Messages/Translate.php \
+ Messages/determineLanguage.inc.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
+_EXAMPLESDIR= docs
-do-install:
- @${MKDIR} ${PEARDIR}/I18N
-.for FILE in ${MANIFEST}
- @${CP} -p ${WRKSRC}/${FILE} ${PEARDIR}/I18N
-.endfor
-.for FILE in ${SUBDIRS}
- @${CP} -Rp ${WRKSRC}/${FILE} ${PEARDIR}/I18N
-.endfor
- @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PEARDIR}/I18N
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
-.for FILE in ${EXAMPLES}
- @${INSTALL_DATA} ${WRKSRC}/docs/${FILE} ${DOCSDIR}
-.endfor
- @${ECHO_MSG} "===> Examples installed in ${DOCSDIR}."
-.endif
-
+.include <bsd.port.pre.mk>
+.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common"
.include <bsd.port.post.mk>
diff --git a/devel/pear-I18N/pkg-descr b/devel/pear-I18N/pkg-descr
index a92ee6362207..3d9e83c2ba6c 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?package=I18N
+WWW: http://pear.php.net/package/I18N/
diff --git a/devel/pear-I18N/pkg-plist b/devel/pear-I18N/pkg-plist
deleted file mode 100644
index b8fbfc196ba9..000000000000
--- a/devel/pear-I18N/pkg-plist
+++ /dev/null
@@ -1,48 +0,0 @@
-%%PEARDIR%%/I18N/Common/af.php
-%%PEARDIR%%/I18N/Common/da_DK.php
-%%PEARDIR%%/I18N/Common/de.php
-%%PEARDIR%%/I18N/Common/de_AT.php
-%%PEARDIR%%/I18N/Common/de_DE.php
-%%PEARDIR%%/I18N/Common/en.php
-%%PEARDIR%%/I18N/Common/en_GB.php
-%%PEARDIR%%/I18N/Common/en_UK.php
-%%PEARDIR%%/I18N/Common/en_US.php
-%%PEARDIR%%/I18N/Common/en_ZA.php
-%%PEARDIR%%/I18N/Common/es.php
-%%PEARDIR%%/I18N/Common/es_ES.php
-%%PEARDIR%%/I18N/Common/fr.php
-%%PEARDIR%%/I18N/Common/fr_FR.php
-%%PEARDIR%%/I18N/Common/hu.php
-%%PEARDIR%%/I18N/Common/it.php
-%%PEARDIR%%/I18N/Common/it_IT.php
-%%PEARDIR%%/I18N/Common/nl.php
-%%PEARDIR%%/I18N/Common/nl_NL.php
-%%PEARDIR%%/I18N/Common/pl.php
-%%PEARDIR%%/I18N/Common/pt.php
-%%PEARDIR%%/I18N/Common/ru.php
-%%PEARDIR%%/I18N/Common/sl.php
-%%PEARDIR%%/I18N/Common.php
-%%PEARDIR%%/I18N/Country.php
-%%PEARDIR%%/I18N/Currency.php
-%%PEARDIR%%/I18N/DateTime.php
-%%PEARDIR%%/I18N/Format.php
-%%PEARDIR%%/I18N/Language.php
-%%PEARDIR%%/I18N/Negotiator.php
-%%PEARDIR%%/I18N/Number.php
-%%PEARDIR%%/I18N/Messages/Common.php
-%%PEARDIR%%/I18N/Messages/File.php
-%%PEARDIR%%/I18N/Messages/Translate.php
-%%PEARDIR%%/I18N/Messages/determineLanguage.inc.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 %%PORTDOCS%%%%DOCSDIR%%
-@dirrm %%PEARDIR%%/I18N/Common
-@dirrm %%PEARDIR%%/I18N/Messages
-@dirrm %%PEARDIR%%/I18N
-@dirrm %%PKGREGDIR%%