aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt
diff options
context:
space:
mode:
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 a5d909e42100..4b93e7c04f8a 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 7be764c6360f..c68bedef941e 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 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