update Sat Feb 27 12:37:00 PST 2010
[pkgsrc.git] / shells / zsh-current / Makefile
1 # $NetBSD: Makefile,v 1.17 2010/02/27 18:19:02 snj Exp $
2
3 .include "../../shells/zsh/Makefile.common"
4
5 ZSH_VERSION=    4.3.10
6 ZSH_MAINTAINER= uebayasi@NetBSD.org
7
8 USE_TOOLS+=     env
9
10 SUBST_CLASSES+= prefix-fixup
11 SUBST_STAGE.prefix-fixup=       pre-configure
12 SUBST_FILES.prefix-fixup= \
13         Misc/globtests \
14         Misc/globtests.ksh \
15         Test/ztst.zsh \
16         Util/reporter \
17         Functions/Calendar/calendar_add \
18         Functions/Misc/run-help \
19         Functions/Misc/checkmail \
20         Functions/Misc/zcalc \
21         Functions/Misc/zkbd \
22         Functions/Example/cat
23 SUBST_SED.prefix-fixup= \
24         -e 's|^\#\!/bin/env|\#\!${TOOLS_PATH.env}|g' \
25         -e 's|^\#\! /bin/env|\#\! ${TOOLS_PATH.env}|g' \
26         -e 's|^\#\!/bin/zsh|\#\!${PREFIX}/bin/zsh|g' \
27         -e 's|^\#\! /bin/zsh|\#\! ${PREFIX}/bin/zsh|g' \
28         -e 's|^\#\!/usr/local/bin/zsh|\#\!${PREFIX}/bin/zsh|g' \
29         -e 's|^\#\! /usr/local/bin/zsh|\#\! ${PREFIX}/bin/zsh|g'
30
31 .include "../../mk/bsd.pkg.mk"