aboutsummaryrefslogtreecommitdiffstats
path: root/net/trafd
diff options
context:
space:
mode:
authorpat <pat@FreeBSD.org>2001-12-24 10:17:17 +0800
committerpat <pat@FreeBSD.org>2001-12-24 10:17:17 +0800
commit7b58bb9dae47ea8f4187f1ca01d041c1deab5487 (patch)
tree438ff2856c8402cd6a8f17e494e72efbac6546bf /net/trafd
parentd53c5acbf7b9968c33e74481b4e41ab6b1e0d413 (diff)
downloadfreebsd-ports-gnome-7b58bb9dae47ea8f4187f1ca01d041c1deab5487.tar.gz
freebsd-ports-gnome-7b58bb9dae47ea8f4187f1ca01d041c1deab5487.tar.zst
freebsd-ports-gnome-7b58bb9dae47ea8f4187f1ca01d041c1deab5487.zip
- PORTDOCS police
- DOCSDIR support to some - Brush out some lint
Diffstat (limited to 'net/trafd')
-rw-r--r--net/trafd/Makefile4
-rw-r--r--net/trafd/pkg-plist4
2 files changed, 4 insertions, 4 deletions
diff --git a/net/trafd/Makefile b/net/trafd/Makefile
index 4364e0c031ae..c2f800d602ef 100644
--- a/net/trafd/Makefile
+++ b/net/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/trafd/pkg-plist b/net/trafd/pkg-plist
index 1791a3e25ef9..a43a72995842 100644
--- a/net/trafd/pkg-plist
+++ b/net/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