aboutsummaryrefslogtreecommitdiffstats
path: root/www/gallery/Makefile
diff options
context:
space:
mode:
authorbeech <beech@FreeBSD.org>2007-08-26 06:18:50 +0800
committerbeech <beech@FreeBSD.org>2007-08-26 06:18:50 +0800
commit634120a29e854ea6c76e33270f69c9e3b25daef8 (patch)
tree382ed22810e2fec133f5c6caea0caa6cd7fc3025 /www/gallery/Makefile
parent5dbe7998648c42e6b9edf5aa8ccc82c594f8da73 (diff)
downloadfreebsd-ports-gnome-634120a29e854ea6c76e33270f69c9e3b25daef8.tar.gz
freebsd-ports-gnome-634120a29e854ea6c76e33270f69c9e3b25daef8.tar.zst
freebsd-ports-gnome-634120a29e854ea6c76e33270f69c9e3b25daef8.zip
- Update to 1.5.7
- Minor Makefile tweaks and pet portlint PR: ports/115777 Submitted by: Alex Varju <freebsd-ports@varju.ca> (maintainer) Approved by: sat (mentor)
Diffstat (limited to 'www/gallery/Makefile')
-rw-r--r--www/gallery/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/www/gallery/Makefile b/www/gallery/Makefile
index cb0b46e185f4..ad9e13f84626 100644
--- a/www/gallery/Makefile
+++ b/www/gallery/Makefile
@@ -6,10 +6,9 @@
#
PORTNAME= gallery
-PORTVERSION= 1.5.6
+PORTVERSION= 1.5.7
CATEGORIES= www
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR= ${PORTNAME}
+MASTER_SITES= SF
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${LANGPACKS}
DIST_SUBDIR= gallery
@@ -25,6 +24,7 @@ WANT_PHP_WEB= yes
.if !defined(WITHOUT_NLS)
USE_PHP+= gettext
+USE_GETTEXT= yes # Pet portlint
LANGPACKS= af_ZA-1.5.2${EXTRACT_SUFX} \
ar_EG-1.5.1-cvs${EXTRACT_SUFX} \
@@ -86,7 +86,7 @@ WWWDIR= ${GALLERYDIR}
.endif
do-extract:
- @ ${MKDIR} ${WRKDIR}
+ @ ${INSTALL} -d ${WRKDIR}
@ cd ${WRKDIR} && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}${EXTRACT_SUFX} ${EXTRACT_AFTER_ARGS}
@ for i in ${LANGPACKS}; do \
if ! (cd ${WRKDIR}/gallery/locale && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${DISTDIR}/${DIST_SUBDIR}/$$i ${EXTRACT_AFTER_ARGS});\
@@ -96,13 +96,13 @@ do-extract:
done
do-install:
- @ ${MKDIR} -m 0755 ${WWWDIR}
+ @ ${INSTALL} -d -m 0755 ${WWWDIR}
@ cd ${WRKSRC} && ${FIND} * -name \*.bat -o -name \*.orig -o -name \*Changelog ${EXCEPTFILES:S/^/-o -name /} \
-o -print | ${CPIO} ${CPIOARGS} ${WWWOWN}:${WWWGRP} ${WWWDIR}
post-install:
.if !defined(NOPORTDOCS)
- @ ${MKDIR} ${DOCSDIR}
+ @ ${INSTALL} -d ${DOCSDIR}
@ cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif
.if !defined(BATCH)