2007-08-29 05:17:04 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.3 2007/08/29 09:17:04 aanriot Exp $
|
2007-06-07 09:16:14 -04:00
|
|
|
|
|
|
|
COMMENT= true web content filtering for all
|
|
|
|
DISTNAME= dansguardian-2.9.8.5
|
2007-08-29 05:17:04 -04:00
|
|
|
PKGNAME= ${DISTNAME}p1
|
2007-06-07 09:16:14 -04:00
|
|
|
CATEGORIES= www net
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.dansguardian.org/
|
|
|
|
|
|
|
|
MAINTAINER= Bartosz Kuzma <bartosz.kuzma@gmail.com>
|
|
|
|
|
|
|
|
# GPL
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
WANTLIB= c m stdc++ z
|
|
|
|
|
2007-06-07 10:36:46 -04:00
|
|
|
MASTER_SITES= http://www.obsd.fr/OpenBSD/distfiles/
|
2007-06-07 09:16:14 -04:00
|
|
|
|
|
|
|
LIB_DEPENDS= pcre.>=1,pcreposix.>=1::devel/pcre
|
|
|
|
|
|
|
|
CONFIGURE_STYLE=gnu
|
|
|
|
CONFIGURE_ARGS= --localstatedir=/var \
|
|
|
|
--with-proxygroup=_dansguardian \
|
|
|
|
--with-proxyuser=_dansguardian
|
|
|
|
|
|
|
|
FLAVORS=clamav
|
|
|
|
FLAVOR?=
|
|
|
|
|
|
|
|
.if ${FLAVOR:L:Mclamav}
|
|
|
|
WANTLIB+= bz2 crypto curl gmp iconv idn pthread ssl
|
|
|
|
LIB_DEPENDS+= clamav.>=1::security/clamav
|
|
|
|
CONFIGURE_ARGS+=--enable-clamav
|
|
|
|
.endif
|
|
|
|
|
|
|
|
FAKE_FLAGS+= sysconfdir=${PREFIX}/share/examples \
|
|
|
|
rel_group=_dansguardian rel_user=_dansguardian
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|