aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/perltidy/Makefile6
-rw-r--r--devel/perltidy/pkg-plist2
2 files changed, 5 insertions, 3 deletions
diff --git a/devel/perltidy/Makefile b/devel/perltidy/Makefile
index ce633c861ace..3f67b41ad906 100644
--- a/devel/perltidy/Makefile
+++ b/devel/perltidy/Makefile
@@ -26,10 +26,10 @@ post-patch:
post-install:
.if !defined(NOPORTDOCS)
- @${MKDIR} ${PREFIX}/share/doc/perltidy
-.for file in perltidy perl2web tutorial
+ @${MKDIR} ${DOCSDIR}
+.for file in ChangeLog perl2web perltidy tutorial
.for ext in html txt
- ${CP} ${WRKSRC}/docs/${file}.${ext} ${PREFIX}/share/doc/perltidy/
+ ${INSTALL_DATA} ${WRKSRC}/docs/${file}.${ext} ${DOCSDIR}
.endfor
.endfor
.endif
diff --git a/devel/perltidy/pkg-plist b/devel/perltidy/pkg-plist
index be1ff82aa896..d545aa4b59e9 100644
--- a/devel/perltidy/pkg-plist
+++ b/devel/perltidy/pkg-plist
@@ -1,4 +1,6 @@
bin/perltidy
+%%PORTDOCS%%share/doc/perltidy/ChangeLog.html
+%%PORTDOCS%%share/doc/perltidy/ChangeLog.txt
%%PORTDOCS%%share/doc/perltidy/perl2web.html
%%PORTDOCS%%share/doc/perltidy/perl2web.txt
%%PORTDOCS%%share/doc/perltidy/perltidy.html