openbsd-ports/shells/zsh/snapshot/Makefile

64 lines
1.7 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.6 2003/05/23 14:21:05 lebel Exp $
2002-07-01 11:34:04 -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.1.1-test-2
2002-07-01 11:34:04 -04:00
PKGNAME= zsh-${VERSION:C/-//g}
DISTNAME= zsh-${VERSION}
1999-03-14 02:55:31 -05:00
CATEGORIES= shells
2002-07-01 11:34:04 -04:00
MASTER_SITES= ftp://ftp.zsh.org/zsh/development/ \
http://www.zsh.org/pub/development/ \
ftp://ftp.sterling.com/zsh/development/ \
ftp://ftp.rge.com/pub/zsh/development/ \
ftp://ftp.cenatls.cena.dgac.fr/pub/shells/zsh/development/ \
ftp://mrrl.lut.ac.uk/zsh/development/ \
ftp://ftp.ips.oz.au/pub/packages/zsh/development/ \
ftp://ftp.uit.no/pub/unix/shells/zsh/development/
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
2002-07-01 11:34:04 -04: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
2002-07-01 11:34:04 -04:00
FLAVORS= static
.if ${MACHINE_ARCH:Malpha} || ${MACHINE_ARCH:Mvax}
# for the time being, force static on alpha
FLAVOR?= static
.else
2002-07-01 11:34:04 -04:00
FLAVOR?=
.endif
1999-03-14 02:55:31 -05:00
2002-07-01 11:34:04 -04:00
CONFIGURE_STYLE= autoconf
CONFIGURE_ARGS= --enable-zsh-mem --enable-zsh-secure-free --enable-maildir-support
2002-07-01 11:34:04 -04: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:C/-//g}
. endfor
. if defined(PACKAGING) && !empty(SUBPACKAGE)
RUN_DEPENDS= ::shells/zsh/snapshot
. endif
CONFIGURE_ARGS+= ${CONFIGURE_SHARED:S/shared/dynamic/}
.endif
SUBST_VARS= VERSION
REGRESS_FLAGS= INSTALL_PROGRAM="install -c -s -m 555" \
INSTALL_DATA="install -c -m 444" \
INSTALL="install -c" \
TMPPREFIX=${WRKBUILD}/tmp
1999-03-14 02:55:31 -05:00
.include <bsd.port.mk>