From owner-freebsd-ports Fri Dec 10 22:10: 5 1999 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 0BC8214F7D for ; Fri, 10 Dec 1999 22:10:03 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id WAA80274; Fri, 10 Dec 1999 22:10:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Date: Fri, 10 Dec 1999 22:10:02 -0800 (PST) Message-Id: <199912110610.WAA80274@freefall.freebsd.org> To: freebsd-ports@FreeBSD.org Cc: From: Will Andrews Subject: RE: ports/15412: new port: shells/perlsh Reply-To: Will Andrews Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR ports/15412; it has been noted by GNATS. From: Will Andrews To: Will Andrews 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 > 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 > 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 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