openbsd-ports/security/hlfl/Makefile
2013-03-11 11:35:43 +00:00

36 lines
832 B
Makefile

# $OpenBSD: Makefile,v 1.15 2013/03/11 11:41:25 espie Exp $
COMMENT = high level firewall language
DISTNAME = hlfl-0.60.1
CATEGORIES = security lang
HOMEPAGE = http://www.hlfl.org/
MAINTAINER = Benoit Lecocq <benoit@openbsd.org>
# GPLv2
PERMIT_PACKAGE_CDROM = Yes
WANTLIB = c
MASTER_SITES = http://www.hlfl.org/hlfl/ \
ftp://ftp.hlfl.org/pub/hlfl/ \
ftp://ftp.hlfl.org/pub/hlfl/old/
FAKE_FLAGS = prefix=${PREFIX} \
datadir=${PREFIX}/share/examples/hlfl \
mandir=${PREFIX}/man
CONFIGURE_STYLE = gnu
CONFIGURE_ARGS += ${CONFIGURE_SHARED}
NO_TEST = Yes
USE_GROFF = Yes
pre-install:
@perl -pi -e 's#\$${prefix}\/share\/hlfl\/services\.hlfl#${SYSCONFDIR}/services.hlfl#' ${WRKSRC}/doc/hlfl.1
@perl -pi -e 's#\$${prefix}\/share#${PREFIX}/share/examples#' ${WRKSRC}/doc/hlfl.1
.include <bsd.port.mk>