1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00

- Add option to depend on www/squid32

PR:		ports/174761
Submitted by:	Dewayne <dewayne@amdg.etowns.org>
This commit is contained in:
Guido Falsi 2012-12-28 19:07:34 +00:00
parent 303e871aaa
commit f9c1f92b5f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=309578

View File

@ -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