27f88751ff
binary distribution. PR: 17451 Submitted by: maintainer
51 lines
1.4 KiB
Makefile
51 lines
1.4 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.
|
|
#MASTER_SITES= http://www.research.att.com/sw/tools/reuse/
|
|
DISTNAME= ast-base-98.bsd.i386
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= naddy@mips.rhein-neckar.de
|
|
|
|
ONLY_FOR_ARCHS= i386
|
|
RESTRICTED= "Requires user to register with AT&T."
|
|
BROKEN= "Binary distribution no longer available"
|
|
|
|
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>
|