diff options
Diffstat (limited to 'www/dansguardian/Makefile')
-rw-r--r-- | www/dansguardian/Makefile | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/www/dansguardian/Makefile b/www/dansguardian/Makefile index 054b40fb8d70..bdb69189db93 100644 --- a/www/dansguardian/Makefile +++ b/www/dansguardian/Makefile @@ -1,19 +1,18 @@ # New ports collection makefile for: dansguardian # Date created: March 26, 2002 -# Whom: Freddie Cash <fcash@bigfoot.com> +# Whom: Freddie Cash <fcash@sd73.bc.ca> # # $FreeBSD$ # PORTNAME= dansguardian -PORTVERSION= 2.2.10.0 -PORTREVISION= 1 +PORTVERSION= 2.6.1.3 CATEGORIES= www MASTER_SITES= # empty, see below DISTNAME= DansGuardian-${PORTVERSION:R}-${PORTVERSION:E}.source -MAINTAINER= fcash@bigfoot.com -COMMENT= A fast, simple web content filter for Squid proxy servers +MAINTAINER= fcash@sd73.bc.ca +COMMENT= A fast, featureful web content filter for Squid proxy servers RUN_DEPENDS= ${LOCALBASE}/sbin/squid:${PORTSDIR}/www/squid24:install \ ${LOCALBASE}/sbin/httpd:${PORTSDIR}/www/apache13:install @@ -31,17 +30,20 @@ CONFIGURE_ARGS= --prefix=${PREFIX} \ DG_URL= http://dansguardian.org/index.php?page=copyright2 -.if defined(WITHOUT_PICS) -CONFIGURE_ARGS+= --without-pics-filter -.endif - MAN8= dansguardian.8 NO_CDROM= "Commercial download is restricted. Check ${DG_URL} for more info" NO_PACKAGE= "Redistribution is restricted. Check ${DG_URL} for more info" +RESTRICTED= ${NO_PACKAGE} .include <bsd.port.pre.mk> +.if ${OSVERSION} > 500000 || defined(WITH_GCC3) +CONFIGURE_ARGS+= --gccver=3 +.else +CONFIGURE_ARGS+= --gccver=2 +.endif + .if !(exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})) IGNORE= "Commercial source download is restricted. Please visit and read ${DG_URL} and download ${DISTNAME}${EXTRACT_SUFX} into ${DISTDIR} before running make" .endif |