openbsd-ports/shells/ast-ksh/Makefile
naddy 86bbf63745 * Update to 2001-10-31.
* Re-enable static flavor.
* Tighten PERMIT_*.  I'm sick of it.  The license is written in
imprenetrable legalese, obviously drafted by corporate lawyers, and
full of bizarre requirements.  I don't care if this can be construed
to be Open Source, it certainly is not in the spirit of Open Source.
* Remove license check and "Proprietary Notice" since we won't distribute
the package.
2001-11-21 01:17:43 +00:00

41 lines
958 B
Makefile

# $OpenBSD: Makefile,v 1.5 2001/11/21 01:17:43 naddy Exp $
COMMENT= "official AT&T release of KornShell 93"
PKGNAME= ast-ksh-${VERSION:S/-//g}
VERSION= 2001-10-31
CATEGORIES= shells
NEED_VERSION= 1.419
HOMEPAGE= http://www.kornshell.com/
MAINTAINER= Christian Weisgerber <naddy@openbsd.org>
PERMIT_PACKAGE_CDROM= No
PERMIT_PACKAGE_FTP= No
PERMIT_DISTFILES_CDROM= No
PERMIT_DISTFILES_FTP= No
MASTER_SITES= http://www.research.att.com/~gsf/download/tgz/
DISTFILES= INIT.${VERSION}.tgz ast-ksh.${VERSION}.tgz
FLAVORS= static
FLAVOR?=
MAKE_FLAGS= CC='${CC}' CCFLAGS='${CFLAGS}'
.if ${FLAVOR:L} == "static"
MAKE_FLAGS+= LDFLAGS=-static
.endif
WRKDIST= ${WRKDIR}
do-build:
cd ${WRKBUILD} && SHELL=/bin/sh ./bin/package make ${MAKE_FLAGS}
do-install:
${INSTALL_PROGRAM} ${WRKBUILD}/arch/openbsd.${ARCH}/bin/ksh \
${PREFIX}/bin/ksh93
${INSTALL_MAN} ${WRKBUILD}/arch/openbsd.${ARCH}/man/man1/sh.1 \
${PREFIX}/man/man1/ksh93.1
.include <bsd.port.mk>