aboutsummaryrefslogtreecommitdiffstats
path: root/devel/pear-I18N/Makefile
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 /devel/pear-I18N/Makefile
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)
Diffstat (limited to 'devel/pear-I18N/Makefile')
-rw-r--r--devel/pear-I18N/Makefile39
1 files changed, 16 insertions, 23 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>