aboutsummaryrefslogtreecommitdiffstats
path: root/security/hlfl
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2014-05-01 09:42:38 +0800
committeradamw <adamw@FreeBSD.org>2014-05-01 09:42:38 +0800
commit4193822cf8d93383dc8f9f6186609a67b2350005 (patch)
tree7d2afea24bed5487a0bed70a4ce863d70ee3d368 /security/hlfl
parentad2f39a8b4fdf5d89647810e8a01030f3f768456 (diff)
downloadfreebsd-ports-gnome-4193822cf8d93383dc8f9f6186609a67b2350005.tar.gz
freebsd-ports-gnome-4193822cf8d93383dc8f9f6186609a67b2350005.tar.zst
freebsd-ports-gnome-4193822cf8d93383dc8f9f6186609a67b2350005.zip
STAGE support, and general cleanups. Some of the changes are a
bit more aggressive, but at this point, if I'm staging your port, you've likely stopped caring what's done to it.
Diffstat (limited to 'security/hlfl')
-rw-r--r--security/hlfl/Makefile19
-rw-r--r--security/hlfl/pkg-plist7
2 files changed, 9 insertions, 17 deletions
diff --git a/security/hlfl/Makefile b/security/hlfl/Makefile
index f813be379655..026f775fb62d 100644
--- a/security/hlfl/Makefile
+++ b/security/hlfl/Makefile
@@ -3,6 +3,7 @@
PORTNAME= hlfl
PORTVERSION= 0.60.1
+PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= ftp://ftp.hlfl.org/pub/hlfl/
@@ -11,18 +12,16 @@ 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
+PORTDOCS= services.hlfl sample_1.hlfl sample_2.hlfl test.hlfl syntax.txt
+PLIST_FILES= bin/${PORTNAME} man/man1/${PORTNAME}.1.gz
+PORT_OPTIONS= DOCS
-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
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/hlfl ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_DATA} ${WRKSRC}/doc/${MAN1} ${STAGEDIR}${PREFIX}/man/man1
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+.for i in ${PORTDOCS}
+ ${INSTALL_DATA} ${WRKSRC}/doc/${i} ${STAGEDIR}${DOCSDIR}
.endfor
-.endif
.include <bsd.port.mk>
diff --git a/security/hlfl/pkg-plist b/security/hlfl/pkg-plist
deleted file mode 100644
index c933854ca8bd..000000000000
--- a/security/hlfl/pkg-plist
+++ /dev/null
@@ -1,7 +0,0 @@
-bin/hlfl
-%%PORTDOCS%%share/doc/hlfl/services.hlfl
-%%PORTDOCS%%share/doc/hlfl/sample_1.hlfl
-%%PORTDOCS%%share/doc/hlfl/sample_2.hlfl
-%%PORTDOCS%%share/doc/hlfl/test.hlfl
-%%PORTDOCS%%share/doc/hlfl/syntax.txt
-%%PORTDOCS%%@dirrm share/doc/hlfl