1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/shells/psh/Makefile
Chris D. Faulhaber d158e99d33 Upgrade shells/perlsh to new version (perlsh 0.007).
1) Update pkg/PLIST.
2) Change to depend on perlsh's install mechanism.
3) New patch (patch-aa) fixes PREFIX problem.
4) Account for broken TCP/IP on MASTER_SITES.
5) General Makefile cleanups.
6) Addition of perlsh to perl5 virtual category.
7) Use PKGNAME to match port's name.
8) Remove unnecessary perl substitution.

PR:		17031
Submitted by:	Maintainer
2000-02-29 02:27:02 +00:00

36 lines
807 B
Makefile

# New ports collection makefile for: perlsh
# Version required: 0.007
# Date created: 11 Dec 1999
# Whom: Will Andrews <andrews@technologist.com>
#
# $FreeBSD$
#
DISTNAME= psh-${VERSION}
PKGNAME= perlsh-${VERSION}
CATEGORIES= shells perl5
MASTER_SITES= http://www.focusresearch.com/gregor/psh/
MAINTAINER= andrews@technologist.com
VERSION= 0.007
USE_PERL5= yes
FETCH_BEFORE_ARGS+= -t
MAKE_ENV+= PPREFIX="${PREFIX}"
MAN1= psh.1
MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
.include "${.CURDIR}/files/man3"
do-build:
@(cd ${WRKSRC} && ${PERL} Makefile.PL && ${MAKE})
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
.include <bsd.port.mk>