- 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)
This commit is contained in:
Beech Rintoul 2007-08-25 22:18:50 +00:00
parent 1abe5c9631
commit 4bd0655288
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=198312
3 changed files with 12 additions and 11 deletions

View File

@ -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)

View File

@ -1,6 +1,6 @@
MD5 (gallery/gallery-1.5.6.tar.gz) = 76d10d3596534c616cf6e9ac6c50b93d
SHA256 (gallery/gallery-1.5.6.tar.gz) = c6db255ba6fe2a5f7f1785472a92d3810348ea4e8364fb6507f63cf932cc00e2
SIZE (gallery/gallery-1.5.6.tar.gz) = 2356878
MD5 (gallery/gallery-1.5.7.tar.gz) = ff6ca5652e1c4007775bfc905b1a3b55
SHA256 (gallery/gallery-1.5.7.tar.gz) = 79fef2266c495cfaf7b50db27739fcea58270cebea1722a7ac0fa28ff9f8ea6c
SIZE (gallery/gallery-1.5.7.tar.gz) = 2357005
MD5 (gallery/af_ZA-1.5.2.tar.gz) = 2f3a7cab65d4e65a5bcad4f9ad3c3bf2
SHA256 (gallery/af_ZA-1.5.2.tar.gz) = 962b741ce5e216d0e526e22b305dbbb5cdd281fd564f821c46f15f1c10733a9a
SIZE (gallery/af_ZA-1.5.2.tar.gz) = 168135

View File

@ -1,16 +1,17 @@
*****************************************************************
Please consider adding the following 3 lines to your httpd.conf
Please consider adding the following 4 lines to your httpd.conf
<Directory "%%WWWDIR%%">
AllowOverride Options FileInfo
allow from all
</Directory>
Then restart apache: 'apachectl graceful'
*****************************************************************
Please visit 'http://{host.domain}/%%WWWDIR_REL%%/' in a
Please visit 'http://{host.domain}/gallery/' in a
web-browser and follow the configuration instructions.
*****************************************************************