aboutsummaryrefslogtreecommitdiff
path: root/devel/perltidy
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2001-03-29 18:54:12 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2001-03-29 18:54:12 +0000
commit6816dbc9b436d606d98d0d90a697034c2bef7b28 (patch)
tree33b23d796b129039d4c35b879e943d3e5273a0af /devel/perltidy
parent20ba04a6d4e1e0784ed567243241a00114144e6e (diff)
downloadports-6816dbc9b436d606d98d0d90a697034c2bef7b28.tar.gz
ports-6816dbc9b436d606d98d0d90a697034c2bef7b28.zip
Notes
Diffstat (limited to 'devel/perltidy')
-rw-r--r--devel/perltidy/Makefile10
-rw-r--r--devel/perltidy/distinfo2
-rw-r--r--devel/perltidy/files/patch-Makefile13
-rw-r--r--devel/perltidy/pkg-plist3
4 files changed, 16 insertions, 12 deletions
diff --git a/devel/perltidy/Makefile b/devel/perltidy/Makefile
index b7e690d46691..9fa1b31b3d17 100644
--- a/devel/perltidy/Makefile
+++ b/devel/perltidy/Makefile
@@ -7,8 +7,8 @@
#
PORTNAME= perltidy
-PORTVERSION= 20010304
-CATEGORIES= devel
+PORTVERSION= 20010328
+CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
EXTRACT_SUFX= .tgz
@@ -18,7 +18,7 @@ MAINTAINER= ijliao@FreeBSD.org
USE_PERL5= yes
NO_BUILD= yes
-MAN1= perltidy.1
+MAN1= perltidy.1 perl2web.1
post-patch:
@${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g ; \
@@ -27,8 +27,10 @@ post-patch:
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/perltidy
+.for file in perltidy perl2web tutorial
.for ext in html pod txt
- ${CP} ${WRKSRC}/docs/*.${ext} ${PREFIX}/share/doc/perltidy/
+ ${CP} ${WRKSRC}/docs/${file}.${ext} ${PREFIX}/share/doc/perltidy/
+.endfor
.endfor
.endif
diff --git a/devel/perltidy/distinfo b/devel/perltidy/distinfo
index ec684662e7c3..2ba29243adba 100644
--- a/devel/perltidy/distinfo
+++ b/devel/perltidy/distinfo
@@ -1 +1 @@
-MD5 (perltidy-20010304.tgz) = 047e74dfba19bbd44c2792e7625e34ac
+MD5 (perltidy-20010328.tgz) = 0d43e229bb58148dbb8516a0788145d5
diff --git a/devel/perltidy/files/patch-Makefile b/devel/perltidy/files/patch-Makefile
index 104a9f41a0ef..38f1e4cf6ced 100644
--- a/devel/perltidy/files/patch-Makefile
+++ b/devel/perltidy/files/patch-Makefile
@@ -1,6 +1,6 @@
---- Makefile.orig Sun Mar 4 19:47:45 2001
-+++ Makefile Sun Mar 4 19:49:36 2001
-@@ -2,7 +2,7 @@
+--- Makefile.orig Fri Mar 30 02:32:59 2001
++++ Makefile Fri Mar 30 02:34:11 2001
+@@ -2,14 +2,14 @@
# Step 1: edit BINDIR to reflect where you want to put perltidy
# This is fairly standard:
@@ -9,10 +9,9 @@
# Step 2: edit MANDIR to reflect where you want to put the man page, perltidy.1
# or comment out MANDIR to skip installing a man page.
-@@ -10,7 +10,7 @@
- # Hint: if directory usr/local/man/man1 does not exist,
- # you might find the man path by entering the command
- # perl '-V:install.*' and looking for the value of 'installman1dir'
+ # (Man pages can be found on the web at http://perltidy.sourceforge.net)
+ #
+ # Note: The value of MANDIR varies a lot, so be sure to check this.
-MANDIR = /usr/local/man/man1
+MANDIR = %%MANPREFIX%%/man/man1
diff --git a/devel/perltidy/pkg-plist b/devel/perltidy/pkg-plist
index b7618d3a03e7..0ee72eecb70d 100644
--- a/devel/perltidy/pkg-plist
+++ b/devel/perltidy/pkg-plist
@@ -1,4 +1,7 @@
bin/perltidy
+%%PORTDOCS%%share/doc/perltidy/perl2web.html
+%%PORTDOCS%%share/doc/perltidy/perl2web.pod
+%%PORTDOCS%%share/doc/perltidy/perl2web.txt
%%PORTDOCS%%share/doc/perltidy/perltidy.html
%%PORTDOCS%%share/doc/perltidy/perltidy.pod
%%PORTDOCS%%share/doc/perltidy/perltidy.txt