1 # $NetBSD: Makefile,v 1.56 2010/05/07 12:02:45 jmmv Exp $
3 .include "../../shells/zsh/Makefile.common"
7 ZSH_MAINTAINER= uebayasi@NetBSD.org
9 SUBST_CLASSES+= prefix-fixup
10 SUBST_STAGE.prefix-fixup= pre-configure
11 SUBST_FILES.prefix-fixup= \
16 Functions/Calendar/calendar_add \
17 Functions/Misc/run-help \
18 Functions/Misc/checkmail \
19 Functions/Misc/zcalc \
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'
30 .include "../../mk/bsd.pkg.mk"