2011-06-22 07:41:35 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.62 2011/06/22 11:41:35 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
|
|
|
|
2011-06-22 07:41:35 -04:00
|
|
|
V= 4.3.12
|
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/
|
|
|
|
|
2009-11-13 07:26:40 -05:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=zsh/}
|
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
|
|
|
|
|
2010-10-06 05:26:31 -04:00
|
|
|
WANTLIB= c m pcre ncursesw
|
2004-07-12 15:46:52 -04:00
|
|
|
|
2008-02-07 23:55:08 -05:00
|
|
|
MODULES= converters/libiconv
|
|
|
|
|
2010-11-20 12:22:40 -05:00
|
|
|
LIB_DEPENDS= devel/pcre
|
2008-07-02 11:02:54 -04:00
|
|
|
|
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
|
2010-10-18 17:41:44 -04:00
|
|
|
USE_GROFF = Yes
|
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>
|