aboutsummaryrefslogtreecommitdiff
path: root/security/hlfl
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-05-01 01:42:38 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-05-01 01:42:38 +0000
commit4ca54cc2f2b045a73d2db7ca2fe2d76bb8847448 (patch)
tree7d2afea24bed5487a0bed70a4ce863d70ee3d368 /security/hlfl
parentb3b7323d8ef412f19e96f476f048c4f46aa36bab (diff)
downloadports-4ca54cc2f2b045a73d2db7ca2fe2d76bb8847448.tar.gz
ports-4ca54cc2f2b045a73d2db7ca2fe2d76bb8847448.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.
Notes
Notes: svn path=/head/; revision=352710
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