aboutsummaryrefslogtreecommitdiff
path: root/dns
diff options
context:
space:
mode:
Diffstat (limited to 'dns')
-rw-r--r--dns/ddup/Makefile4
-rw-r--r--dns/ddup/pkg-plist4
2 files changed, 4 insertions, 4 deletions
diff --git a/dns/ddup/Makefile b/dns/ddup/Makefile
index 856b44d34b76..143f56b30803 100644
--- a/dns/ddup/Makefile
+++ b/dns/ddup/Makefile
@@ -43,8 +43,8 @@ pre-build:
post-install:
${INSTALL_SCRIPT} ${WRKSRC}/ddupcron.sh ${PREFIX}/sbin
-.if !defined(NOPORTSDOC)
- @${MKDIR} ${PREFIX}/share/doc/ddup
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
@${CAT} ${PKGMESSAGE}
diff --git a/dns/ddup/pkg-plist b/dns/ddup/pkg-plist
index b8453dd59f02..e2000f7714e5 100644
--- a/dns/ddup/pkg-plist
+++ b/dns/ddup/pkg-plist
@@ -1,5 +1,5 @@
@comment $FreeBSD$
sbin/ddup
sbin/ddupcron.sh
-share/doc/ddup/README
-@dirrm share/doc/ddup
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%@dirrm %%DOCSDIR%%