aboutsummaryrefslogtreecommitdiffstats
path: root/dns
diff options
context:
space:
mode:
authorosa <osa@FreeBSD.org>2003-07-10 23:39:16 +0800
committerosa <osa@FreeBSD.org>2003-07-10 23:39:16 +0800
commit63647a7bff7dde5005ec3c9b6a2ec83bbaf9c71a (patch)
treea4526e05cc39304ee75fd8dbc2005df6c358452e /dns
parent5b36b5d2c5a3a531ac037d82dd48f2299393d4fa (diff)
downloadfreebsd-ports-gnome-63647a7bff7dde5005ec3c9b6a2ec83bbaf9c71a.tar.gz
freebsd-ports-gnome-63647a7bff7dde5005ec3c9b6a2ec83bbaf9c71a.tar.zst
freebsd-ports-gnome-63647a7bff7dde5005ec3c9b6a2ec83bbaf9c71a.zip
Use NOPORTDOCS, DOCSDIR
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%%