diff options
author | Yen-Ming Lee <leeym@FreeBSD.org> | 2004-02-01 17:33:50 +0000 |
---|---|---|
committer | Yen-Ming Lee <leeym@FreeBSD.org> | 2004-02-01 17:33:50 +0000 |
commit | d255b61984bd89c4b1f8a7d971aa4e680c49570b (patch) | |
tree | acbd271ab36b4dff509524fcd9d9006c2798d488 /www/gallery2/Makefile | |
parent | ce13e96bb7e8264c028ee9d55e267bca96e798bd (diff) | |
download | ports-d255b61984bd89c4b1f8a7d971aa4e680c49570b.tar.gz ports-d255b61984bd89c4b1f8a7d971aa4e680c49570b.zip |
Notes
Diffstat (limited to 'www/gallery2/Makefile')
-rw-r--r-- | www/gallery2/Makefile | 74 |
1 files changed, 38 insertions, 36 deletions
diff --git a/www/gallery2/Makefile b/www/gallery2/Makefile index 10ab0ea1a67d..2c3076184887 100644 --- a/www/gallery2/Makefile +++ b/www/gallery2/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) |