2000-01-03 19:33:18 +00:00
|
|
|
# New ports collection makefile for: perlsh
|
|
|
|
# Date created: 11 Dec 1999
|
|
|
|
# Whom: Will Andrews <andrews@technologist.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-04-09 18:34:06 +00:00
|
|
|
PORTNAME= perlsh
|
2001-02-26 04:04:33 +00:00
|
|
|
PORTVERSION= 0.009
|
2001-04-15 01:05:42 +00:00
|
|
|
PORTREVISION= 1
|
2000-02-29 02:27:02 +00:00
|
|
|
CATEGORIES= shells perl5
|
2003-02-12 12:29:46 +00:00
|
|
|
MASTER_SITES= http://www.gregorpurdy.com/gregor/psh/
|
2000-04-09 18:34:06 +00:00
|
|
|
DISTNAME= psh-${PORTVERSION}
|
2000-01-03 19:33:18 +00:00
|
|
|
|
2000-06-22 05:52:15 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 19:00:52 +00:00
|
|
|
COMMENT= New shell made entirely out of a Perl script
|
2000-01-03 19:33:18 +00:00
|
|
|
|
2001-02-26 04:04:33 +00:00
|
|
|
PERL_CONFIGURE= yes
|
2002-06-23 20:29:01 +00:00
|
|
|
USE_REINPLACE= yes
|
2000-01-03 19:33:18 +00:00
|
|
|
|
2001-02-26 04:04:33 +00:00
|
|
|
MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
|
|
|
|
MAN3= Psh::Builtins.3 \
|
|
|
|
Psh::Completion.3 \
|
|
|
|
Psh::Job.3 \
|
|
|
|
Psh::Joblist.3 \
|
|
|
|
Psh::Locale::Base.3 \
|
|
|
|
Psh::Locale::Default.3 \
|
|
|
|
Psh::Locale::French.3 \
|
|
|
|
Psh::Locale::German.3 \
|
|
|
|
Psh::Locale::Italian.3 \
|
|
|
|
Psh::Locale::Portuguese.3 \
|
|
|
|
Psh::Locale::Spanish.3 \
|
|
|
|
Psh::OS.3 \
|
|
|
|
Psh::OS::Mac.3 \
|
|
|
|
Psh::OS::Unix.3 \
|
|
|
|
Psh::OS::Win.3 \
|
|
|
|
Psh::PCompletion.3 \
|
|
|
|
Psh::Parser.3 \
|
|
|
|
Psh::PerlEval.3 \
|
|
|
|
Psh::Util.3
|
2000-01-03 19:33:18 +00:00
|
|
|
|
2001-02-26 04:04:33 +00:00
|
|
|
pre-install:
|
2002-06-23 20:29:01 +00:00
|
|
|
${REINPLACE_CMD} -e "s:/usr/local:${PREFIX}:g" ${WRKSRC}/Makefile;
|
|
|
|
${REINPLACE_CMD} -e "s:/usr/local/man/man1:${MAN3PREFIX}/man/man1:g" ${WRKSRC}/Makefile;
|
|
|
|
${REINPLACE_CMD} -e "s:/usr/local/lib/perl5/5.00503/man/man3:${MAN3PREFIX}/man/man3:g" ${WRKSRC}/Makefile;
|
2000-01-03 19:33:18 +00:00
|
|
|
|
2001-12-24 10:37:45 +00:00
|
|
|
post-install:
|
2003-09-27 01:01:08 +00:00
|
|
|
@${ECHO_MSG} "Updating /etc/shells"
|
2000-01-03 19:33:18 +00:00
|
|
|
@${CP} /etc/shells /etc/shells.bak
|
|
|
|
@(${GREP} -v ${PREFIX}/bin/psh /etc/shells.bak; \
|
2002-01-29 11:58:52 +00:00
|
|
|
${ECHO_CMD} ${PREFIX}/bin/psh) > /etc/shells
|
2000-01-03 19:33:18 +00:00
|
|
|
@${RM} /etc/shells.bak
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|