aboutsummaryrefslogtreecommitdiffstats
path: root/security/hlfl/Makefile
blob: f813be37965588ca28fd3d359572125fdcb8484d (plain) (blame)
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
# Created by: Arnaud Launay <alaunay@hlfl.org>
# $FreeBSD$

PORTNAME=   hlfl
PORTVERSION=    0.60.1
CATEGORIES= security
MASTER_SITES=   ftp://ftp.hlfl.org/pub/hlfl/

MAINTAINER= alaunay@hlfl.org
COMMENT=    High Level Firewall Language

GNU_CONFIGURE=  yes
CONFIGURE_ARGS+=    --datadir=${LOCALBASE}/share/doc
DOC_FILES=  services.hlfl sample_1.hlfl sample_2.hlfl test.hlfl syntax.txt
MAN1=       hlfl.1

NO_STAGE=   yes
do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/src/hlfl ${PREFIX}/bin
    ${INSTALL_DATA} ${WRKSRC}/doc/${MAN1} ${PREFIX}/man/man1
.if !defined(NOPORTDOCS)
    ${MKDIR} ${PREFIX}/share/doc/hlfl
.for i in ${DOC_FILES}
    ${INSTALL_DATA} ${WRKSRC}/doc/${i} ${PREFIX}/share/doc/hlfl
.endfor
.endif

.include <bsd.port.mk>