mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
Upgrade shells/perlsh to new version (perlsh 0.007).
1) Update pkg/PLIST. 2) Change to depend on perlsh's install mechanism. 3) New patch (patch-aa) fixes PREFIX problem. 4) Account for broken TCP/IP on MASTER_SITES. 5) General Makefile cleanups. 6) Addition of perlsh to perl5 virtual category. 7) Use PKGNAME to match port's name. 8) Remove unnecessary perl substitution. PR: 17031 Submitted by: Maintainer
This commit is contained in:
parent
61ab6ea6be
commit
d158e99d33
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=26421
@ -1,32 +1,30 @@
|
||||
# New ports collection makefile for: perlsh
|
||||
# Version required: 0.004pre2
|
||||
# Version required: 0.007
|
||||
# Date created: 11 Dec 1999
|
||||
# Whom: Will Andrews <andrews@technologist.com>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
DISTNAME= psh-0.004pre2
|
||||
CATEGORIES= shells
|
||||
DISTNAME= psh-${VERSION}
|
||||
PKGNAME= perlsh-${VERSION}
|
||||
CATEGORIES= shells perl5
|
||||
MASTER_SITES= http://www.focusresearch.com/gregor/psh/
|
||||
|
||||
MAINTAINER= andrews@technologist.com
|
||||
|
||||
VERSION= 0.007
|
||||
USE_PERL5= yes
|
||||
FETCH_BEFORE_ARGS+= -t
|
||||
MAKE_ENV+= PPREFIX="${PREFIX}"
|
||||
MAN1= psh.1
|
||||
MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
|
||||
|
||||
.include "${.CURDIR}/files/man3"
|
||||
|
||||
do-build:
|
||||
@(cd ${WRKSRC} && ${PERL} Makefile.PL && ${MAKE})
|
||||
|
||||
post-build:
|
||||
@${PERL} -pi -e "s/\/usr\/local\/bin\/perl/\/usr\/bin\/perl/g" ${WRKSRC}/psh
|
||||
|
||||
do-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${PREFIX}/share/perlsh
|
||||
.for DOC in CHANGES MANIFEST README TODO psh.NEWS pshrc test.pl psh.pod
|
||||
@${INSTALL_DATA} ${WRKSRC}/${DOC} ${PREFIX}/share/perlsh
|
||||
.endfor
|
||||
.endif
|
||||
@${INSTALL_SCRIPT} ${WRKSRC}/psh ${PREFIX}/bin
|
||||
|
||||
post-install:
|
||||
@${ECHO} "Updating /etc/shells"
|
||||
@${CP} /etc/shells /etc/shells.bak
|
||||
|
@ -1 +1 @@
|
||||
MD5 (psh-0.004pre2.tar.gz) = 9b8f0ef1bd3708cb8fa4101ab4d6c1b4
|
||||
MD5 (psh-0.007.tar.gz) = caae93083d1cf5724b9e7d5864ba1d2c
|
||||
|
19
shells/perlsh/files/man3
Normal file
19
shells/perlsh/files/man3
Normal file
@ -0,0 +1,19 @@
|
||||
MAN3= \
|
||||
Psh::OS::Unix.3 \
|
||||
Psh::Locale::French.3 \
|
||||
Psh::Locale::Spanish.3 \
|
||||
Psh::Joblist.3 \
|
||||
Psh::Locale::German.3 \
|
||||
Psh::Locale::Base.3 \
|
||||
Psh::Completion.3 \
|
||||
Psh::PerlEval.3 \
|
||||
Psh::Job.3 \
|
||||
Psh::Util.3 \
|
||||
Psh::OS::Win.3 \
|
||||
Psh::Locale::Italian.3 \
|
||||
Psh::OS.3 \
|
||||
Psh::OS::Mac.3 \
|
||||
Psh::Locale::Default.3 \
|
||||
Psh::Builtins.3 \
|
||||
Psh::Parser.3 \
|
||||
Psh::Locale::Portuguese.3
|
10
shells/perlsh/files/patch-aa
Normal file
10
shells/perlsh/files/patch-aa
Normal file
@ -0,0 +1,10 @@
|
||||
--- Makefile.PL Mon Dec 27 06:11:05 1999
|
||||
+++ Makefile.PL.new Sun Feb 27 22:34:55 2000
|
||||
@@ -17,6 +17,7 @@
|
||||
|
||||
WriteMakefile (
|
||||
NAME => 'psh',
|
||||
+ PREFIX => '${PPREFIX}',
|
||||
VERSION_FROM => 'psh',
|
||||
AUTHOR => 'Gregor N. Purdy (gregor@focusresearch.com)',
|
||||
ABSTRACT => 'Perl Shell',
|
@ -1,4 +1,4 @@
|
||||
Perl Shell is a new shell that combines the power of bash
|
||||
and several other shells with the power of perl programming.
|
||||
|
||||
WWW: http://www.focusresearch.com/gregor/psh/index.html
|
||||
WWW: http://www.focusresearch.com/gregor/psh/
|
||||
|
@ -1,10 +1,48 @@
|
||||
bin/psh
|
||||
share/perlsh/CHANGES
|
||||
share/perlsh/MANIFEST
|
||||
share/perlsh/README
|
||||
share/perlsh/TODO
|
||||
share/perlsh/psh.NEWS
|
||||
share/perlsh/pshrc
|
||||
share/perlsh/test.pl
|
||||
share/perlsh/psh.pod
|
||||
@dirrm share/perlsh
|
||||
lib/perl5/site_perl/%%PERL_VER%%/Psh.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/Psh/OS/Unix.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/Psh/OS/Win.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/Psh/OS/Mac.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/Psh/Joblist.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/Psh/Builtins/Fallback/Ls.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/Psh/Builtins/Fallback/Env.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/Psh/Builtins/Readline.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/Psh/Builtins/Bg.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/Psh/Builtins/Symbols.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/Psh/Builtins/Fg.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/Psh/Builtins/Jobs.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/Psh/Builtins/Which.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/Psh/Builtins/Builtin.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/Psh/Builtins/Exit.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/Psh/Builtins/Help.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/Psh/Builtins/Kill.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/Psh/Builtins/Source.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/Psh/Builtins/Strategy.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/Psh/Completion.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/Psh/Locale/Base.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/Psh/Locale/Italian.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/Psh/Locale/Default.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/Psh/Locale/French.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/Psh/Locale/Spanish.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/Psh/Locale/German.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/Psh/Locale/Portuguese.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/Psh/PerlEval.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/Psh/Strategy/Perlfunc.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/Psh/Strategy/Fallback_builtin.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/Psh/Strategy/Auto_resume.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/Psh/Strategy/Auto_cd.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/Psh/Strategy/Perlscript.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/Psh/OS.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/Psh/Job.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/Psh/Util.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/Psh/Prompt.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/Psh/Builtins.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/Psh/Parser.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/psh/.packlist
|
||||
@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/psh
|
||||
@dirrm lib/perl5/site_perl/%%PERL_VER%%/Psh/Builtins/Fallback
|
||||
@dirrm lib/perl5/site_perl/%%PERL_VER%%/Psh/Builtins
|
||||
@dirrm lib/perl5/site_perl/%%PERL_VER%%/Psh/Locale
|
||||
@dirrm lib/perl5/site_perl/%%PERL_VER%%/Psh/OS
|
||||
@dirrm lib/perl5/site_perl/%%PERL_VER%%/Psh/Strategy
|
||||
@dirrm lib/perl5/site_perl/%%PERL_VER%%/Psh
|
||||
|
@ -1,32 +1,30 @@
|
||||
# New ports collection makefile for: perlsh
|
||||
# Version required: 0.004pre2
|
||||
# Version required: 0.007
|
||||
# Date created: 11 Dec 1999
|
||||
# Whom: Will Andrews <andrews@technologist.com>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
DISTNAME= psh-0.004pre2
|
||||
CATEGORIES= shells
|
||||
DISTNAME= psh-${VERSION}
|
||||
PKGNAME= perlsh-${VERSION}
|
||||
CATEGORIES= shells perl5
|
||||
MASTER_SITES= http://www.focusresearch.com/gregor/psh/
|
||||
|
||||
MAINTAINER= andrews@technologist.com
|
||||
|
||||
VERSION= 0.007
|
||||
USE_PERL5= yes
|
||||
FETCH_BEFORE_ARGS+= -t
|
||||
MAKE_ENV+= PPREFIX="${PREFIX}"
|
||||
MAN1= psh.1
|
||||
MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
|
||||
|
||||
.include "${.CURDIR}/files/man3"
|
||||
|
||||
do-build:
|
||||
@(cd ${WRKSRC} && ${PERL} Makefile.PL && ${MAKE})
|
||||
|
||||
post-build:
|
||||
@${PERL} -pi -e "s/\/usr\/local\/bin\/perl/\/usr\/bin\/perl/g" ${WRKSRC}/psh
|
||||
|
||||
do-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${PREFIX}/share/perlsh
|
||||
.for DOC in CHANGES MANIFEST README TODO psh.NEWS pshrc test.pl psh.pod
|
||||
@${INSTALL_DATA} ${WRKSRC}/${DOC} ${PREFIX}/share/perlsh
|
||||
.endfor
|
||||
.endif
|
||||
@${INSTALL_SCRIPT} ${WRKSRC}/psh ${PREFIX}/bin
|
||||
|
||||
post-install:
|
||||
@${ECHO} "Updating /etc/shells"
|
||||
@${CP} /etc/shells /etc/shells.bak
|
||||
|
@ -1 +1 @@
|
||||
MD5 (psh-0.004pre2.tar.gz) = 9b8f0ef1bd3708cb8fa4101ab4d6c1b4
|
||||
MD5 (psh-0.007.tar.gz) = caae93083d1cf5724b9e7d5864ba1d2c
|
||||
|
19
shells/psh/files/man3
Normal file
19
shells/psh/files/man3
Normal file
@ -0,0 +1,19 @@
|
||||
MAN3= \
|
||||
Psh::OS::Unix.3 \
|
||||
Psh::Locale::French.3 \
|
||||
Psh::Locale::Spanish.3 \
|
||||
Psh::Joblist.3 \
|
||||
Psh::Locale::German.3 \
|
||||
Psh::Locale::Base.3 \
|
||||
Psh::Completion.3 \
|
||||
Psh::PerlEval.3 \
|
||||
Psh::Job.3 \
|
||||
Psh::Util.3 \
|
||||
Psh::OS::Win.3 \
|
||||
Psh::Locale::Italian.3 \
|
||||
Psh::OS.3 \
|
||||
Psh::OS::Mac.3 \
|
||||
Psh::Locale::Default.3 \
|
||||
Psh::Builtins.3 \
|
||||
Psh::Parser.3 \
|
||||
Psh::Locale::Portuguese.3
|
10
shells/psh/files/patch-aa
Normal file
10
shells/psh/files/patch-aa
Normal file
@ -0,0 +1,10 @@
|
||||
--- Makefile.PL Mon Dec 27 06:11:05 1999
|
||||
+++ Makefile.PL.new Sun Feb 27 22:34:55 2000
|
||||
@@ -17,6 +17,7 @@
|
||||
|
||||
WriteMakefile (
|
||||
NAME => 'psh',
|
||||
+ PREFIX => '${PPREFIX}',
|
||||
VERSION_FROM => 'psh',
|
||||
AUTHOR => 'Gregor N. Purdy (gregor@focusresearch.com)',
|
||||
ABSTRACT => 'Perl Shell',
|
@ -1,4 +1,4 @@
|
||||
Perl Shell is a new shell that combines the power of bash
|
||||
and several other shells with the power of perl programming.
|
||||
|
||||
WWW: http://www.focusresearch.com/gregor/psh/index.html
|
||||
WWW: http://www.focusresearch.com/gregor/psh/
|
||||
|
@ -1,10 +1,48 @@
|
||||
bin/psh
|
||||
share/perlsh/CHANGES
|
||||
share/perlsh/MANIFEST
|
||||
share/perlsh/README
|
||||
share/perlsh/TODO
|
||||
share/perlsh/psh.NEWS
|
||||
share/perlsh/pshrc
|
||||
share/perlsh/test.pl
|
||||
share/perlsh/psh.pod
|
||||
@dirrm share/perlsh
|
||||
lib/perl5/site_perl/%%PERL_VER%%/Psh.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/Psh/OS/Unix.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/Psh/OS/Win.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/Psh/OS/Mac.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/Psh/Joblist.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/Psh/Builtins/Fallback/Ls.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/Psh/Builtins/Fallback/Env.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/Psh/Builtins/Readline.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/Psh/Builtins/Bg.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/Psh/Builtins/Symbols.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/Psh/Builtins/Fg.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/Psh/Builtins/Jobs.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/Psh/Builtins/Which.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/Psh/Builtins/Builtin.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/Psh/Builtins/Exit.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/Psh/Builtins/Help.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/Psh/Builtins/Kill.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/Psh/Builtins/Source.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/Psh/Builtins/Strategy.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/Psh/Completion.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/Psh/Locale/Base.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/Psh/Locale/Italian.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/Psh/Locale/Default.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/Psh/Locale/French.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/Psh/Locale/Spanish.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/Psh/Locale/German.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/Psh/Locale/Portuguese.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/Psh/PerlEval.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/Psh/Strategy/Perlfunc.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/Psh/Strategy/Fallback_builtin.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/Psh/Strategy/Auto_resume.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/Psh/Strategy/Auto_cd.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/Psh/Strategy/Perlscript.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/Psh/OS.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/Psh/Job.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/Psh/Util.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/Psh/Prompt.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/Psh/Builtins.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/Psh/Parser.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/psh/.packlist
|
||||
@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/psh
|
||||
@dirrm lib/perl5/site_perl/%%PERL_VER%%/Psh/Builtins/Fallback
|
||||
@dirrm lib/perl5/site_perl/%%PERL_VER%%/Psh/Builtins
|
||||
@dirrm lib/perl5/site_perl/%%PERL_VER%%/Psh/Locale
|
||||
@dirrm lib/perl5/site_perl/%%PERL_VER%%/Psh/OS
|
||||
@dirrm lib/perl5/site_perl/%%PERL_VER%%/Psh/Strategy
|
||||
@dirrm lib/perl5/site_perl/%%PERL_VER%%/Psh
|
||||
|
Loading…
Reference in New Issue
Block a user