Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Dec 1999 22:10:02 -0800 (PST)
From:      Will Andrews <andrews@TECHNOLOGIST.COM>
To:        freebsd-ports@FreeBSD.org
Subject:   RE: ports/15412: new port: shells/perlsh
Message-ID:  <199912110610.WAA80274@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/15412; it has been noted by GNATS.

From: Will Andrews <andrews@TECHNOLOGIST.COM>
To: Will Andrews <andrews@TECHNOLOGIST.COM>
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: RE: ports/15412: new port: shells/perlsh
Date: Sat, 11 Dec 1999 01:05:13 -0500 (EST)

 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?
 


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?199912110610.WAA80274>