aboutsummaryrefslogtreecommitdiffstats
path: root/www/gallery/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/gallery/Makefile')
-rw-r--r--www/gallery/Makefile74
1 files changed, 38 insertions, 36 deletions
diff --git a/www/gallery/Makefile b/www/gallery/Makefile
index 10ab0ea1a67d..2c3076184887 100644
--- a/www/gallery/Makefile
+++ b/www/gallery/Makefile
@@ -6,10 +6,11 @@
#
PORTNAME= gallery
-PORTVERSION= 1.4.1
+PORTVERSION= 1.4.1.1
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
+DISTNAME= ${PORTNAME}-${PORTVERSION:S/.1$/-pl1/}
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${LANGPACKS}
DIST_SUBDIR= gallery
@@ -20,37 +21,38 @@ RUN_DEPENDS= giftopnm:${PORTSDIR}/graphics/netpbm \
jhead:${PORTSDIR}/graphics/jhead \
unzip:${PORTSDIR}/archivers/unzip
-LANGPACKS= af_ZA-pack-${PORTVERSION}-u1${EXTRACT_SUFX} \
- bg_BG-pack-${PORTVERSION}-u1${EXTRACT_SUFX} \
- cs_CZ.cp1250-pack-${PORTVERSION}-u1${EXTRACT_SUFX} \
- da_DK-pack-${PORTVERSION}${EXTRACT_SUFX} \
- de_DE-pack-${PORTVERSION}-u2${EXTRACT_SUFX} \
- de_DE.du-pack-${PORTVERSION}-u1${EXTRACT_SUFX} \
- en_GB-pack-${PORTVERSION}${EXTRACT_SUFX} \
- es_ES-pack-${PORTVERSION}-u2${EXTRACT_SUFX} \
- fi_FI-pack-${PORTVERSION}-u1${EXTRACT_SUFX} \
- fr_FR-pack-${PORTVERSION}-u1${EXTRACT_SUFX} \
- he_IL-pack-${PORTVERSION}-u1${EXTRACT_SUFX} \
- hu_HU-pack-${PORTVERSION}-u1${EXTRACT_SUFX} \
- is_IS-pack-${PORTVERSION}-u1${EXTRACT_SUFX} \
- it_IT-pack-${PORTVERSION}${EXTRACT_SUFX} \
- ja_JP-pack-${PORTVERSION}-u1${EXTRACT_SUFX} \
- ko_KR-pack-${PORTVERSION}-u1${EXTRACT_SUFX} \
- lt_LT-pack-${PORTVERSION}-u1${EXTRACT_SUFX} \
- nl_NL-pack-${PORTVERSION}-u1${EXTRACT_SUFX} \
- no_NO-pack-${PORTVERSION}${EXTRACT_SUFX} \
- pl_PL-pack-${PORTVERSION}-u1${EXTRACT_SUFX} \
- pt_BR-pack-${PORTVERSION}-u1${EXTRACT_SUFX} \
- pt_PT-pack-${PORTVERSION}-u1${EXTRACT_SUFX} \
- ru_RU.koi8r-pack-${PORTVERSION}${EXTRACT_SUFX} \
- sl_SI-pack-${PORTVERSION}${EXTRACT_SUFX} \
- sv_SE-pack-${PORTVERSION}-u2${EXTRACT_SUFX} \
- tr_TR-pack-${PORTVERSION}${EXTRACT_SUFX} \
- uk_UA-pack-${PORTVERSION}${EXTRACT_SUFX} \
- vi_VN-pack-${PORTVERSION}-u2${EXTRACT_SUFX} \
- zh_CN-pack-${PORTVERSION}${EXTRACT_SUFX} \
- zh_TW-pack-${PORTVERSION}-u1${EXTRACT_SUFX} \
- zh_TW.utf8-pack-${PORTVERSION}${EXTRACT_SUFX}
+LANGVERSION= 1.4.1
+LANGPACKS= af_ZA-pack-${LANGVERSION}-u1${EXTRACT_SUFX} \
+ bg_BG-pack-${LANGVERSION}-u1${EXTRACT_SUFX} \
+ cs_CZ.cp1250-pack-${LANGVERSION}-u1${EXTRACT_SUFX} \
+ da_DK-pack-${LANGVERSION}${EXTRACT_SUFX} \
+ de_DE-pack-${LANGVERSION}-u2${EXTRACT_SUFX} \
+ de_DE.du-pack-${LANGVERSION}-u1${EXTRACT_SUFX} \
+ en_GB-pack-${LANGVERSION}${EXTRACT_SUFX} \
+ es_ES-pack-${LANGVERSION}-u2${EXTRACT_SUFX} \
+ fi_FI-pack-${LANGVERSION}-u1${EXTRACT_SUFX} \
+ fr_FR-pack-${LANGVERSION}-u1${EXTRACT_SUFX} \
+ he_IL-pack-${LANGVERSION}-u1${EXTRACT_SUFX} \
+ hu_HU-pack-${LANGVERSION}-u1${EXTRACT_SUFX} \
+ is_IS-pack-${LANGVERSION}-u1${EXTRACT_SUFX} \
+ it_IT-pack-${LANGVERSION}${EXTRACT_SUFX} \
+ ja_JP-pack-${LANGVERSION}-u1${EXTRACT_SUFX} \
+ ko_KR-pack-${LANGVERSION}-u1${EXTRACT_SUFX} \
+ lt_LT-pack-${LANGVERSION}-u1${EXTRACT_SUFX} \
+ nl_NL-pack-${LANGVERSION}-u1${EXTRACT_SUFX} \
+ no_NO-pack-${LANGVERSION}${EXTRACT_SUFX} \
+ pl_PL-pack-${LANGVERSION}-u1${EXTRACT_SUFX} \
+ pt_BR-pack-${LANGVERSION}-u1${EXTRACT_SUFX} \
+ pt_PT-pack-${LANGVERSION}-u1${EXTRACT_SUFX} \
+ ru_RU.koi8r-pack-${LANGVERSION}${EXTRACT_SUFX} \
+ sl_SI-pack-${LANGVERSION}${EXTRACT_SUFX} \
+ sv_SE-pack-${LANGVERSION}-u2${EXTRACT_SUFX} \
+ tr_TR-pack-${LANGVERSION}${EXTRACT_SUFX} \
+ uk_UA-pack-${LANGVERSION}${EXTRACT_SUFX} \
+ vi_VN-pack-${LANGVERSION}-u2${EXTRACT_SUFX} \
+ zh_CN-pack-${LANGVERSION}${EXTRACT_SUFX} \
+ zh_TW-pack-${LANGVERSION}-u1${EXTRACT_SUFX} \
+ zh_TW.utf8-pack-${LANGVERSION}${EXTRACT_SUFX}
WANT_PHP_WEB= yes
@@ -59,7 +61,7 @@ NO_BUILD= yes
PKGMESSAGE= ${WRKDIR}/pkg-message
DOCFILES= AUTHORS ChangeLog README RELEASE_NOTES
EXCEPTFILES= ${DOCFILES} LICENSE.txt
-CPIO= cpio --quiet -pdum -R
+CPIOARGS= --quiet -pdum -R
PLIST_SUB= GALLERYDIR=${GALLERYDIR}
.include <bsd.port.pre.mk>
@@ -83,8 +85,8 @@ post-configure:
do-extract:
@ ${MKDIR} ${WRKDIR}
@ cd ${WRKDIR} && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ${EXTRACT_AFTER_ARGS}
- @ for file in ${LANGPACKS}; do \
- if ! (cd ${WRKDIR}/gallery/locale && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/$$file ${EXTRACT_AFTER_ARGS});\
+ @ for i in ${LANGPACKS}; do \
+ if ! (cd ${WRKDIR}/gallery/locale && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/$$i ${EXTRACT_AFTER_ARGS});\
then \
exit 1; \
fi \
@@ -93,7 +95,7 @@ do-extract:
do-install:
@ ${MKDIR} -m 0755 ${PREFIX}/${GALLERYDIR}
@ cd ${WRKSRC} && ${FIND} * -name \*.bat -o -name \*.orig -o -name \*Changelog ${EXCEPTFILES:S/^/-o -name /} \
- -o -print | ${CPIO} ${WWWOWN}:${WWWGRP} ${PREFIX}/${GALLERYDIR}
+ -o -print | ${CPIO} ${CPIOARGS} ${WWWOWN}:${WWWGRP} ${PREFIX}/${GALLERYDIR}
post-install:
.if !defined(NOPORTDOCS)