aboutsummaryrefslogtreecommitdiffstats
path: root/security/hlfl/Makefile
blob: c3598757f9f9b79325114cac46c3a727672d55a8 (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
29
30
31
32
33
# 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>