55 lines
1.2 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.51 2009/11/13 12:26:40 pea Exp $
COMMENT= Z shell, Bourne shell-compatible
2009-06-03 14:35:48 +00:00
V= 4.3.10
DISTNAME= zsh-$V
PKGNAME= ${DISTNAME}p0
2004-07-12 19:46:52 +00:00
CATEGORIES= shells
2008-11-04 10:00:59 +00:00
MAINTAINER= Pierre-Emmanuel Andre <pea@openbsd.org>
HOMEPAGE= http://www.zsh.org/
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=zsh/}
2004-07-12 19:46:52 +00:00
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
WANTLIB= c m termcap
2004-07-12 19:46:52 +00:00
MODULES= converters/libiconv
LIB_DEPENDS= pcre::devel/pcre
AUTOCONF_VERSION=2.61
2006-02-07 21:06:17 +00:00
CONFIGURE_STYLE=autoconf
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
2006-02-07 21:06:17 +00:00
CONFIGURE_ARGS= ${CONFIGURE_SHARED:S/shared/dynamic/} \
--enable-zsh-mem \
--enable-zsh-secure-free \
--enable-maildir-support \
--with-tcsetpgrp \
--enable-multibyte \
2008-11-04 10:00:59 +00:00
--enable-pcre \
--disable-gdbm
2004-07-12 19:46:52 +00:00
SUBST_VARS= V
2004-07-12 19:46:52 +00:00
# required for regression tests
PORTHOME= ${WRKDIR}
2004-07-12 19:46:52 +00:00
REGRESS_FLAGS= INSTALL_PROGRAM="install -c -s -m 555" \
INSTALL_DATA="install -c -m 444" \
2004-07-12 19:46:52 +00:00
INSTALL="install -c" \
TMPPREFIX=${WRKBUILD}/tmp \
TERM=xterm
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/zsh/$V/scripts/
2004-07-12 19:46:52 +00:00
.include <bsd.port.mk>