aboutsummaryrefslogtreecommitdiffstats
path: root/www/gallery2
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2006-11-13 19:36:50 +0800
committermiwi <miwi@FreeBSD.org>2006-11-13 19:36:50 +0800
commit4359b6e6fb5f40cd5e13c53b15429972fa9dac8b (patch)
treef6a9a51a0b4aa555755e28b15ecec25a1e197840 /www/gallery2
parent26ed72e542242e292216b730185cd2af996a082d (diff)
downloadfreebsd-ports-gnome-4359b6e6fb5f40cd5e13c53b15429972fa9dac8b.tar.gz
freebsd-ports-gnome-4359b6e6fb5f40cd5e13c53b15429972fa9dac8b.tar.zst
freebsd-ports-gnome-4359b6e6fb5f40cd5e13c53b15429972fa9dac8b.zip
- Add php5-gettext knob
PR: ports/104703 Submitted by: Spil<spil.oss@gmail.com> Approved by: maintainer
Diffstat (limited to 'www/gallery2')
-rw-r--r--www/gallery2/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/www/gallery2/Makefile b/www/gallery2/Makefile
index 1720baf21f58..73a4908fd8a2 100644
--- a/www/gallery2/Makefile
+++ b/www/gallery2/Makefile
@@ -31,7 +31,7 @@ WWWGRP?= www
# Note that USE_PHP must be set before bsd.port.pre.mk is included, so
# OPTIONS can't be used right now without making portlint angry
-#OPTIONS= NETPBM "Enable netpbm support" on \
+#OPTIONS= NETPBM "Enable netpbm support" off \
# IMAGEMAGICK "Enable imagemagick support" on \
# PGSQL "Use PostgreSQL instead of MySQL" off \
# JHEAD "Enable jhead support" on \
@@ -49,10 +49,13 @@ USE_PHP+= mysql
USE_PHP+= gd
RUN_DEPENDS+= pngtogd:${PORTSDIR}/graphics/gd
.endif
+.if !defined(WITHOUT_NLS)
+USE_PHP+= gettext
+.endif
.include <bsd.port.pre.mk>
-.if !defined(WITHOUT_NETPBM)
+.if defined(WITH_NETPBM)
RUN_DEPENDS+= giftopnm:${PORTSDIR}/graphics/netpbm
.endif
.if !defined(WITHOUT_IMAGEMAGICK)