a project to simplify installation of open source software
on Mac OS X and Darwin
# $Id: Portfile 22342 2007-02-27 04:05:32Z pipping@macports.org $
PortSystem 1.0
name ksh93
version 2007-01-11
categories shells
maintainers yeled@macports.org
description The AT&T Korn shell
long_description \
The official version of ksh-93, by David Korn and AT&T research
platforms darwin freebsd
homepage http://www.research.att.com/sw/download/
master_sites http://www.research.att.com/~gsf/download/tgz/
distfiles ast-ksh.$version.tgz \
INIT.$version.tgz
checksums ast-ksh.$version.tgz \
md5 a24a0b8d8dc81600d624e3c0f2159e38 \
INIT.$version.tgz \
md5 b204210f60bb2c990f446191b5ebe670
fetch.user I accept www.opensource.org/licenses/cpl
fetch.password .
pre-extract {
xinstall -d ${worksrcpath}
}
extract.dir ${worksrcpath}
use_configure no
build.cmd bin/package
build.target make
build.args SHELL=sh
destroot {
set arch [exec ${worksrcpath}/bin/package]
xinstall -m 555 ${worksrcpath}/arch/${arch}/bin/ksh \
${destroot}${prefix}/bin
xinstall -m 444 ${worksrcpath}/arch/${arch}/man/man1/sh.1 \
${destroot}${prefix}/share/man/man1/ksh.1
}