openbsd-ports/www/dansguardian/Makefile
2012-04-28 10:52:08 +00:00

42 lines
1.2 KiB
Makefile

# $OpenBSD: Makefile,v 1.13 2012/04/28 10:52:09 ajacoutot Exp $
COMMENT = content scanning web filter
DISTNAME = dansguardian-2.10.1.1
CATEGORIES = www net
HOMEPAGE = http://www.dansguardian.org/
MAINTAINER = Bartosz Kuzma <bartosz.kuzma@gmail.com>
# GPLv2+
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
WANTLIB = c execinfo m pcre pcreposix stdc++ z
# This is deliberately not downloaded directly from the author's
# master site, since although it is GPL code, the author only
# grants commercial users permission to download it *once* from
# official sources. http://dansguardian.org/?page=copyright2
MASTER_SITES = http://spacehopper.org/mirrors/
#MASTER_SITES = http://dansguardian.org/downloads/2/Stable/
LIB_DEPENDS = devel/pcre \
devel/libexecinfo
CONFIGURE_STYLE = gnu
CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS = --with-proxygroup=_dansguardian \
--with-proxyuser=_dansguardian \
--enable-segv-backtrace \
--enable-clamd
USE_GROFF = Yes
FAKE_FLAGS += DGCONFDIR=${PREFIX}/share/examples/dansguardian \
rel_group=_dansguardian rel_user=_dansguardian
.include <bsd.port.mk>