aboutsummaryrefslogtreecommitdiff
path: root/shells/ksh93/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'shells/ksh93/Makefile')
-rw-r--r--shells/ksh93/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/shells/ksh93/Makefile b/shells/ksh93/Makefile
index fed7a0a8a72f..a2480792698f 100644
--- a/shells/ksh93/Makefile
+++ b/shells/ksh93/Makefile
@@ -6,6 +6,7 @@
PORTNAME= ksh93
PORTVERSION= ${VERSION:S/-//g}
+PORTREVISION= 1
VERSION= 2002-06-28
CATEGORIES= shells
MASTER_SITES= http://www.research.att.com/~gsf/download/tgz/
@@ -26,13 +27,18 @@ MAKE_ENV+= LDFLAGS=-static
MAN1= ksh93.1
do-build:
- @cd ${WRKSRC} && env -i ${MAKE_ENV} ./bin/package make
+ @cd ${WRKSRC} && env -i ${MAKE_ENV} ${SH} bin/package make
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/arch/freebsd.${ARCH}/bin/ksh \
${PREFIX}/bin/ksh93
${INSTALL_MAN} ${WRKSRC}/arch/freebsd.${ARCH}/man/man1/sh.1 \
${MANPREFIX}/man/man1/ksh93.1
+ ${MKDIR} ${PREFIX}/share/examples/ksh93
+.for fun in dirs popd
+ ${INSTALL_SCRIPT} ${WRKSRC}/arch/freebsd.${ARCH}/fun/${fun} \
+ ${PREFIX}/share/examples/ksh93/
+.endfor
post-install:
@${ECHO} "updating /etc/shells"