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