pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/ies4linux Use SUBST_BASH instead of hand-rolled se...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3ced6c64798a
branches:  trunk
changeset: 604258:3ced6c64798a
user:      dholland <dholland%pkgsrc.org@localhost>
date:      Sun May 27 18:28:17 2012 +0000

description:
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:

 www/ies4linux/Makefile |  13 ++++++-------
 1 files changed, 6 insertions(+), 7 deletions(-)

diffs (33 lines):

diff -r c367f3e38c4c -r 3ced6c64798a www/ies4linux/Makefile
--- a/www/ies4linux/Makefile    Sun May 27 18:21:44 2012 +0000
+++ b/www/ies4linux/Makefile    Sun May 27 18:28:17 2012 +0000
@@ -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 @@
 
 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}
 



Home | Main Index | Thread Index | Old Index