Summary: | new port: shells/perlsh | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Will Andrews <andrews> | ||||
Component: | Individual Port(s) | Assignee: | Wes Peters <wes> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | ||||||
Priority: | Normal | ||||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
Will Andrews
1999-12-11 06:00:01 UTC
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! |