Cool, a shell based entirely on a Perl script. It seems rather powerful too, and it combines features from bash and other shells.. How-To-Repeat: use the shar below to commit the new port to the tree.
On 11-Dec-99 Will Andrews wrote: Er, I forgot that with a shell, you have to update /etc/shells.. :P > sed 's/^X//' >perlsh/Makefile << 'END-of-perlsh/Makefile' > X# New ports collection makefile for: perlsh > X# Version required: 0.004pre2 > X# Date created: 11 Dec 1999 > X# Whom: Will Andrews <andrews@technologist.com> > X# > X# $FreeBSD$ > X# > X > XDISTNAME= psh-0.004pre2 > XCATEGORIES= shells > XMASTER_SITES= http://www.focusresearch.com/gregor/psh/ > X > XMAINTAINER= andrews@technologist.com > X > Xdo-build: > X @(cd ${WRKSRC} && ${PERL} Makefile.PL && ${MAKE}) > X > Xpost-build: > X @${PERL} -pi -e "s/\/usr\/local\/bin\/perl/\/usr\/bin\/perl/g" > ${WRKSRC}/psh > X > Xdo-install: > X.if !defined(NOPORTDOCS) > X @${MKDIR} ${PREFIX}/share/perlsh > X.for DOC in CHANGES MANIFEST README TODO psh.NEWS pshrc test.pl psh.pod > X @${INSTALL_DATA} ${WRKSRC}/${DOC} ${PREFIX}/share/perlsh > X.endfor > X.endif > X @${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 > X.include <bsd.port.mk> > END-of-perlsh/Makefile > exit Careful about copying & pasting that into the Makefile if you commit, because my mail client converts tabs to spaces. (Yes, I know, lame, isn't it? :\). Thanks. -- Will Andrews <andrews@technologist.com> GCS/E/S @d- s+:+>+:- a--->+++ C++ UB++++ P+ L- E--- W+++ !N !o ?K w--- ?O M+ V-- PS+ PE++ Y+ PGP+>+++ t++ 5 X++ R+ tv+ b++>++++ DI+++ D+ G++>+++ e->++++ h! r-->+++ y?
Responsible Changed From-To: freebsd-ports->wes I'll do this one.
State Changed From-To: open->closed Wes just imported this port. Thanks!