aboutsummaryrefslogtreecommitdiffstats
path: root/shells/perlsh
diff options
context:
space:
mode:
authorjedgar <jedgar@FreeBSD.org>2000-02-29 10:27:02 +0800
committerjedgar <jedgar@FreeBSD.org>2000-02-29 10:27:02 +0800
commit3d1cb27d4f53c8725cd603d0a524f757ba27c2c6 (patch)
tree1a5e7753a4bea136d3b5f71c8aca0905366b56a9 /shells/perlsh
parent21aa9200c9bd85dfdd16a7407cd4b9725e41c7e3 (diff)
downloadfreebsd-ports-gnome-3d1cb27d4f53c8725cd603d0a524f757ba27c2c6.tar.gz
freebsd-ports-gnome-3d1cb27d4f53c8725cd603d0a524f757ba27c2c6.tar.zst
freebsd-ports-gnome-3d1cb27d4f53c8725cd603d0a524f757ba27c2c6.zip
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
Diffstat (limited to 'shells/perlsh')
-rw-r--r--shells/perlsh/Makefile28
-rw-r--r--shells/perlsh/distinfo2
-rw-r--r--shells/perlsh/files/man319
-rw-r--r--shells/perlsh/files/patch-aa10
-rw-r--r--shells/perlsh/pkg-descr2
-rw-r--r--shells/perlsh/pkg-plist56
6 files changed, 91 insertions, 26 deletions
diff --git a/shells/perlsh/Makefile b/shells/perlsh/Makefile
index fd310560a7e0..b59a8f2077a8 100644
--- a/shells/perlsh/Makefile
+++ b/shells/perlsh/Makefile
@@ -1,31 +1,29 @@
# 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
-do-build:
- @(cd ${WRKSRC} && ${PERL} Makefile.PL && ${MAKE})
+VERSION= 0.007
+USE_PERL5= yes
+FETCH_BEFORE_ARGS+= -t
+MAKE_ENV+= PPREFIX="${PREFIX}"
+MAN1= psh.1
+MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
-post-build:
- @${PERL} -pi -e "s/\/usr\/local\/bin\/perl/\/usr\/bin\/perl/g" ${WRKSRC}/psh
+.include "${.CURDIR}/files/man3"
-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
+do-build:
+ @(cd ${WRKSRC} && ${PERL} Makefile.PL && ${MAKE})
post-install:
@${ECHO} "Updating /etc/shells"
diff --git a/shells/perlsh/distinfo b/shells/perlsh/distinfo
index 75c2db0f9e8a..64afe5342cf8 100644
--- a/shells/perlsh/distinfo
+++ b/shells/perlsh/distinfo
@@ -1 +1 @@
-MD5 (psh-0.004pre2.tar.gz) = 9b8f0ef1bd3708cb8fa4101ab4d6c1b4
+MD5 (psh-0.007.tar.gz) = caae93083d1cf5724b9e7d5864ba1d2c
diff --git a/shells/perlsh/files/man3 b/shells/perlsh/files/man3
new file mode 100644
index 000000000000..72352696c2a6
--- /dev/null
+++ b/shells/perlsh/files/man3
@@ -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
diff --git a/shells/perlsh/files/patch-aa b/shells/perlsh/files/patch-aa
new file mode 100644
index 000000000000..365334e4e1eb
--- /dev/null
+++ b/shells/perlsh/files/patch-aa
@@ -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',
diff --git a/shells/perlsh/pkg-descr b/shells/perlsh/pkg-descr
index f0e2a2dfd58c..0025c8a8c1c0 100644
--- a/shells/perlsh/pkg-descr
+++ b/shells/perlsh/pkg-descr
@@ -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/
diff --git a/shells/perlsh/pkg-plist b/shells/perlsh/pkg-plist
index ac3a1eb131e4..01d5d21d0578 100644
--- a/shells/perlsh/pkg-plist
+++ b/shells/perlsh/pkg-plist
@@ -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