diff options
author | Guido Falsi <madpilot@FreeBSD.org> | 2012-10-22 12:05:13 +0000 |
---|---|---|
committer | Guido Falsi <madpilot@FreeBSD.org> | 2012-10-22 12:05:13 +0000 |
commit | 08586f0b2b4d83f08ffcc54b65752cb60d863610 (patch) | |
tree | 73f35fda6b10c50150452b8d5c028e7739c61a6a /www/squidguard | |
parent | b8fdc56ae88286b9b9963c2acadc20a1a230e5d6 (diff) | |
download | ports-08586f0b2b4d83f08ffcc54b65752cb60d863610.tar.gz ports-08586f0b2b4d83f08ffcc54b65752cb60d863610.zip |
Notes
Diffstat (limited to 'www/squidguard')
-rw-r--r-- | www/squidguard/Makefile | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/www/squidguard/Makefile b/www/squidguard/Makefile index b7850da6fbdb..2e007500be15 100644 --- a/www/squidguard/Makefile +++ b/www/squidguard/Makefile @@ -1,9 +1,4 @@ -# New ports collection makefile for: squidGuard -# Date created: 5 June 2000 -# Whom: dl@tyfon.net -# # $FreeBSD$ -# PORTNAME= squidGuard PORTVERSION= 1.4 @@ -22,8 +17,6 @@ COMMENT= A fast redirector for squid LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING -RUN_DEPENDS= ${LOCALBASE}/sbin/squid:${PORTSDIR}/www/squid - USE_BDB= 40+ GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-db-inc=${BDB_INCLUDE_DIR} \ @@ -51,14 +44,26 @@ SUB_LIST= PORTNAME=${PORTNAME} \ PKGMESSAGE= ${WRKDIR}/pkg-message OPTIONS_DEFINE= DNS_BL DOCS LDAP QUOTE_STRING SAMPLE_BL -OPTIONS_DEFAULT= SAMPLE_BL +OPTIONS_SINGLE= SV +OPTIONS_SINGLE_SV= SQUID27 SQUID31 +OPTIONS_DEFAULT= SAMPLE_BL SQUID27 SAMPLE_BL_DESC= Install sample blacklists 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 .include <bsd.port.options.mk> +.if ${PORT_OPTIONS:MSQUID27} +RUN_DEPENDS= ${LOCALBASE}/sbin/squid:${PORTSDIR}/www/squid +.endif + +.if ${PORT_OPTIONS:MSQUID31} +RUN_DEPENDS= ${LOCALBASE}/sbin/squid:${PORTSDIR}/www/squid31 +.endif + .if ${PORT_OPTIONS:MLDAP} CONFIGURE_ARGS+= --with-ldap USE_OPENLDAP= yes |