summaryrefslogtreecommitdiffstats
path: root/security/hlfl/Makefile
blob: 45d31473b01fc31b9b6b7f04495cb0f2d6a5f651 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# 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
CONFIGURE_ARGS+=	--datadir=${LOCALBASE}/share/doc
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_DATA} ${WRKSRC}/doc/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/man/man1
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in ${PORTDOCS}
	${INSTALL_DATA} ${WRKSRC}/doc/${i} ${STAGEDIR}${DOCSDIR}
.endfor

.include <bsd.port.mk>
OpenPOWER on IntegriCloud