summaryrefslogtreecommitdiffstats
path: root/devel/perltidy
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2001-08-02 12:58:22 +0000
committerijliao <ijliao@FreeBSD.org>2001-08-02 12:58:22 +0000
commit1f19a6abb6bbd29aa57e73a374b9f8b281343286 (patch)
treebfc41c4d8832f588bf0a4319964e15c43639a248 /devel/perltidy
parenta65aa8f17dc41fd4572661ab7c1d6732d0aa6b42 (diff)
downloadFreeBSD-ports-1f19a6abb6bbd29aa57e73a374b9f8b281343286.zip
FreeBSD-ports-1f19a6abb6bbd29aa57e73a374b9f8b281343286.tar.gz
better handle docs
PR: 29372 Submitted by: Pete Fritchman <petef@databits.net>
Diffstat (limited to 'devel/perltidy')
-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 ce633c8..3f67b41 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 be1ff82..d545aa4 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
OpenPOWER on IntegriCloud