aboutsummaryrefslogtreecommitdiff
path: root/textproc/c2html
diff options
context:
space:
mode:
authorIon-Mihai Tetcu <itetcu@FreeBSD.org>2009-03-23 08:15:51 +0000
committerIon-Mihai Tetcu <itetcu@FreeBSD.org>2009-03-23 08:15:51 +0000
commit4558c1e94951c9e2017126078608d57bf77503b3 (patch)
tree800632777b30426d2ddad557ac6853d61bfc43da /textproc/c2html
parent8aaf0512bfbae2fc47630891d1477dd86df91095 (diff)
downloadports-4558c1e94951c9e2017126078608d57bf77503b3.tar.gz
ports-4558c1e94951c9e2017126078608d57bf77503b3.zip
Use DOCSDIR consistently and repect NOPORTDOCS.
Prompted by: QAT QA run Approved by: maintainer timeout on QATMails
Notes
Notes: svn path=/head/; revision=230727
Diffstat (limited to 'textproc/c2html')
-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%%