ac75853206
- Switch to options helpers
33 lines
785 B
Makefile
33 lines
785 B
Makefile
# Created by: Arnaud Launay <alaunay@hlfl.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= hlfl
|
|
PORTVERSION= 0.60.1
|
|
PORTREVISION= 1
|
|
CATEGORIES= security
|
|
MASTER_SITES= ftp://ftp.cusae.com/pub/hlfl/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= High Level Firewall Language
|
|
|
|
LICENSE= GPLv2+
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
PORTDOCS= services.hlfl sample_1.hlfl sample_2.hlfl test.hlfl syntax.txt
|
|
PLIST_FILES= bin/${PORTNAME} man/man1/${PORTNAME}.1.gz
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/hlfl ${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/doc/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
|
|
|
|
do-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
.for i in ${PORTDOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/doc/${i} ${STAGEDIR}${DOCSDIR}
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|