aboutsummaryrefslogtreecommitdiff
path: root/www/gallery2
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2006-11-13 11:36:50 +0000
committerMartin Wilke <miwi@FreeBSD.org>2006-11-13 11:36:50 +0000
commitc1c4328c632124da9e569a9e0f2983ac4a2f5899 (patch)
tree72d52206aefe419d0f09c3618371472cf966a6ca /www/gallery2
parent0fc16fe66451df12ab4eba47a12a84abc3257d68 (diff)
Notes
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)