aboutsummaryrefslogtreecommitdiff
path: root/dns
diff options
context:
space:
mode:
authorSergey A. Osokin <osa@FreeBSD.org>2003-07-10 15:39:16 +0000
committerSergey A. Osokin <osa@FreeBSD.org>2003-07-10 15:39:16 +0000
commit7411ff1707e46afc54d8642002432dcde2db0cef (patch)
treef3e7e49f6d250a59dcededc252370e9f7c0616d9 /dns
parent538eaf424b0cbfd05917a426d9ef6aaa48d45fc2 (diff)
downloadports-7411ff1707e46afc54d8642002432dcde2db0cef.tar.gz
ports-7411ff1707e46afc54d8642002432dcde2db0cef.zip
Use NOPORTDOCS, DOCSDIR
Notes
Notes: svn path=/head/; revision=84605
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%%