Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Feb 2000 22:55:00 -0500 (EST)
From:      Will Andrews <andrews@technologist.com>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/17031: update port: shells/perlsh: 0.004pre2 -> 0.007
Message-ID:  <20000228035500.6620518CA@shadow.blackdawn.com>

next in thread | raw e-mail | index | archive | help

>Number:         17031
>Category:       ports
>Synopsis:       update port: shells/perlsh: 0.004pre2 -> 0.007
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb 27 20:00:00 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Will Andrews
>Release:        FreeBSD 3.4-STABLE i386
>Organization:
none
>Environment:

FreeBSD shadow.blackdawn.com 3.4-STABLE FreeBSD 3.4-STABLE #0: Sun Jan 23 13:41:02 EST 2000     root@shadow.blackdawn.com:/usr/src/sys/compile/SHADOW  i386

>Description:

Upgrade shells/perlsh to new version (perlsh 0.007). Also
fix the fennerism in pkg/DESCR. :-)
Changes in port:
	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.

>How-To-Repeat:

Use the patch below to fix the current port.

>Fix:

Index: Makefile
===================================================================
RCS file: /extra/cvsroot/ports/shells/perlsh/Makefile,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 Makefile
--- Makefile	2000/01/03 19:33:18	1.1.1.1
+++ Makefile	2000/02/28 03:52:36
@@ -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: ports/shells/perlsh/Makefile,v 1.1.1.1 2000/01/03 19:33:18 wes Exp $
 #
 
-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" 
Index: files/md5
===================================================================
RCS file: /extra/cvsroot/ports/shells/perlsh/files/md5,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 md5
--- files/md5	2000/01/03 19:33:18	1.1.1.1
+++ files/md5	2000/02/28 03:31:29
@@ -1 +1 @@
-MD5 (psh-0.004pre2.tar.gz) = 9b8f0ef1bd3708cb8fa4101ab4d6c1b4
+MD5 (psh-0.007.tar.gz) = caae93083d1cf5724b9e7d5864ba1d2c
Index: pkg/DESCR
===================================================================
RCS file: /extra/cvsroot/ports/shells/perlsh/pkg/DESCR,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 DESCR
--- pkg/DESCR	2000/01/03 19:33:18	1.1.1.1
+++ pkg/DESCR	2000/02/28 03:25:06
@@ -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/
Index: pkg/PLIST
===================================================================
RCS file: /extra/cvsroot/ports/shells/perlsh/pkg/PLIST,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 PLIST
--- pkg/PLIST	2000/01/03 19:33:18	1.1.1.1
+++ pkg/PLIST	2000/02/28 03:43:30
@@ -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
--- /dev/null	Sun Feb 27 22:53:00 2000
+++ patches/patch-aa	Sun Feb 27 22:35:16 2000
@@ -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',
--- /dev/null	Sun Feb 27 22:53:00 2000
+++ files/man3	Sun Feb 27 22:38:37 2000
@@ -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

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000228035500.6620518CA>