Date: Mon, 22 Oct 2012 12:05:14 +0000 (UTC) From: Guido Falsi <madpilot@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r306271 - head/www/squidguard Message-ID: <201210221205.q9MC5Esn006421@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: madpilot Date: Mon Oct 22 12:05:13 2012 New Revision: 306271 URL: http://svn.freebsd.org/changeset/ports/306271 Log: - Add OPTION to choose which version of squid to depend on - Trim Makefile headers [1] PORTREVISION not bumped since there is no functional change or dependency change with default options. Requested by: Rainer Duffner <rainer@ultra-secure.de> and many others in the past Approved by: Dan Larsson <dl@tyfon.net> (creator) [1] Feature safe: yes Modified: head/www/squidguard/Makefile (contents, props changed) Modified: head/www/squidguard/Makefile ============================================================================== --- head/www/squidguard/Makefile Mon Oct 22 12:04:02 2012 (r306270) +++ head/www/squidguard/Makefile Mon Oct 22 12:05:13 2012 (r306271) @@ -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210221205.q9MC5Esn006421>