openbsd-ports/shells/zsh/stable/Makefile

57 lines
1.4 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.11 2001/12/04 14:43:47 lebel Exp $
2001-09-09 14:14:51 -04:00
COMMENT= "Z shell, Bourne shell-compatible, release flavor"
COMMENT-zftp= "Z shell embedded ftp client"
1999-03-14 02:55:31 -05:00
VERSION= 4.0.4
2001-02-10 23:20:09 -05:00
DISTNAME= zsh-${VERSION}
1999-03-14 02:55:31 -05:00
CATEGORIES= shells
2001-10-24 11:25:46 -04:00
NEED_VERSION= 1.474
1999-03-14 02:55:31 -05:00
MASTER_SITES= ftp://ftp.zsh.org/zsh/ \
http://www.zsh.org/pub/ \
1999-03-14 02:55:31 -05:00
ftp://ftp.sterling.com/zsh/ \
ftp://ftp.rge.com/pub/zsh/ \
ftp://ftp.cenatls.cena.dgac.fr/pub/shells/zsh/ \
ftp://mrrl.lut.ac.uk/zsh/ \
ftp://ftp.fu-berlin.de/pub/unix/shells/zsh/ \
ftp://ftp.ips.oz.au/pub/packages/zsh/ \
ftp://ftp.uit.no/pub/unix/shells/zsh/
EXTRACT_SUFX= .tar.bz2
1999-03-14 02:55:31 -05:00
HOMEPAGE= http://www.zsh.org/
MAINTAINER= David Lebel <lebel@openbsd.org>
1999-03-14 02:55:31 -05:00
2000-03-25 21:00:17 -05:00
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2000-02-12 01:29:49 -05:00
FLAVORS= static
2000-07-04 23:51:24 -04:00
FLAVOR?=
CONFIGURE_STYLE= autoconf
CONFIGURE_ARGS= --enable-zsh-mem --enable-zsh-secure-free
2000-03-31 11:31:07 -05:00
.if ${FLAVOR:L} == "static"
CONFIGURE_ENV= LDFLAGS="-static"
CONFIGURE_ARGS+=--disable-dynamic
.else
# we only enable sub-packages if the FLAVOR is not static
MULTI_PACKAGES= -zftp
SUBPACKAGE?=
.for i in ${MULTI_PACKAGES}
PKGNAME$i= zsh$i-${VERSION}
.endfor
CONFIGURE_ARGS+= ${CONFIGURE_SHARED:S/shared/dynamic/}
.endif
1999-03-14 02:55:31 -05:00
SUBST_VARS= VERSION
2001-10-24 11:25:46 -04:00
REGRESS_FLAGS= INSTALL_PROGRAM="install -c -s -m 555" \
INSTALL_DATA="install -c -m 444" \
INSTALL="install -c" \
TMPPREFIX=${WRKBUILD}/tmp
2001-10-24 11:25:46 -04:00
1999-03-14 02:55:31 -05:00
.include <bsd.port.mk>