1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/www/dansguardian-devel/Makefile
Cy Schubert 738fc8ec1d Add dansguardian-devel 2.4.2.1, a fast, simple web content filter
for Squid proxy servers.

PR:		36676
Submitted by:	Freddie Cash <fcash@bigfoot.com>
2002-04-08 01:51:57 +00:00

47 lines
1.2 KiB
Makefile

# New ports collection makefile for: dansguardian
# Date created: April 02, 2002
# Whom: Freddie Cash <fcash@bigfoot.com>
#
# $FreeBSD$
#
PORTNAME= dansguardian
PORTVERSION= 2.4.2.1
CATEGORIES= www
MASTER_SITES= # empty, see below
DISTNAME= DansGuardian-2.4.2-1.source
MAINTAINER= fcash@bigfoot.com
RUN_DEPENDS= ${LOCALBASE}/sbin/squid:${PORTSDIR}/www/squid24:install \
${LOCALBASE}/sbin/httpd:${PORTSDIR}/www/apache13:install
WRKSRC= ${WRKDIR}/DansGuardian-2.4.2
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"
.include <bsd.port.pre.mk>
.if !(exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}))
FORBIDDEN="Commercial source download is restricted. Please visit and read ${DG_URL} and download ${DISTNAME}${EXTRACT_SUFX} into ${DISTDIR} before running make"
.endif
post-install:
@${CAT} pkg-message
.include <bsd.port.post.mk>