summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarino <marino@pkgsrc.org>2012-05-27 16:11:20 +0000
committermarino <marino@pkgsrc.org>2012-05-27 16:11:20 +0000
commitb4ad8a35cb461f49446b7df45e85c968595bed56 (patch)
treecc84c0c3230ac1ec3546f485889ff60faa38262f
parent6562382ae0c293340cb9e2b822fe77c6423489eb (diff)
downloadpkgsrc-b4ad8a35cb461f49446b7df45e85c968595bed56.tar.gz
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"
-rw-r--r--www/ies4linux/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/www/ies4linux/Makefile b/www/ies4linux/Makefile
index cc1705b9f0c..5cae146611c 100644
--- a/www/ies4linux/Makefile
+++ b/www/ies4linux/Makefile
@@ -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}