aboutsummaryrefslogtreecommitdiff
path: root/textproc/c2html
diff options
context:
space:
mode:
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%%