summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authordholland <dholland@pkgsrc.org>2012-05-27 18:28:17 +0000
committerdholland <dholland@pkgsrc.org>2012-05-27 18:28:17 +0000
commita1e9eaceef1e9763fe6a5da71338b8fcb4ac25c7 (patch)
treeda39f103df021de656996c23b743302017971a7e /www
parent6b3461625da45bd78822221476e278ee28429540 (diff)
downloadpkgsrc-a1e9eaceef1e9763fe6a5da71338b8fcb4ac25c7.tar.gz
Use SUBST_BASH instead of hand-rolled seddery (and don't hardwire /usr/pkg).
While here fix the other preexisting SUBST to run at pre-configure instead of post-patch time.
Diffstat (limited to 'www')
-rw-r--r--www/ies4linux/Makefile13
1 files changed, 6 insertions, 7 deletions
diff --git a/www/ies4linux/Makefile b/www/ies4linux/Makefile
index 5cae146611c..e27d573eb6f 100644
--- a/www/ies4linux/Makefile
+++ b/www/ies4linux/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.8 2012/05/27 16:11:20 marino Exp $
+# $NetBSD: Makefile,v 1.9 2012/05/27 18:28:17 dholland Exp $
#
DISTNAME= ies4linux-2.99.0.1
-PKGREVISION= 4
+PKGREVISION= 5
CATEGORIES= www
MASTER_SITES= http://www.tatanka.com.br/ies4linux/downloads/
@@ -22,14 +22,13 @@ USE_TOOLS+= bash:run pax unzip:run
SHAREDIR= share/ies4linux
-SUBST_CLASSES+= sharedir scripts
-SUBST_STAGE.sharedir= post-patch
+SUBST_CLASSES+= sharedir
+SUBST_STAGE.sharedir= pre-configure
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 \
+
+REPLACE_BASH= ${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}