Import perlsh 1.8

The Perl Shell is a shell that combines the interactive nature of a Unix
shell with the power of Perl. The goal is to have a full featured shell
that behaves as expected for normal shell activity.

From Jasper Lievisse Adriaanse <jasper@nedbsd.nl>
This commit is contained in:
alek 2005-10-23 10:29:21 +00:00
parent fb16af3a82
commit ef747cfccc
6 changed files with 229 additions and 0 deletions

34
shells/perlsh/Makefile Normal file
View File

@ -0,0 +1,34 @@
# $OpenBSD: Makefile,v 1.1.1.1 2005/10/23 10:29:21 alek Exp $
COMMENT= "Perl shell"
DISTNAME= psh-1.8
PKGNAME= ${DISTNAME:S/p/perl/}
CATEGORIES= shells
HOMEPAGE= http://www.focusresearch.com/gregor/psh/
MAINTAINER= Jasper Lievisse Adriaanse <jasper@nedbsd.nl>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${HOMEPAGE}
RUN_DEPENDS= ::devel/p5-Term-ReadLine-Gnu \
::devel/p5-BSD-Resource
CONFIGURE_STYLE= perl
PKG_ARCH= *
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/psh/themes
${INSTALL_DATA_DIR} ${PREFIX}/share/psh/complete
${INSTALL_DATA} ${WRKSRC}/share/themes/* ${PREFIX}/share/psh/themes
${INSTALL_DATA} ${WRKSRC}/share/complete/* ${PREFIX}/share/psh/complete
.include <bsd.port.mk>

4
shells/perlsh/distinfo Normal file
View File

@ -0,0 +1,4 @@
MD5 (psh-1.8.tar.gz) = bb2040c519e6b263239d6f795a6515b5
RMD160 (psh-1.8.tar.gz) = ed06062ef6faeb08dba0ac5dd12cf24acbcd6380
SHA1 (psh-1.8.tar.gz) = fd2f1fd0e100fb9fc20102b1c0d9dfaf2b14c0b9
SIZE (psh-1.8.tar.gz) = 119989

View File

@ -0,0 +1,30 @@
$OpenBSD: patch-Makefile_PL,v 1.1.1.1 2005/10/23 10:29:21 alek Exp $
--- Makefile.PL.orig Thu Jan 16 20:11:38 2003
+++ Makefile.PL Sun Oct 23 11:59:18 2005
@@ -4,6 +4,7 @@ my $pms= {};
my $pods= {};
my $sb_depends='';
my $sb_files='';
+my $man_files='lib/Psh/StrategyBunch.tail';
my $sb_winfiles='';
my @sb_winfiles=();
@@ -21,10 +22,7 @@ sub MY::postamble {
# to copy share files after installation
my $tmp="
-install ::
- \$(PERL) postinstall.pl \$(SITEPREFIX) \$(PREFIX)
-
lib/Psh/StrategyBunch.pm : $sb_depends
";
if ($^O eq 'MSWin32') {
@@ -34,6 +32,7 @@ lib/Psh/StrategyBunch.pm : $sb_depends
} else {
$tmp.=" echo \"## do not modify - autogenerated ##\" > lib/Psh/StrategyBunch.pm
cat $sb_files >> lib/Psh/StrategyBunch.pm
+ cat $man_files >> lib/Psh/StrategyBunch.pm
";
}

View File

@ -0,0 +1,20 @@
$OpenBSD: patch-lib_Psh_StrategyBunch_tail,v 1.1.1.1 2005/10/23 10:29:21 alek Exp $
--- lib/Psh/StrategyBunch.tail.orig Tue Oct 11 21:15:46 2005
+++ lib/Psh/StrategyBunch.tail Tue Oct 11 21:15:46 2005
@@ -0,0 +1,16 @@
+
+__END__
+
+=head1 NAME
+
+Psh::StrategyBunch - A collection of modules.
+
+=head1 DESCRIPTION
+
+A bunch of modules for "psh".
+
+=head1 AUTHOR
+
+The author of "psh" is Gregor N. Purdy.
+
+=cut

3
shells/perlsh/pkg/DESCR Normal file
View File

@ -0,0 +1,3 @@
The Perl Shell is a shell that combines the interactive nature of a Unix
shell with the power of Perl. The goal is to have a full featured shell
that behaves as expected for normal shell activity.

138
shells/perlsh/pkg/PLIST Normal file
View File

@ -0,0 +1,138 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2005/10/23 10:29:21 alek Exp $
@shell bin/psh
${P5SITE}/Psh/
${P5SITE}/Psh.pm
${P5SITE}/Psh/Builtins/
${P5SITE}/Psh/Builtins/Alias.pm
${P5SITE}/Psh/Builtins/Bg.pm
${P5SITE}/Psh/Builtins/Bind.pm
${P5SITE}/Psh/Builtins/Builtin.pm
${P5SITE}/Psh/Builtins/Cd.pm
${P5SITE}/Psh/Builtins/Complete.pm
${P5SITE}/Psh/Builtins/Delenv.pm
${P5SITE}/Psh/Builtins/Dirs.pm
${P5SITE}/Psh/Builtins/Drives.pm
${P5SITE}/Psh/Builtins/Else.pm
${P5SITE}/Psh/Builtins/Elsif.pm
${P5SITE}/Psh/Builtins/Exit.pm
${P5SITE}/Psh/Builtins/Export.pm
${P5SITE}/Psh/Builtins/Fallback/
${P5SITE}/Psh/Builtins/Fallback/Env.pm
${P5SITE}/Psh/Builtins/Fallback/Ls.pm
${P5SITE}/Psh/Builtins/Fc.pm
${P5SITE}/Psh/Builtins/Fg.pm
${P5SITE}/Psh/Builtins/Firsttime.pm
${P5SITE}/Psh/Builtins/Forfile.pm
${P5SITE}/Psh/Builtins/Function.pm
${P5SITE}/Psh/Builtins/Hash.pm
${P5SITE}/Psh/Builtins/Help.pm
${P5SITE}/Psh/Builtins/History.pm
${P5SITE}/Psh/Builtins/If.pm
${P5SITE}/Psh/Builtins/Jobs.pm
${P5SITE}/Psh/Builtins/Kill.pm
${P5SITE}/Psh/Builtins/Modules.pm
${P5SITE}/Psh/Builtins/Option.pm
${P5SITE}/Psh/Builtins/Package.pm
${P5SITE}/Psh/Builtins/Printenv.pm
${P5SITE}/Psh/Builtins/Readline.pm
${P5SITE}/Psh/Builtins/Rehash.pm
${P5SITE}/Psh/Builtins/Rename.pm
${P5SITE}/Psh/Builtins/Set.pm
${P5SITE}/Psh/Builtins/Setenv.pm
${P5SITE}/Psh/Builtins/Source.pm
${P5SITE}/Psh/Builtins/Strategy.pm
${P5SITE}/Psh/Builtins/Sudo.pm
${P5SITE}/Psh/Builtins/Symbols.pm
${P5SITE}/Psh/Builtins/Theme.pm
${P5SITE}/Psh/Builtins/Tieopt.pm
${P5SITE}/Psh/Builtins/Ulimit.pm
${P5SITE}/Psh/Builtins/Unalias.pm
${P5SITE}/Psh/Builtins/Which.pm
${P5SITE}/Psh/Completion.pm
${P5SITE}/Psh/Joblist.pm
${P5SITE}/Psh/Locale/
${P5SITE}/Psh/Locale.pm
${P5SITE}/Psh/Locale/Default.pm
${P5SITE}/Psh/Locale/French.pm
${P5SITE}/Psh/Locale/German.pm
${P5SITE}/Psh/Locale/Italian.pm
${P5SITE}/Psh/Locale/Portuguese.pm
${P5SITE}/Psh/Locale/Spanish.pm
${P5SITE}/Psh/OS/
${P5SITE}/Psh/OS.pm
${P5SITE}/Psh/OS/Unix.pm
${P5SITE}/Psh/OS/Win.pm
${P5SITE}/Psh/Options.pm
${P5SITE}/Psh/PCompletion.pm
${P5SITE}/Psh/Parser.pm
${P5SITE}/Psh/PerlEval.pm
${P5SITE}/Psh/Prompt.pm
${P5SITE}/Psh/Strategy/
${P5SITE}/Psh/Strategy.pm
${P5SITE}/Psh/Strategy/Auto_cd.pm
${P5SITE}/Psh/Strategy/Auto_resume.pm
${P5SITE}/Psh/Strategy/Bang.pm
${P5SITE}/Psh/Strategy/Brace.pm
${P5SITE}/Psh/Strategy/Built_in.pm
${P5SITE}/Psh/Strategy/Darwin_apps.pm
${P5SITE}/Psh/Strategy/Debug.pm
${P5SITE}/Psh/Strategy/Eval.pm
${P5SITE}/Psh/Strategy/Executable.pm
${P5SITE}/Psh/Strategy/Fallback_builtin.pm
${P5SITE}/Psh/Strategy/Perl.pm
${P5SITE}/Psh/Strategy/Perlfunc.pm
${P5SITE}/Psh/Strategy/Perlfunc_heavy.pm
${P5SITE}/Psh/Strategy/Perlscript.pm
${P5SITE}/Psh/StrategyBunch.pm
${P5SITE}/Psh/Support/
${P5SITE}/Psh/Support/Alias.pm
${P5SITE}/Psh/Support/Builtins.pm
${P5SITE}/Psh/Support/Debug.pm
${P5SITE}/Psh/Support/Dirs.pm
${P5SITE}/Psh/Support/Env.pm
${P5SITE}/Psh/Support/Functions.pm
${P5SITE}/Psh/Support/TiedOption.pm
${P5SITE}/Psh/Util.pm
@man man/man1/psh.1
@man man/man1/pshcomplete.1
@man man/man1/pshconfig.1
@man man/man1/pshdevel.1
@man man/man3p/Psh::Completion.3p
@man man/man3p/Psh::Joblist.3p
@man man/man3p/Psh::Locale.3p
@man man/man3p/Psh::Locale::Default.3p
@man man/man3p/Psh::OS.3p
@man man/man3p/Psh::OS::Win.3p
@man man/man3p/Psh::Parser.3p
@man man/man3p/Psh::PerlEval.3p
@man man/man3p/Psh::Strategy.3p
@man man/man3p/Psh::StrategyBunch.3p
share/psh/
share/psh/complete/
@comment share/psh/complete/debian
share/psh/complete/perl
share/psh/complete/standard
share/psh/themes/
share/psh/themes/aix
share/psh/themes/blank
share/psh/themes/blight
share/psh/themes/bold
share/psh/themes/clock
share/psh/themes/combo
share/psh/themes/cyngus
share/psh/themes/elite2
share/psh/themes/fade
share/psh/themes/gilbert
share/psh/themes/hermann
share/psh/themes/kax
share/psh/themes/largo
share/psh/themes/lxtips2
share/psh/themes/nate
share/psh/themes/nextstep
share/psh/themes/openbsd
share/psh/themes/plan-9
share/psh/themes/rasterman
share/psh/themes/simple
share/psh/themes/stereophonic
share/psh/themes/sunos
share/psh/themes/vms