openbsd-ports/shells/zsh/Makefile
landry 4da0d724a7 Update to zsh-4.3.6, from MAINTAINER pea at raveland dot org
tested by okan@ merdely@ wcmaier@, ok okan@ merdely@
2008-04-04 07:46:03 +00:00

56 lines
1.3 KiB
Makefile

# $OpenBSD: Makefile,v 1.47 2008/04/04 07:46:03 landry Exp $
COMMENT= Z shell, Bourne shell-compatible
V= 4.3.6
DISTNAME= zsh-$V
CATEGORIES= shells
MAINTAINER= Pierre-Emmanuel Andre <pea@raveland.org>
HOMEPAGE= http://www.zsh.org/
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/
# BSD
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c m termcap
MODULES= converters/libiconv
AUTOCONF_VERSION=2.61
CONFIGURE_STYLE=autoconf
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= ${CONFIGURE_SHARED:S/shared/dynamic/} \
--enable-zsh-mem \
--enable-zsh-secure-free \
--enable-maildir-support \
--with-tcsetpgrp \
--enable-multibyte
SUBST_VARS= V
# required for regression tests
PORTHOME= ${WRKDIR}
REGRESS_FLAGS= INSTALL_PROGRAM="install -c -s -m 555" \
INSTALL_DATA="install -c -m 444" \
INSTALL="install -c" \
TMPPREFIX=${WRKBUILD}/tmp \
TERM=xterm
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/zsh/$V/scripts/
.include <bsd.port.mk>