2002-04-08 03:51:57 +02:00
# New ports collection makefile for: dansguardian
# Date created: April 02, 2002
# Whom: Freddie Cash <fcash@bigfoot.com>
#
# $FreeBSD$
#
PORTNAME = dansguardian
2002-10-24 06:14:52 +02:00
PORTVERSION = 2.4.6.5
2002-04-08 03:51:57 +02:00
CATEGORIES = www
MASTER_SITES = # empty, see below
2002-06-03 00:14:37 +02:00
DISTNAME = DansGuardian-${ PORTVERSION : R } -${ PORTVERSION : E } .source
2002-04-08 03:51:57 +02:00
MAINTAINER = fcash@bigfoot.com
2003-02-21 15:08:24 +01:00
COMMENT = A fast, simple web content filter for Squid proxy servers
2002-04-08 03:51:57 +02:00
RUN_DEPENDS = ${ LOCALBASE } /sbin/squid:${ PORTSDIR } /www/squid24:install \
${ LOCALBASE } /sbin/httpd:${ PORTSDIR } /www/apache13:install
2002-06-03 00:14:37 +02:00
WRKSRC = ${ WRKDIR } /DansGuardian-${ PORTVERSION : R }
2002-04-08 03:51:57 +02:00
GNU_CONFIGURE = yes
CONFIGURE_ARGS = --prefix= ${ PREFIX } \
--bindir= /sbin/ \
--sysconfdir= /etc/dansguardian/ \
--sysvdir= /etc/rc.d/ \
--mandir= /man/ \
--logdir= /var/log/ \
--cgidir= /www/cgi-bin/ \
--piddir= /var/run/
DG_URL = http://dansguardian.org/index.php?page= copyright2
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 "
. i n c l u d e < b s d . p o r t . p r e . m k >
. i f ! ( e x i s t s ( $ { D I S T D I R } / $ { D I S T N A M E } $ { E X T R A C T _ S U F X } ) )
FORBIDDEN = " Commercial source download is restricted. Please visit and read ${ DG_URL } and download ${ DISTNAME } ${ EXTRACT_SUFX } into ${ DISTDIR } before running make "
. e n d i f
post-install :
@${ CAT } pkg-message
. i n c l u d e < b s d . p o r t . p o s t . m k >