aboutsummaryrefslogtreecommitdiffstats
path: root/shells/fd
diff options
context:
space:
mode:
authorosa <osa@FreeBSD.org>2003-12-31 05:35:31 +0800
committerosa <osa@FreeBSD.org>2003-12-31 05:35:31 +0800
commite27a1ad0ab8b35856ce8cb908e9ffc773fd93c8b (patch)
tree56963ef43288f36e5d9cb30d6fc823e4ed3f20a7 /shells/fd
parentcb8bc3c1c94b365dfa145b00d7a9b6bbe22214bd (diff)
downloadfreebsd-ports-gnome-e27a1ad0ab8b35856ce8cb908e9ffc773fd93c8b.tar.gz
freebsd-ports-gnome-e27a1ad0ab8b35856ce8cb908e9ffc773fd93c8b.tar.zst
freebsd-ports-gnome-e27a1ad0ab8b35856ce8cb908e9ffc773fd93c8b.zip
Use DOCSDIR macro.
Approved by: knu (maintainer)
Diffstat (limited to 'shells/fd')
-rw-r--r--shells/fd/Makefile4
-rw-r--r--shells/fd/pkg-plist12
2 files changed, 8 insertions, 8 deletions
diff --git a/shells/fd/Makefile b/shells/fd/Makefile
index ee4c4ab1cfb7..345d3415cd80 100644
--- a/shells/fd/Makefile
+++ b/shells/fd/Makefile
@@ -45,10 +45,10 @@ post-install:
${ECHO_CMD} ${PREFIX}/bin/fdsh) > /etc/shells; \
${RM} -f /etc/shells.bak
.if !defined(NOPORTDOCS)
- @${MKDIR} ${PREFIX}/share/doc/${PORTNAME}
+ @${MKDIR} ${DOCSDIR}
@${MKDIR} ${PREFIX}/share/doc/ja/${PORTNAME}
@for i in ${DOCS_EN}; do \
- ${INSTALL_DATA} ${WRKSRC}/$$i ${PREFIX}/share/doc/${PORTNAME}; \
+ ${INSTALL_DATA} ${WRKSRC}/$$i ${DOCSDIR}; \
done
@for i in ${DOCS_JA}; do \
${INSTALL_DATA} ${WRKSRC}/$$i ${PREFIX}/share/doc/ja/${PORTNAME}; \
diff --git a/shells/fd/pkg-plist b/shells/fd/pkg-plist
index 8f421cd15ea2..58a8b931087d 100644
--- a/shells/fd/pkg-plist
+++ b/shells/fd/pkg-plist
@@ -14,9 +14,9 @@ etc/fd2rc.sample
%%PORTDOCS%%share/doc/ja/fd/TECHKNOW
%%PORTDOCS%%share/doc/ja/fd/ToAdmin
%%PORTDOCS%%@dirrm share/doc/ja/fd
-%%PORTDOCS%%share/doc/fd/FAQ.eng
-%%PORTDOCS%%share/doc/fd/LICENSES.eng
-%%PORTDOCS%%share/doc/fd/README.eng
-%%PORTDOCS%%share/doc/fd/TECHKNOW.eng
-%%PORTDOCS%%share/doc/fd/ToAdmin.eng
-%%PORTDOCS%%@dirrm share/doc/fd
+%%PORTDOCS%%%%DOCSDIR%%/FAQ.eng
+%%PORTDOCS%%%%DOCSDIR%%/LICENSES.eng
+%%PORTDOCS%%%%DOCSDIR%%/README.eng
+%%PORTDOCS%%%%DOCSDIR%%/TECHKNOW.eng
+%%PORTDOCS%%%%DOCSDIR%%/ToAdmin.eng
+%%PORTDOCS%%@dirrm %%DOCSDIR%%