diff options
author | pav <pav@FreeBSD.org> | 2004-05-03 06:08:38 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2004-05-03 06:08:38 +0800 |
commit | 2815299c06710766cf1ff32cc17bd2f78a4a584f (patch) | |
tree | 0c37f8a67c89de384d0852c9bc0113ab10b627bd /www/gallery/Makefile | |
parent | 1a47403984c472b949cb569e1192c60bf46bbca5 (diff) | |
download | freebsd-ports-gnome-2815299c06710766cf1ff32cc17bd2f78a4a584f.tar.gz freebsd-ports-gnome-2815299c06710766cf1ff32cc17bd2f78a4a584f.tar.zst freebsd-ports-gnome-2815299c06710766cf1ff32cc17bd2f78a4a584f.zip |
- Add WITHOUT_NLS knob to supress installation of translation files
PR: ports/66127
Submitted by: Alex Varju <varju@webct.com> (maintainer)
Diffstat (limited to 'www/gallery/Makefile')
-rw-r--r-- | www/gallery/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/www/gallery/Makefile b/www/gallery/Makefile index df9f96719b67..f9b145c2c97f 100644 --- a/www/gallery/Makefile +++ b/www/gallery/Makefile @@ -20,6 +20,7 @@ RUN_DEPENDS= giftopnm:${PORTSDIR}/graphics/netpbm \ jhead:${PORTSDIR}/graphics/jhead \ unzip:${PORTSDIR}/archivers/unzip +.if !defined(WITHOUT_NLS) LANGVERSION= 1.4.2 LANGPACKS= af_ZA-pack-${LANGVERSION}${EXTRACT_SUFX} \ bg_BG-pack-${LANGVERSION}${EXTRACT_SUFX} \ @@ -53,6 +54,10 @@ LANGPACKS= af_ZA-pack-${LANGVERSION}${EXTRACT_SUFX} \ zh_CN-pack-${LANGVERSION}${EXTRACT_SUFX} \ zh_TW-pack-${LANGVERSION}${EXTRACT_SUFX} \ zh_TW.utf8-pack-${LANGVERSION}${EXTRACT_SUFX} +PLIST_SUB= NLS="" +.else +PLIST_SUB= NLS="@comment " +.endif USE_PHP= yes WANT_PHP_WEB= yes @@ -63,7 +68,7 @@ PKGMESSAGE= ${WRKDIR}/pkg-message DOCFILES= AUTHORS ChangeLog README EXCEPTFILES= ${DOCFILES} LICENSE.txt CPIOARGS= --quiet -pdum -R -PLIST_SUB= GALLERYDIR=${GALLERYDIR} +PLIST_SUB+= GALLERYDIR=${GALLERYDIR} pre-fetch: .if !defined(GALLERYDIR) |