upgrade to 20020225

This commit is contained in:
Ying-Chieh Liao 2002-02-26 06:31:19 +00:00
parent 2ef06241b5
commit 55c6319c6c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=55251
4 changed files with 13 additions and 50 deletions

View File

@ -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>

View File

@ -1 +1 @@
MD5 (perltidy-20011231.tgz) = c1e938df46602de5e224a3d9952e983e
MD5 (Perl-Tidy-20020225.tgz) = 8771ac9a588b5dea49d234b7306cf952

View File

@ -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

View File

@ -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