diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2005-12-01 08:28:25 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2005-12-01 08:28:25 +0000 |
commit | e2f31d33ffe35b65e4e4f181dda70e739a60d924 (patch) | |
tree | 76feeb652e2ddb58880afb42e498eb715c040070 /www/gallery2 | |
parent | da1f86c33f7837cf9e9ec41e92c21960e1372c15 (diff) | |
download | ports-e2f31d33ffe35b65e4e4f181dda70e739a60d924.tar.gz ports-e2f31d33ffe35b65e4e4f181dda70e739a60d924.zip |
Notes
Diffstat (limited to 'www/gallery2')
-rw-r--r-- | www/gallery2/Makefile | 51 | ||||
-rw-r--r-- | www/gallery2/distinfo | 4 | ||||
-rw-r--r-- | www/gallery2/pkg-plist | 1 |
3 files changed, 41 insertions, 15 deletions
diff --git a/www/gallery2/Makefile b/www/gallery2/Makefile index 0efb6aabc14a..fc90679c4a44 100644 --- a/www/gallery2/Makefile +++ b/www/gallery2/Makefile @@ -6,21 +6,16 @@ # PORTNAME= gallery2 -PORTVERSION= 2.0.1 +PORTVERSION= 2.0.2 CATEGORIES= www MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= gallery -DISTNAME= gallery-2.0.1-full +DISTNAME= gallery-2.0.2-full DIST_SUBDIR= gallery2 MAINTAINER= freebsd-ports@varju.ca COMMENT= Gallery is a web based photo album written using PHP -RUN_DEPENDS= giftopnm:${PORTSDIR}/graphics/netpbm \ - jhead:${PORTSDIR}/graphics/jhead \ - unzip:${PORTSDIR}/archivers/unzip \ - convert:${PORTSDIR}/graphics/ImageMagick - USE_PHP= pcre session mysql WANT_PHP_WEB= yes @@ -30,6 +25,42 @@ PKGMESSAGE= ${WRKDIR}/pkg-message CPIOARGS= --quiet -pdum -R PLIST_SUB+= GALLERY2DIR=${GALLERY2DIR} +GALLERY2DIR?= www/data/gallery2 +WWWOWN?= www +WWWGRP?= www + +OPTIONS= NETPBM "Enable netpbm support" on \ + IMAGEMAGICK "Enable imagemagick support" on \ + JHEAD "Enable jhead support" on \ + UNZIP "Enable unzip support" on \ + GD "Enable gd support" off \ + DCRAW "Enable dcraw support" off \ + FFMPEG "Enable ffmpeg support" off + +.include <bsd.port.pre.mk> + +.if defined(WITH_NETPBM) +RUN_DEPENDS+= giftopnm:${PORTSDIR}/graphics/netpbm +.endif +.if defined(WITH_IMAGEMAGICK) +RUN_DEPENDS+= convert:${PORTSDIR}/graphics/ImageMagick +.endif +.if defined(WITH_GD) +RUN_DEPENDS+= pngtogd:${PORTSDIR}/graphics/gd +.endif +.if defined(WITH_JHEAD) +RUN_DEPENDS+= jhead:${PORTSDIR}/graphics/jhead +.endif +.if defined(WITH_UNZIP) +RUN_DEPENDS+= unzip:${PORTSDIR}/archivers/unzip +.endif +.if defined(WITH_FFMPEG) +LIB_DEPENDS+= avcodec.1:${PORTSDIR}/multimedia/ffmpeg +.endif +.if defined(WITH_DCRAW) +RUN_DEPENDS+= dcraw:${PORTSDIR}/graphics/dcraw +.endif + pre-fetch: .if !defined(GALLERY2DIR) @${ECHO_MSG} "" @@ -37,10 +68,6 @@ pre-fetch: @${ECHO_MSG} "" .endif -GALLERY2DIR?= www/data/gallery2 -WWWOWN?= www -WWWGRP?= www - post-configure: @ ${SED} -e 's#%%PREFIX%%#${PREFIX}#g' \ -e 's#%%GALLERY2DIR%%#${GALLERY2DIR}#g' pkg-message > ${PKGMESSAGE} @@ -55,4 +82,4 @@ post-install: @ ${CAT} ${PKGMESSAGE} .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/www/gallery2/distinfo b/www/gallery2/distinfo index 08d0519aff23..681d6908030b 100644 --- a/www/gallery2/distinfo +++ b/www/gallery2/distinfo @@ -1,2 +1,2 @@ -MD5 (gallery2/gallery-2.0.1-full.tar.gz) = e2601ba687acd3a43560041988a3b2a5 -SIZE (gallery2/gallery-2.0.1-full.tar.gz) = 5432452 +MD5 (gallery2/gallery-2.0.2-full.tar.gz) = b833b195d1713745b97be0abfec221f6 +SIZE (gallery2/gallery-2.0.2-full.tar.gz) = 5426443 diff --git a/www/gallery2/pkg-plist b/www/gallery2/pkg-plist index 09ff528a137f..59e03a116574 100644 --- a/www/gallery2/pkg-plist +++ b/www/gallery2/pkg-plist @@ -4,7 +4,6 @@ %%GALLERY2DIR%%/bootstrap.inc %%GALLERY2DIR%%/docs/DEVELOPER_GUIDELINES %%GALLERY2DIR%%/docs/EMBEDDING -%%GALLERY2DIR%%/docs/LOCALIZING %%GALLERY2DIR%%/embed.php %%GALLERY2DIR%%/images/g2Logo.gif %%GALLERY2DIR%%/images/gallery.gif |