blob: a8fe19ade1e0fc8bc1df901d3bfddd19de2b29a1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# 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."
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>
|