aboutsummaryrefslogtreecommitdiff
path: root/devel/perltidy
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2001-08-02 12:58:22 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2001-08-02 12:58:22 +0000
commit349f7cb6038530369f6ed42a1f2da1d99f6fd209 (patch)
tree0ee018b3f4a94333c4e5a9b54cf149743441eddc /devel/perltidy
parent153ebff844c7a63b4a774f1d0a40794d4dc78489 (diff)
downloadports-349f7cb6038530369f6ed42a1f2da1d99f6fd209.tar.gz
ports-349f7cb6038530369f6ed42a1f2da1d99f6fd209.zip
better handle docs
PR: 29372 Submitted by: Pete Fritchman <petef@databits.net>
Notes
Notes: svn path=/head/; revision=45737
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 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