aboutsummaryrefslogtreecommitdiff
path: root/shells/ksh93/Makefile
diff options
context:
space:
mode:
authorTrevor Johnson <trevor@FreeBSD.org>2001-08-04 03:51:41 +0000
committerTrevor Johnson <trevor@FreeBSD.org>2001-08-04 03:51:41 +0000
commit495f49c6c07203d5000aa953071fcff4623b41dd (patch)
tree1e8a00440aa1d1973dcdfb26e57104ec23522dff /shells/ksh93/Makefile
parent6d161310a97338093d6d32f295251736e2625b9d (diff)
downloadports-495f49c6c07203d5000aa953071fcff4623b41dd.tar.gz
ports-495f49c6c07203d5000aa953071fcff4623b41dd.zip
Notes
Diffstat (limited to 'shells/ksh93/Makefile')
-rw-r--r--shells/ksh93/Makefile20
1 files changed, 13 insertions, 7 deletions
diff --git a/shells/ksh93/Makefile b/shells/ksh93/Makefile
index 3a923caef4a4..504ffd9449df 100644
--- a/shells/ksh93/Makefile
+++ b/shells/ksh93/Makefile
@@ -5,18 +5,17 @@
# $FreeBSD$
PORTNAME= ksh93
-PORTVERSION= ${VERSION:S/-//g}
-VERSION= 2001-01-01.0000
+PORTVERSION= ${VERSION:S/-//g}
+VERSION= 2001-07-04.0000
CATEGORIES= shells
MASTER_SITES= http://www.research.att.com/~gsf/download/tgz/
-MAINTAINER= Christian Weisgerber <naddy@mips.inka.de>
-
-RESTRICTED= "Impenetrable license"
-IS_INTERACTIVE= yes # must acknowledge license
+MAINTAINER= naddy@mips.inka.de
+RESTRICTED= "Source recipient must acknowledge license"
DISTNAME= ${PORTNAME}-${VERSION}
DISTFILES= INIT.${VERSION}.tgz ast-ksh.${VERSION}.tgz
+DIST_SUBDIR= ${PORTNAME}
NO_WRKSUBDIR= yes
MAKE_ARGS= CC='${CC}' CCFLAGS='${CFLAGS}' SHELL='${SH}'
@@ -26,8 +25,15 @@ MAKE_ARGS+= LDFLAGS=-static
MAN1= ksh93.1
+.if defined(ACCEPT_AST_LICENSE)
+post-patch:
+ @touch ${WRKSRC}/lib/package/gen/ast.license.accepted
+.else
+IS_INTERACTIVE= yes # must acknowledge license
+.endif
+
do-build:
- @cd ${WRKSRC}; bin/package make ${MAKE_ARGS}
+ @cd ${WRKSRC}; ./bin/package make ${MAKE_ARGS}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/arch/freebsd.${ARCH}/bin/ksh \