freebsd-ports/shells/pdksh/Makefile
Akinori MUSHA 77f6c01ede Use ${ECHO_CMD} instead of ${ECHO} where you mean the echo command;
the ECHO macro is set to "echo" by default, but it is set to "true" if
make(1) is invoked with the -s option while ECHO_CMD is always set to
the echo command.
2002-01-29 11:58:52 +00:00

31 lines
730 B
Makefile

# New ports collection makefile for: pdksh
# Date created: 23 May 1995
# Whom: Thomas Gellekum <tg@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= pdksh
PORTVERSION= 5.2.14
CATEGORIES= shells
MASTER_SITES= ftp://ftp.cs.mun.ca/pub/pdksh/ \
http://gd.tuwien.ac.at/utils/shells/pdksh/ \
ftp://ftp.lip6.fr/pub/unix/shells/pdksh/ \
ftp://ftp.demon.net/pub/mirrors/pdksh/ \
ftp://ftp.rge.com/pub/shells/pdksh/
MAINTAINER= tg@FreeBSD.org
GNU_CONFIGURE= yes
CONFIGURE_ENV= LDSTATIC=-static
MAN1= ksh.1
post-install:
@${ECHO} "Updating /etc/shells"
@${CP} /etc/shells /etc/shells.bak
@(${GREP} -v ${PREFIX}/bin/ksh /etc/shells.bak; \
${ECHO_CMD} ${PREFIX}/bin/ksh) > /etc/shells
@${RM} /etc/shells.bak
.include <bsd.port.mk>