pkgsrc/shells/zsh-current/Makefile
ryoon 593ac9af99 Update to 4.3.15
Changelog:
* Bugfixes.
* Many improvements especially functions and completion.

Tested on NetBSD/i386 5.99.59 and 5.1.
2012-01-14 14:39:18 +00:00

40 lines
1 KiB
Makefile

# $NetBSD: Makefile,v 1.25 2012/01/14 14:39:18 ryoon Exp $
.include "../../shells/zsh/Makefile.common"
ZSH_VERSION= 4.3.15
ZSH_MAINTAINER= ryoon@NetBSD.org
USE_TOOLS+= env
CONFIGURE_ARGS+= --disable-gdbm
PLIST_VARS+= xattr
.if exists(/usr/include/sys/xattr.h)
PLIST.xattr= yes
.endif
SUBST_CLASSES+= prefix-fixup
SUBST_STAGE.prefix-fixup= pre-configure
SUBST_FILES.prefix-fixup= \
Misc/globtests \
Misc/globtests.ksh \
Test/ztst.zsh \
Util/reporter \
Functions/Calendar/calendar_add \
Functions/Misc/run-help \
Functions/Misc/checkmail \
Functions/Misc/sticky-note \
Functions/Misc/zcalc \
Functions/Misc/zkbd \
Functions/Misc/zed \
Functions/Example/cat
SUBST_SED.prefix-fixup= \
-e 's|^\#\!/bin/env|\#\!${TOOLS_PATH.env}|g' \
-e 's|^\#\! /bin/env|\#\! ${TOOLS_PATH.env}|g' \
-e 's|^\#\!/bin/zsh|\#\!${PREFIX}/bin/zsh|g' \
-e 's|^\#\! /bin/zsh|\#\! ${PREFIX}/bin/zsh|g' \
-e 's|^\#\!/usr/local/bin/zsh|\#\!${PREFIX}/bin/zsh|g' \
-e 's|^\#\! /usr/local/bin/zsh|\#\! ${PREFIX}/bin/zsh|g'
.include "../../mk/bsd.pkg.mk"