www/ies4linux: Fix disallowed script interpreters

This package failed on script-interpreter check, "/usr/bin/env bash" is
not allowed.  Replace with "/usr/pkg/bin/bash"
This commit is contained in:
marino 2012-05-27 16:11:20 +00:00
parent c8f63d3d1e
commit 677326dadd

View file

@ -1,8 +1,8 @@
# $NetBSD: Makefile,v 1.7 2012/03/15 11:53:44 obache Exp $
# $NetBSD: Makefile,v 1.8 2012/05/27 16:11:20 marino Exp $
#
DISTNAME= ies4linux-2.99.0.1
PKGREVISION= 3
PKGREVISION= 4
CATEGORIES= www
MASTER_SITES= http://www.tatanka.com.br/ies4linux/downloads/
@ -22,10 +22,14 @@ USE_TOOLS+= bash:run pax unzip:run
SHAREDIR= share/ies4linux
SUBST_CLASSES+= sharedir
SUBST_CLASSES+= sharedir scripts
SUBST_STAGE.sharedir= post-patch
SUBST_FILES.sharedir= ${WRKSRC}/ies4linux
SUBST_SED.sharedir= -e "s|.dirname ..0..|${PREFIX}/${SHAREDIR}|g"
SUBST_STAGE.scripts= post-patch
SUBST_FILES.scripts= ${WRKSRC}/ies4linux \
${WRKSRC}/lib/install.sh ${WRKSRC}/lib/uninstall.sh
SUBST_SED.scripts= -e "s|/usr/bin/env bash|/usr/pkg/bin/bash|"
INSTALLATION_DIRS = bin ${SHAREDIR}