summaryrefslogtreecommitdiff
path: root/shells/ast-ksh/Makefile
diff options
context:
space:
mode:
authoruebayasi <uebayasi@pkgsrc.org>2003-01-08 07:04:13 +0000
committeruebayasi <uebayasi@pkgsrc.org>2003-01-08 07:04:13 +0000
commit2bcdefbecb2df9d0d7377ce3c9f79c004fdecfad (patch)
treea6361a5cbec13e818eff0d38a6b685e07e7031c3 /shells/ast-ksh/Makefile
parent1521ca889c81f331bf0c54df5f9c77c54ddc1ed2 (diff)
downloadpkgsrc-2bcdefbecb2df9d0d7377ce3c9f79c004fdecfad.tar.gz
Update ast-ksh to 20021221.
Changes from 20020922 (other than bug fixes) are: * The code to display compound objects was rewritten to make it easier for runtime extensions to reuse this code. * A change was made to allow runtime builtins to be notified when a signal is received so that cleanup can be performed. * User applications can now trap the ALRM signal. Previously, the ALRM signal was used internally and could not be used by applications.
Diffstat (limited to 'shells/ast-ksh/Makefile')
-rw-r--r--shells/ast-ksh/Makefile26
1 files changed, 17 insertions, 9 deletions
diff --git a/shells/ast-ksh/Makefile b/shells/ast-ksh/Makefile
index da8249526c3..c045487fc17 100644
--- a/shells/ast-ksh/Makefile
+++ b/shells/ast-ksh/Makefile
@@ -1,5 +1,5 @@
# $OpenBSD: Makefile,v 1.5 2001/11/21 01:17:43 naddy Exp $
-# $NetBSD: Makefile,v 1.4 2002/11/29 04:16:45 uebayasi Exp $
+# $NetBSD: Makefile,v 1.5 2003/01/08 07:04:13 uebayasi Exp $
DISTNAME= ast-ksh-${ASTKSH_VERSION}
PKGNAME= ast-ksh-${ASTKSH_VERSION:S/-//g}
@@ -20,7 +20,7 @@ NO_SRC_ON_FTP= ${RESTRICTED}
# needs pdksh
ONLY_FOR_PLATFORM= NetBSD-*
-ASTKSH_VERSION= 2002-09-22
+ASTKSH_VERSION= 2002-12-21
USE_BUILDLINK2= YES
WRKSRC= ${WRKDIR}
@@ -37,15 +37,23 @@ PKG_SHELL= ${PREFIX}/bin/ksh93
# XXX Note that this 'make' is not an executable command, but a target name
# ./bin/package uses.
do-build:
- cd ${WRKSRC}; \
- ${SETENV} SHELL=${PDKSH} ${PDKSH} ./bin/package make
+ @cd ${WRKSRC}; \
+ ${SETENV} SHELL=${PDKSH} ${PDKSH} ./bin/package make
do-install:
- arch=`${WRKSRC}/bin/package host`; \
- ${INSTALL_PROGRAM} ${WRKSRC}/arch/$${arch}/bin/ksh \
- ${PREFIX}/bin/ksh93; \
- ${INSTALL_MAN} ${WRKSRC}/arch/$${arch}/man/man1/sh.1 \
- ${PREFIX}/man/man1/ksh93.1
+ @arch=`${WRKSRC}/bin/package host`; \
+ ${INSTALL_PROGRAM} ${WRKSRC}/arch/$${arch}/bin/ksh \
+ ${PREFIX}/bin/ksh93; \
+ ${INSTALL_MAN} ${WRKSRC}/arch/$${arch}/man/man1/sh.1 \
+ ${PREFIX}/man/man1/ksh93.1
+
+# Part of regression test
+do-test:
+ @cd ${WRKSRC}/src/cmd/ksh93/tests && \
+ ${ENV} SHELL=${PREFIX}/bin/ksh93 ${PREFIX}/bin/ksh93 shtests
+# XXX Their 'test' target needs nmake (Korn's another tool)
+# @cd ${WRKSRC}; \
+# ${SETENV} SHELL=${PDKSH} ${PDKSH} ./bin/package test
.include "../../mk/bsd.pkg.install.mk"
.include "../../mk/bsd.pkg.mk"