summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido Falsi <madpilot@FreeBSD.org>2012-12-28 19:07:34 +0000
committerGuido Falsi <madpilot@FreeBSD.org>2012-12-28 19:07:34 +0000
commitf9c1f92b5f56d4499bd9d8420881cad537e63877 (patch)
treedd03230d338004044e859d91954cd50ed240c77f
parentConvert the remaining ports that depend on databases/p5-DBD-mysql${MYSQL_VER} (diff)
- Add option to depend on www/squid32
PR: ports/174761 Submitted by: Dewayne <dewayne@amdg.etowns.org>
Notes
Notes: svn path=/head/; revision=309578
-rw-r--r--www/squidguard/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/www/squidguard/Makefile b/www/squidguard/Makefile
index 2e007500be15..2a40a94a9cbc 100644
--- a/www/squidguard/Makefile
+++ b/www/squidguard/Makefile
@@ -45,7 +45,7 @@ PKGMESSAGE= ${WRKDIR}/pkg-message
OPTIONS_DEFINE= DNS_BL DOCS LDAP QUOTE_STRING SAMPLE_BL
OPTIONS_SINGLE= SV
-OPTIONS_SINGLE_SV= SQUID27 SQUID31
+OPTIONS_SINGLE_SV= SQUID27 SQUID31 SQUID32
OPTIONS_DEFAULT= SAMPLE_BL SQUID27
SAMPLE_BL_DESC= Install sample blacklists
@@ -53,6 +53,7 @@ DNS_BL_DESC= Enable DNS based blacklists
QUOTE_STRING_DESC= Add quoted string patch
SQUID27_DESC= Depend on Squid 2.7.x
SQUID31_DESC= Depend on Squid 3.1.x
+SQUID32_DESC= Depend on Squid 3.2.x
.include <bsd.port.options.mk>
@@ -64,6 +65,10 @@ RUN_DEPENDS= ${LOCALBASE}/sbin/squid:${PORTSDIR}/www/squid
RUN_DEPENDS= ${LOCALBASE}/sbin/squid:${PORTSDIR}/www/squid31
.endif
+.if ${PORT_OPTIONS:MSQUID32}
+RUN_DEPENDS= ${LOCALBASE}/sbin/squid:${PORTSDIR}/www/squid32
+.endif
+
.if ${PORT_OPTIONS:MLDAP}
CONFIGURE_ARGS+= --with-ldap
USE_OPENLDAP= yes