e2548f2fb4
The distfile is still available from www.research.att.com/sw/tools/reuse under the original conditions. PR: 18989 Submitted by: Jonathan Fosburgh <jonathan@fosburgh.org>
52 lines
1.5 KiB
Makefile
52 lines
1.5 KiB
Makefile
# New ports collection makefile for: ksh93
|
|
# Date created: 1999-10-24
|
|
# Whom: Christian Weisgerber <naddy@mips.rhein-neckar.de>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
# ast-base-99 is linked dynamically for BSD/OS and will not work
|
|
|
|
PORTNAME= ksh
|
|
PORTVERSION= 19931228
|
|
CATEGORIES= shells
|
|
# Users must register with AT&T before downloading tarball.
|
|
# You can use the following URL to register/download:
|
|
# http://www.research.att.com/cgi-bin/access.cgi/as/vt/ext-software/www-ne-license.cgi?form.reuse.binary
|
|
#MASTER_SITES= http://www.research.att.com/sw/tools/reuse/
|
|
DISTNAME= ast-base-98.bsd.i386
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= naddy@mips.inka.de
|
|
|
|
ONLY_FOR_ARCHS= i386
|
|
RESTRICTED= "Requires user to register with AT&T."
|
|
|
|
NO_BUILD= yes
|
|
NO_WRKSUBDIR= yes
|
|
MAN1= ksh93.1
|
|
STRIP=
|
|
|
|
do-fetch:
|
|
@if [ ! -f ${DISTDIR}/${DISTFILES} ]; then \
|
|
${ECHO} ""; \
|
|
${ECHO} "Please read http://www.research.att.com/sw/tools/reuse/"; \
|
|
${ECHO} "for details of how to obtain the ksh93 binary. Put the"; \
|
|
${ECHO} "file ${DISTFILES} in the directory"; \
|
|
${ECHO} "${DISTDIR} and run make again."; \
|
|
${ECHO} ""; \
|
|
exit 1; \
|
|
fi
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/bin/ksh ${PREFIX}/bin/ksh93
|
|
${INSTALL_MAN} ${WRKSRC}/man/man1/sh.1 ${PREFIX}/man/man1/ksh93.1
|
|
|
|
post-install:
|
|
@${ECHO_MSG} "Updating /etc/shells"
|
|
@${CP} /etc/shells /etc/shells.bak
|
|
@(${GREP} -v ${PREFIX}/bin/ksh93 /etc/shells.bak; \
|
|
${ECHO} ${PREFIX}/bin/ksh93) > /etc/shells
|
|
@${RM} /etc/shells.bak
|
|
|
|
.include <bsd.port.mk>
|