openbsd-ports/shells/zsh/Makefile
2006-02-07 21:06:17 +00:00

53 lines
1.4 KiB
Makefile

# $OpenBSD: Makefile,v 1.38 2006/02/07 21:06:17 naddy Exp $
COMMENT= "Z shell, Bourne shell-compatible"
COMMENT-zftp= "Z shell embedded ftp client"
VERSION= 4.2.6
DISTNAME= zsh-${VERSION}
PKGNAME= ${DISTNAME}p0
PKGNAME-zftp= zsh-zftp-${VERSION}
CATEGORIES= shells
MASTER_SITES= ftp://ftp.zsh.org/zsh/ \
${HOMEPAGE}pub/ \
http://mirrors.dotsrc.org/zsh/ \
ftp://ftp.fu-berlin.de/pub/unix/shells/zsh/ \
http://www.math.technion.ac.il/pub/zsh/ \
ftp://ftp.demon.nl/pub/mirrors/zsh/ \
ftp://sunsite.icm.edu.pl/pub/unix/shells/zsh/ \
ftp://sunsite.org.uk/package/zsh/ \
http://zsh.open-mirror.com/
HOMEPAGE= http://www.zsh.org/
# BSD
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c m termcap
AUTOCONF_VERSION=2.59
CONFIGURE_STYLE=autoconf
CONFIGURE_ARGS= ${CONFIGURE_SHARED:S/shared/dynamic/} \
--enable-zsh-mem --enable-zsh-secure-free \
--enable-maildir-support --with-tcsetpgrp
# we only enable sub-packages if shared libraries are available
MULTI_PACKAGES= ${NO_SHARED_LIBS:S/Yes//:S/No/-zftp/}
SUBPACKAGE?=
.if defined(PACKAGING) && !empty(SUBPACKAGE)
RUN_DEPENDS= ::shells/zsh
.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>