summaryrefslogtreecommitdiffstats
path: root/devel/perltidy
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-02-26 06:31:19 +0000
committerijliao <ijliao@FreeBSD.org>2002-02-26 06:31:19 +0000
commite6a488f0c7793badd1d107ca4687c510e5f1e8c0 (patch)
treeedccbdb8d1d0276cf5b487bb9f16e979b16b771b /devel/perltidy
parent4807b24b7fc74140e6af1fe417f23ed8b482de94 (diff)
downloadFreeBSD-ports-e6a488f0c7793badd1d107ca4687c510e5f1e8c0.zip
FreeBSD-ports-e6a488f0c7793badd1d107ca4687c510e5f1e8c0.tar.gz
upgrade to 20020225
Diffstat (limited to 'devel/perltidy')
-rw-r--r--devel/perltidy/Makefile26
-rw-r--r--devel/perltidy/distinfo2
-rw-r--r--devel/perltidy/files/patch-Makefile19
-rw-r--r--devel/perltidy/pkg-plist16
4 files changed, 13 insertions, 50 deletions
diff --git a/devel/perltidy/Makefile b/devel/perltidy/Makefile
index 352d007..58c4e4a 100644
--- a/devel/perltidy/Makefile
+++ b/devel/perltidy/Makefile
@@ -7,31 +7,19 @@
#
PORTNAME= perltidy
-PORTVERSION= 20011231
+PORTVERSION= 20020225
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
+DISTNAME= Perl-Tidy-${PORTVERSION}
EXTRACT_SUFX= .tgz
-MAINTAINER= ijliao@FreeBSD.org
+MAINTAINER= ports@FreeBSD.org
-USE_PERL5= yes
-NO_BUILD= yes
+PERL_CONFIGURE= yes
-MAN1= perltidy.1 perl2web.1
-
-post-patch:
- @${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g ; \
- s|%%MANPREFIX%%|${MANPREFIX}|g" ${WRKSRC}/Makefile
-
-.if !defined(NOPORTDOCS)
-post-install:
- @${MKDIR} ${DOCSDIR}
-.for file in BUGS ChangeLog perl2web perltidy tutorial
-.for ext in html txt
- ${INSTALL_DATA} ${WRKSRC}/docs/${file}.${ext} ${DOCSDIR}
-.endfor
-.endfor
-.endif
+MAN1= perltidy.1
+MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
+MAN3= Perl::Tidy.3
.include <bsd.port.mk>
diff --git a/devel/perltidy/distinfo b/devel/perltidy/distinfo
index 7281035..85a2a68 100644
--- a/devel/perltidy/distinfo
+++ b/devel/perltidy/distinfo
@@ -1 +1 @@
-MD5 (perltidy-20011231.tgz) = c1e938df46602de5e224a3d9952e983e
+MD5 (Perl-Tidy-20020225.tgz) = 8771ac9a588b5dea49d234b7306cf952
diff --git a/devel/perltidy/files/patch-Makefile b/devel/perltidy/files/patch-Makefile
deleted file mode 100644
index 38f1e4c..0000000
--- a/devel/perltidy/files/patch-Makefile
+++ /dev/null
@@ -1,19 +0,0 @@
---- 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:
--BINDIR = /usr/local/bin
-+BINDIR = %%PREFIX%%/bin
-
- # 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.
- # (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
-
- # Step 3: Then become superuser (if necessary) and issue the command
- # make install
diff --git a/devel/perltidy/pkg-plist b/devel/perltidy/pkg-plist
index 4225d14..360a61c 100644
--- a/devel/perltidy/pkg-plist
+++ b/devel/perltidy/pkg-plist
@@ -1,12 +1,6 @@
bin/perltidy
-%%PORTDOCS%%share/doc/perltidy/BUGS.html
-%%PORTDOCS%%share/doc/perltidy/BUGS.txt
-%%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
-%%PORTDOCS%%share/doc/perltidy/perltidy.txt
-%%PORTDOCS%%share/doc/perltidy/tutorial.html
-%%PORTDOCS%%share/doc/perltidy/tutorial.txt
-%%PORTDOCS%%@dirrm share/doc/perltidy
+lib/perl5/site_perl/%%PERL_VER%%/Perl/Tidy.pm
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Perl/Tidy/.packlist
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Perl 2>/dev/null || true
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Perl/Tidy
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Perl 2>/dev/null || true
OpenPOWER on IntegriCloud