aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/trafd
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 /net-mgmt/trafd
parente1999fb7b6e4ffd7d87627b0fde8985f3adcc1d1 (diff)
downloadports-b666502afda11878e1adfaefeff785ee6171024b.tar.gz
ports-b666502afda11878e1adfaefeff785ee6171024b.zip
- PORTDOCS police
- DOCSDIR support to some - Brush out some lint
Notes
Notes: svn path=/head/; revision=52072
Diffstat (limited to 'net-mgmt/trafd')
-rw-r--r--net-mgmt/trafd/Makefile4
-rw-r--r--net-mgmt/trafd/pkg-plist4
2 files changed, 4 insertions, 4 deletions
diff --git a/net-mgmt/trafd/Makefile b/net-mgmt/trafd/Makefile
index 4364e0c031ae..c2f800d602ef 100644
--- a/net-mgmt/trafd/Makefile
+++ b/net-mgmt/trafd/Makefile
@@ -26,8 +26,8 @@ do-install:
post-install:
.if !defined(NOPORTDOCS)
- ${MKDIR} ${PREFIX}/share/doc/trafd
- ${INSTALL_MAN} ${WRKSRC}/README ${PREFIX}/share/doc/trafd/README
+ @${MKDIR} ${DOCSDIR}
+ @${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
${MKDIR} ${PREFIX}/var/trafd
${MKDIR} ${PREFIX}/var/log
diff --git a/net-mgmt/trafd/pkg-plist b/net-mgmt/trafd/pkg-plist
index 1791a3e25ef9..a43a72995842 100644
--- a/net-mgmt/trafd/pkg-plist
+++ b/net-mgmt/trafd/pkg-plist
@@ -7,8 +7,8 @@ bin/trafstat
bin/trafstatd
bin/trafstop
etc/traflog.format
-share/doc/trafd/README
-@dirrm share/doc/trafd
+%%PORTDOCS%%share/doc/trafd/README
+%%PORTDOCS%%@dirrm share/doc/trafd
@dirrm var/trafd
@unexec rmdir %D/var/log 2>/dev/null || true
@unexec rmdir %D/var 2>/dev/null || true