aboutsummaryrefslogtreecommitdiff
path: root/security/fwtk
diff options
context:
space:
mode:
authorPatrick Li <pat@FreeBSD.org>2001-12-24 02:17:17 +0000
committerPatrick Li <pat@FreeBSD.org>2001-12-24 02:17:17 +0000
commitb666502afda11878e1adfaefeff785ee6171024b (patch)
tree9aa30fd7bf24b32e216a3b9ae394f1a2abdb5bf3 /security/fwtk
parente1999fb7b6e4ffd7d87627b0fde8985f3adcc1d1 (diff)
downloadports-b666502afda11878e1adfaefeff785ee6171024b.tar.gz
ports-b666502afda11878e1adfaefeff785ee6171024b.zip
Notes
Diffstat (limited to 'security/fwtk')
-rw-r--r--security/fwtk/Makefile20
-rw-r--r--security/fwtk/pkg-plist26
2 files changed, 27 insertions, 19 deletions
diff --git a/security/fwtk/Makefile b/security/fwtk/Makefile
index a0dc15100d8a..66eb5249d09a 100644
--- a/security/fwtk/Makefile
+++ b/security/fwtk/Makefile
@@ -56,13 +56,21 @@ pre-configure:
post-install:
cd ${PREFIX}/libexec ; strip ${SBIN_BINS} ${LIBEXEC_BINS}
cd ${PREFIX}/libexec ; ${MV} ${SBIN_BINS} mqueue ../sbin
- ${MKDIR} ${PREFIX}/share/doc/fwtk
- ${INSTALL_MAN} ${WRKSRC}/LICENSE ${PREFIX}/share/doc/fwtk
- cd ${WRKSRC}/doc/man ; ${INSTALL_MAN} ${MAN3} ${PREFIX}/man/man3
- cd ${WRKSRC}/doc/man ; ${INSTALL_MAN} ${MAN5} ${PREFIX}/man/man5
- cd ${WRKSRC}/doc/man ; ${INSTALL_MAN} ${MAN8} ${PREFIX}/man/man8
+.for man in ${MAN3}
+ @${INSTALL_MAN} ${WRKSRC}/doc/man/${man} ${PREFIX}/man/man3
+.endfor
+.for man in ${MAN5}
+ @${INSTALL_MAN} ${WRKSRC}/doc/man/${man} ${PREFIX}/man/man5
+.endfor
+.for man in ${MAN8}
+ @${INSTALL_MAN} ${WRKSRC}/doc/man/${man} ${PREFIX}/man/man8
+.endfor
.if !defined(NOPORTDOCS)
- cd ${WRKSRC}/doc ; ${INSTALL_MAN} ${DOCS} ${PREFIX}/share/doc/fwtk
+ @${MKDIR} ${DOCSDIR}
+ @${INSTALL_DATA} ${WRKSRC}/LICENSE ${DOCSDIR}
+.for files in ${DOCS}
+ @${INSTALL_DATA} ${WRKSRC}/doc/${files} ${DOCSDIR}
+.endfor
.endif
.include <bsd.port.post.mk>
diff --git a/security/fwtk/pkg-plist b/security/fwtk/pkg-plist
index de46bf9ec8bc..632e964f3c2c 100644
--- a/security/fwtk/pkg-plist
+++ b/security/fwtk/pkg-plist
@@ -1,8 +1,4 @@
-@comment $FreeBSD$
-sbin/authdump
-sbin/authload
-sbin/authmgr
-sbin/mqueue
+etc/netperm-table
libexec/authsrv
libexec/ftp-gw
libexec/http-gw
@@ -13,11 +9,15 @@ libexec/smap
libexec/smapd
libexec/tn-gw
libexec/x-gw
-etc/netperm-table
-share/doc/fwtk/LICENSE
-share/doc/fwtk/admin_guide.ps
-share/doc/fwtk/manpages.ps
-share/doc/fwtk/overview.ps
-share/doc/fwtk/presentation.ps
-share/doc/fwtk/sample-report.txt
-share/doc/fwtk/user_guide.ps
+sbin/authdump
+sbin/authload
+sbin/authmgr
+sbin/mqueue
+%%PORTDOCS%%share/doc/fwtk/LICENSE
+%%PORTDOCS%%share/doc/fwtk/admin_guide.ps
+%%PORTDOCS%%share/doc/fwtk/manpages.ps
+%%PORTDOCS%%share/doc/fwtk/overview.ps
+%%PORTDOCS%%share/doc/fwtk/presentation.ps
+%%PORTDOCS%%share/doc/fwtk/sample-report.txt
+%%PORTDOCS%%share/doc/fwtk/user_guide.ps
+%%PORTDOCS%%@dirrm share/doc/fwtk