2008-11-04 05:00:59 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.49 2008/11/04 10:00:59 pea Exp $
|
2001-05-05 23:49:21 -04:00
|
|
|
|
2007-12-04 14:26:56 -05:00
|
|
|
COMMENT= Z shell, Bourne shell-compatible
|
1997-11-17 20:20:00 -05:00
|
|
|
|
2008-11-04 05:00:59 -05:00
|
|
|
V= 4.3.9
|
2008-02-07 23:55:08 -05:00
|
|
|
DISTNAME= zsh-$V
|
2004-07-12 15:46:52 -04:00
|
|
|
CATEGORIES= shells
|
2008-02-07 23:55:08 -05:00
|
|
|
|
2008-11-04 05:00:59 -05:00
|
|
|
MAINTAINER= Pierre-Emmanuel Andre <pea@openbsd.org>
|
2008-02-07 23:55:08 -05:00
|
|
|
|
|
|
|
HOMEPAGE= http://www.zsh.org/
|
|
|
|
|
2004-07-12 15:46:52 -04:00
|
|
|
MASTER_SITES= ftp://ftp.zsh.org/zsh/ \
|
2004-09-30 17:46:58 -04:00
|
|
|
${HOMEPAGE}pub/ \
|
2006-01-29 15:41:02 -05:00
|
|
|
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/ \
|
2008-11-04 05:00:59 -05:00
|
|
|
ftp://sunsite.icm.edu.pl/pub/unix/shells/zsh/ \
|
|
|
|
http://zsh.raveland.org/
|
2004-07-12 15:46:52 -04:00
|
|
|
|
2004-09-14 20:40:23 -04:00
|
|
|
# BSD
|
2004-07-12 15:46:52 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2008-02-07 23:55:08 -05:00
|
|
|
WANTLIB= c m termcap
|
2004-07-12 15:46:52 -04:00
|
|
|
|
2008-02-07 23:55:08 -05:00
|
|
|
MODULES= converters/libiconv
|
|
|
|
|
2008-07-02 11:02:54 -04:00
|
|
|
LIB_DEPENDS= pcre::devel/pcre
|
|
|
|
|
2008-02-07 23:55:08 -05:00
|
|
|
AUTOCONF_VERSION=2.61
|
2006-02-07 16:06:17 -05:00
|
|
|
CONFIGURE_STYLE=autoconf
|
2008-02-07 23:55:08 -05:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
2006-02-07 16:06:17 -05:00
|
|
|
CONFIGURE_ARGS= ${CONFIGURE_SHARED:S/shared/dynamic/} \
|
2008-02-07 23:55:08 -05:00
|
|
|
--enable-zsh-mem \
|
|
|
|
--enable-zsh-secure-free \
|
|
|
|
--enable-maildir-support \
|
|
|
|
--with-tcsetpgrp \
|
2008-07-02 11:02:54 -04:00
|
|
|
--enable-multibyte \
|
2008-11-04 05:00:59 -05:00
|
|
|
--enable-pcre \
|
|
|
|
--disable-gdbm
|
2004-07-12 15:46:52 -04:00
|
|
|
|
2008-02-07 23:55:08 -05:00
|
|
|
SUBST_VARS= V
|
2004-07-12 15:46:52 -04:00
|
|
|
|
2006-10-19 09:44:51 -04:00
|
|
|
# required for regression tests
|
|
|
|
PORTHOME= ${WRKDIR}
|
2004-07-12 15:46:52 -04:00
|
|
|
REGRESS_FLAGS= INSTALL_PROGRAM="install -c -s -m 555" \
|
2007-12-04 14:26:56 -05:00
|
|
|
INSTALL_DATA="install -c -m 444" \
|
2004-07-12 15:46:52 -04:00
|
|
|
INSTALL="install -c" \
|
2008-02-07 23:55:08 -05:00
|
|
|
TMPPREFIX=${WRKBUILD}/tmp \
|
|
|
|
TERM=xterm
|
2007-12-04 14:26:56 -05:00
|
|
|
|
|
|
|
post-install:
|
2008-02-07 23:55:08 -05:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/zsh/$V/scripts/
|
2007-12-04 14:26:56 -05:00
|
|
|
|
2004-07-12 15:46:52 -04:00
|
|
|
.include <bsd.port.mk>
|