summaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authorpat <pat@FreeBSD.org>2001-12-24 02:17:17 +0000
committerpat <pat@FreeBSD.org>2001-12-24 02:17:17 +0000
commit7b58bb9dae47ea8f4187f1ca01d041c1deab5487 (patch)
tree438ff2856c8402cd6a8f17e494e72efbac6546bf /net-mgmt
parentd53c5acbf7b9968c33e74481b4e41ab6b1e0d413 (diff)
downloadFreeBSD-ports-7b58bb9dae47ea8f4187f1ca01d041c1deab5487.zip
FreeBSD-ports-7b58bb9dae47ea8f4187f1ca01d041c1deab5487.tar.gz
- PORTDOCS police
- DOCSDIR support to some - Brush out some lint
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/dhcpconf/Makefile4
-rw-r--r--net-mgmt/dhcpconf/pkg-plist4
-rw-r--r--net-mgmt/trafd/Makefile4
-rw-r--r--net-mgmt/trafd/pkg-plist4
4 files changed, 8 insertions, 8 deletions
diff --git a/net-mgmt/dhcpconf/Makefile b/net-mgmt/dhcpconf/Makefile
index a5d909e..4b93e7c 100644
--- a/net-mgmt/dhcpconf/Makefile
+++ b/net-mgmt/dhcpconf/Makefile
@@ -24,8 +24,8 @@ MAKE_ENV+= PCFLAGS="${CFLAGS}"
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/dhcp-conf ${PREFIX}/sbin/dhcpconf
.if !defined(NOPORTDOCS)
- @${MKDIR} ${PREFIX}/share/dhcpconf
- @${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/dhcpconf
+ @${MKDIR} ${DOCSDIR}
+ @${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
.include <bsd.port.mk>
diff --git a/net-mgmt/dhcpconf/pkg-plist b/net-mgmt/dhcpconf/pkg-plist
index 7be764c..c68bede 100644
--- a/net-mgmt/dhcpconf/pkg-plist
+++ b/net-mgmt/dhcpconf/pkg-plist
@@ -1,3 +1,3 @@
sbin/dhcpconf
-share/dhcpconf/README
-@dirrm share/dhcpconf
+%%PORTDOCS%%share/doc/dhcpconf/README
+%%PORTDOCS%%@dirrm share/doc/dhcpconf
diff --git a/net-mgmt/trafd/Makefile b/net-mgmt/trafd/Makefile
index 4364e0c..c2f800d 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 1791a3e..a43a729 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
OpenPOWER on IntegriCloud