53 lines
1.4 KiB
Makefile
Raw Normal View History

2006-02-07 21:06:17 +00:00
# $OpenBSD: Makefile,v 1.38 2006/02/07 21:06:17 naddy Exp $
2006-02-07 21:06:17 +00:00
COMMENT= "Z shell, Bourne shell-compatible"
2004-07-12 19:46:52 +00:00
COMMENT-zftp= "Z shell embedded ftp client"
VERSION= 4.2.6
2004-07-12 19:46:52 +00:00
DISTNAME= zsh-${VERSION}
2006-02-07 21:06:17 +00:00
PKGNAME= ${DISTNAME}p0
PKGNAME-zftp= zsh-zftp-${VERSION}
2004-07-12 19:46:52 +00:00
CATEGORIES= shells
MASTER_SITES= ftp://ftp.zsh.org/zsh/ \
2004-09-30 21:46:58 +00:00
${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/
2004-07-12 19:46:52 +00:00
HOMEPAGE= http://www.zsh.org/
2004-09-15 00:40:23 +00:00
# BSD
2004-07-12 19:46:52 +00:00
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2006-02-07 21:06:17 +00:00
WANTLIB= c m termcap
2004-07-12 19:46:52 +00:00
2004-09-30 21:46:58 +00:00
AUTOCONF_VERSION=2.59
2006-02-07 21:06:17 +00:00
CONFIGURE_STYLE=autoconf
CONFIGURE_ARGS= ${CONFIGURE_SHARED:S/shared/dynamic/} \
--enable-zsh-mem --enable-zsh-secure-free \
2004-09-30 21:46:58 +00:00
--enable-maildir-support --with-tcsetpgrp
2004-07-12 19:46:52 +00:00
2006-02-07 21:06:17 +00:00
# we only enable sub-packages if shared libraries are available
MULTI_PACKAGES= ${NO_SHARED_LIBS:S/Yes//:S/No/-zftp/}
2004-07-12 19:46:52 +00:00
SUBPACKAGE?=
2006-02-07 21:06:17 +00:00
.if defined(PACKAGING) && !empty(SUBPACKAGE)
2004-07-12 19:46:52 +00:00
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>