diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-05-06 06:54:19 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-05-06 06:54:19 +0000 |
commit | 5b86e88686cb0074fe3e45fe2c5a2f9daa715b53 (patch) | |
tree | 917c9e74d0d7de4a4a9e126b6be668086605c02f /www/gallery | |
parent | 90a41d7ec32eff9ff244bbcd33ac0e166101aa7c (diff) | |
download | ports-5b86e88686cb0074fe3e45fe2c5a2f9daa715b53.tar.gz ports-5b86e88686cb0074fe3e45fe2c5a2f9daa715b53.zip |
Notes
Diffstat (limited to 'www/gallery')
-rw-r--r-- | www/gallery/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/www/gallery/Makefile b/www/gallery/Makefile index 45d158821e37..cde04ee211ca 100644 --- a/www/gallery/Makefile +++ b/www/gallery/Makefile @@ -14,12 +14,14 @@ COMMENT= Slick web based photo album written using PHP RUN_DEPENDS= giftopnm:${PORTSDIR}/graphics/netpbm \ jhead:${PORTSDIR}/graphics/jhead \ - unzip:${PORTSDIR}/archivers/unzip + ${UNZIP_CMD}:${PORTSDIR}/archivers/unzip USE_PHP= pcre session WANT_PHP_WEB= yes -.if !defined(WITHOUT_NLS) +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MNLS} USE_PHP+= gettext USES+= gettext @@ -98,7 +100,7 @@ do-install: -o -print | ${CPIO} ${CPIOARGS} ${WWWOWN}:${WWWGRP} ${WWWDIR} post-install: -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @ ${INSTALL} -d ${DOCSDIR} @ cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR} .endif |