aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoritetcu <itetcu@FreeBSD.org>2009-03-23 16:15:51 +0800
committeritetcu <itetcu@FreeBSD.org>2009-03-23 16:15:51 +0800
commitcc9c7b6ae8c433fcbfe46e42df96e497e4847ce9 (patch)
tree424fdbd481d2d2f0112c178a7afc719d98482ba5
parent167526171e0712996a5e0285d9a1958f153e6f20 (diff)
downloadfreebsd-ports-gnome-cc9c7b6ae8c433fcbfe46e42df96e497e4847ce9.tar.gz
freebsd-ports-gnome-cc9c7b6ae8c433fcbfe46e42df96e497e4847ce9.tar.zst
freebsd-ports-gnome-cc9c7b6ae8c433fcbfe46e42df96e497e4847ce9.zip
Use DOCSDIR consistently and repect NOPORTDOCS.
Prompted by: QAT QA run Approved by: maintainer timeout on QATMails
-rw-r--r--textproc/c2html/Makefile4
-rw-r--r--textproc/c2html/pkg-plist6
2 files changed, 5 insertions, 5 deletions
diff --git a/textproc/c2html/Makefile b/textproc/c2html/Makefile
index 9a6ed6938865..ff2add573883 100644
--- a/textproc/c2html/Makefile
+++ b/textproc/c2html/Makefile
@@ -20,9 +20,9 @@ MAN1= c2html.1
post-install:
.if !defined(NOPORTDOCS)
- ${MKDIR} ${PREFIX}/share/doc/c2html
+ @${MKDIR} ${DOCSDIR}
.for file in AUTHORS NEWS README
- ${INSTALL_MAN} ${WRKSRC}/${file} ${PREFIX}/share/doc/c2html
+ ${INSTALL_MAN} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif
diff --git a/textproc/c2html/pkg-plist b/textproc/c2html/pkg-plist
index ba28be75637e..3aee28244379 100644
--- a/textproc/c2html/pkg-plist
+++ b/textproc/c2html/pkg-plist
@@ -1,5 +1,5 @@
bin/c2html
-%%DOCSDIR%%/AUTHORS
-%%DOCSDIR%%/NEWS
-%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
+%%PORTDOCS%%%%DOCSDIR%%/NEWS
+%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%@dirrm %%DOCSDIR%%