# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 PortSystem 1.0 PortGroup github 1.0 # Please keep the ksh93 and ksh93-devel ports as similar as possible. github.setup ksh93 ksh 1.0.8 v revision 0 checksums rmd160 8d0b56c14bec573d8d1a50b502cef4d58b16e381 \ sha256 b46565045d0eb376d3e6448be6dbc214af454efc405d527f92cb81c244106c8e \ size 2114262 name ksh93-devel version 93u+m-${github.version} conflicts ksh ksh-devel ksh93 pdksh categories shells platforms darwin freebsd maintainers {ryandesign @ryandesign} openmaintainer license EPL-1 description continued development of the AT&T KornShell long_description This is ksh 93u+m, a continuation of the \ development of the KornShell, based on ksh 93u+ by \ David Korn and AT&T Research. dist_subdir ksh93 github.tarball_from archive use_configure no build.cmd bin/package build.target make # Build output is misleading: You will see "CC=cc" and builds being done # by "cc", but that "cc" is a wrapper script created by the build system # which in turn calls the compiler we specify here. build.env "CC=${configure.cc}" \ "CCFLAGS=${configure.cflags} [get_canonical_archflags cc]" \ "LDFLAGS=${configure.ldflags} [get_canonical_archflags ld]" \ "NPROC=${build.jobs}" build.args SHELL="/bin/sh" destroot { xinstall -m 0755 ${build.dir}/arch/${ksharch}/bin/ksh \ ${destroot}${prefix}/bin xinstall -m 0444 ${build.dir}/src/cmd/ksh93/sh.1 \ ${destroot}${prefix}/share/man/man1/ksh.1 } options ksharch default ksharch {[ksharch]} proc ksharch {} { global build.cmd build.dir build.env return [exec env {*}${build.env} ${build.dir}/${build.cmd} host type] }