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
|
|
|
|
PORTVERSION= 0.007
|
2000-02-29 02:27:02 +00:00
|
|
|
CATEGORIES= shells perl5
|
2000-01-03 19:33:18 +00:00
|
|
|
MASTER_SITES= http://www.focusresearch.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
|
2000-01-03 19:33:18 +00:00
|
|
|
|
2000-02-29 02:27:02 +00:00
|
|
|
USE_PERL5= yes
|
|
|
|
FETCH_BEFORE_ARGS+= -t
|
|
|
|
MAKE_ENV+= PPREFIX="${PREFIX}"
|
|
|
|
MAN1= psh.1
|
|
|
|
MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
|
2000-01-03 19:33:18 +00:00
|
|
|
|
2000-02-29 02:27:02 +00:00
|
|
|
.include "${.CURDIR}/files/man3"
|
2000-01-03 19:33:18 +00:00
|
|
|
|
2000-02-29 02:27:02 +00:00
|
|
|
do-build:
|
|
|
|
@(cd ${WRKSRC} && ${PERL} Makefile.PL && ${MAKE})
|
2000-01-03 19:33:18 +00:00
|
|
|
|
2000-04-09 18:34:06 +00:00
|
|
|
post-install:
|
|
|
|
@${ECHO} "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; \
|
|
|
|
${ECHO} ${PREFIX}/bin/psh) > /etc/shells
|
|
|
|
@${RM} /etc/shells.bak
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|