f959b10f27
10K/s. So, I decided to re-order the list of MASTER_SITES to use a faster site as the first one used (ftp://ftp.fu-berlin.de/pub/unix/shells/zsh/). Thanks jcs@.
61 lines
1.5 KiB
Makefile
61 lines
1.5 KiB
Makefile
# $OpenBSD: Makefile,v 1.13 2002/01/27 18:58:36 lebel Exp $
|
|
|
|
COMMENT= "Z shell, Bourne shell-compatible, release flavor"
|
|
COMMENT-zftp= "Z shell embedded ftp client"
|
|
|
|
VERSION= 4.0.4
|
|
DISTNAME= zsh-${VERSION}
|
|
CATEGORIES= shells
|
|
NEED_VERSION= 1.474
|
|
MASTER_SITES= ftp://ftp.fu-berlin.de/pub/unix/shells/zsh/ \
|
|
ftp://ftp.zsh.org/zsh/ \
|
|
http://www.zsh.org/pub/ \
|
|
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.ips.oz.au/pub/packages/zsh/ \
|
|
ftp://ftp.uit.no/pub/unix/shells/zsh/
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
HOMEPAGE= http://www.zsh.org/
|
|
|
|
MAINTAINER= David Lebel <lebel@openbsd.org>
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
FLAVORS= static
|
|
.if ${MACHINE_ARCH} == "alpha"
|
|
FLAVOR?= static
|
|
.else
|
|
FLAVOR?=
|
|
.endif
|
|
|
|
CONFIGURE_STYLE= autoconf
|
|
CONFIGURE_ARGS= --enable-zsh-mem --enable-zsh-secure-free
|
|
|
|
.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
|
|
|
|
SUBST_VARS= VERSION
|
|
|
|
REGRESS_FLAGS= INSTALL_PROGRAM="install -c -s -m 555" \
|
|
INSTALL_DATA="install -c -m 444" \
|
|
INSTALL="install -c" \
|
|
TMPPREFIX=${WRKBUILD}/tmp
|
|
|
|
.include <bsd.port.mk>
|