pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/xmlto Fix the shell path so xmlto actually runs



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f1d23839904d
branches:  trunk
changeset: 498146:f1d23839904d
user:      adrianp <adrianp%pkgsrc.org@localhost>
date:      Sat Aug 13 21:25:58 2005 +0000

description:
Fix the shell path so xmlto actually runs
Bump PKGREVISION

diffstat:

 textproc/xmlto/Makefile |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r e264b1b2c35b -r f1d23839904d textproc/xmlto/Makefile
--- a/textproc/xmlto/Makefile   Sat Aug 13 19:57:53 2005 +0000
+++ b/textproc/xmlto/Makefile   Sat Aug 13 21:25:58 2005 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.5 2005/04/11 21:47:43 tv Exp $
+# $NetBSD: Makefile,v 1.6 2005/08/13 21:25:58 adrianp Exp $
 #
 
 DISTNAME=              xmlto-0.0.18
+PKGREVISION=           1
 CATEGORIES=            textproc
 MASTER_SITES=          http://cyberelk.net/tim/data/xmlto/stable/
 EXTRACT_SUFX=          .tar.bz2
@@ -23,6 +24,9 @@
 pre-install:
        ${INSTALL_DATA_DIR} ${PREFIX}/share/xmlto/format/docbook
        ${INSTALL_DATA_DIR} ${PREFIX}/share/xmlto/format/fo
+       @${SED} "s|/bin/bash|${PREFIX}/bin/bash|" \
+               ${WRKSRC}/xmlto  > ${WRKDIR}/xmlto.new
+       @${MV} ${WRKDIR}/xmlto.new ${WRKSRC}/xmlto
 
 .include "../../textproc/libxslt/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index