1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-22 20:41:26 +00:00

Commit perlsh 0.004pre2 port.

PR:		15412
Submitted by:	Will Andrews <andrews@technologist.com>
This commit is contained in:
Wes Peters 2000-01-03 19:33:18 +00:00
parent 9c8ec23437
commit 46d2d8fa30
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=24389
10 changed files with 106 additions and 0 deletions

37
shells/perlsh/Makefile Normal file
View File

@ -0,0 +1,37 @@
# New ports collection makefile for: perlsh
# Version required: 0.004pre2
# Date created: 11 Dec 1999
# Whom: Will Andrews <andrews@technologist.com>
#
# $FreeBSD$
#
DISTNAME= psh-0.004pre2
CATEGORIES= shells
MASTER_SITES= http://www.focusresearch.com/gregor/psh/
MAINTAINER= andrews@technologist.com
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
@(${GREP} -v ${PREFIX}/bin/psh /etc/shells.bak; \
${ECHO} ${PREFIX}/bin/psh) > /etc/shells
@${RM} /etc/shells.bak
.include <bsd.port.mk>

1
shells/perlsh/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (psh-0.004pre2.tar.gz) = 9b8f0ef1bd3708cb8fa4101ab4d6c1b4

View File

@ -0,0 +1 @@
New shell made entirely out of a Perl script.

4
shells/perlsh/pkg-descr Normal file
View File

@ -0,0 +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

10
shells/perlsh/pkg-plist Normal file
View File

@ -0,0 +1,10 @@
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

37
shells/psh/Makefile Normal file
View File

@ -0,0 +1,37 @@
# New ports collection makefile for: perlsh
# Version required: 0.004pre2
# Date created: 11 Dec 1999
# Whom: Will Andrews <andrews@technologist.com>
#
# $FreeBSD$
#
DISTNAME= psh-0.004pre2
CATEGORIES= shells
MASTER_SITES= http://www.focusresearch.com/gregor/psh/
MAINTAINER= andrews@technologist.com
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
@(${GREP} -v ${PREFIX}/bin/psh /etc/shells.bak; \
${ECHO} ${PREFIX}/bin/psh) > /etc/shells
@${RM} /etc/shells.bak
.include <bsd.port.mk>

1
shells/psh/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (psh-0.004pre2.tar.gz) = 9b8f0ef1bd3708cb8fa4101ab4d6c1b4

1
shells/psh/pkg-comment Normal file
View File

@ -0,0 +1 @@
New shell made entirely out of a Perl script.

4
shells/psh/pkg-descr Normal file
View File

@ -0,0 +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

10
shells/psh/pkg-plist Normal file
View File

@ -0,0 +1,10 @@
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