summaryrefslogtreecommitdiff
path: root/www/ies4linux
diff options
context:
space:
mode:
authormarino <marino>2012-05-27 16:11:20 +0000
committermarino <marino>2012-05-27 16:11:20 +0000
commit24664ac23c34e0ce228f77d88b88df6a01c30023 (patch)
treecc84c0c3230ac1ec3546f485889ff60faa38262f /www/ies4linux
parentb6cfd6043868e9e2bbb963a8952d247cc8d4050a (diff)
downloadpkgsrc-24664ac23c34e0ce228f77d88b88df6a01c30023.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"
Diffstat (limited to 'www/ies4linux')
-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}