pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/asciidoc In substitution, avoid space on CONF...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/16c9241aa78a
branches:  trunk
changeset: 540956:16c9241aa78a
user:      gdt <gdt%pkgsrc.org@localhost>
date:      Fri Apr 11 23:15:48 2008 +0000

description:
In substitution, avoid space on CONF_DIR= to make it valid /bin/sh.
PYTHON_PATCH two more scripts.
PKGREVISION++

diffstat:

 textproc/asciidoc/Makefile |  9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diffs (32 lines):

diff -r c5c59700f77e -r 16c9241aa78a textproc/asciidoc/Makefile
--- a/textproc/asciidoc/Makefile        Fri Apr 11 20:37:06 2008 +0000
+++ b/textproc/asciidoc/Makefile        Fri Apr 11 23:15:48 2008 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.8 2008/03/04 11:02:25 rillig Exp $
+# $NetBSD: Makefile,v 1.9 2008/04/11 23:15:48 gdt Exp $
 #
 
 DISTNAME=              asciidoc-8.2.5
-PKGREVISION=           2
+PKGREVISION=           3
 CATEGORIES=            textproc
 MASTER_SITES=          ${HOMEPAGE}     \
                        ${MASTER_SITE_SOURCEFORGE:=asciidoc/}
@@ -17,14 +17,15 @@
 REPLACE_BASH+=         a2x
 USE_TOOLS+=            bash:run
 PYTHON_VERSIONS_INCOMPATIBLE=  15 20 21 22
-PYTHON_PATCH_SCRIPTS=  asciidoc.py
+PYTHON_PATCH_SCRIPTS=  asciidoc.py filters/code-filter.py filters/music2png.py
+
 NO_BUILD=              yes
 
 SUBST_CLASSES+=                ad
 SUBST_STAGE.ad=                pre-configure
 SUBST_MESSAGE.ad=      Fixing hard-coded config file paths.
 SUBST_FILES.ad=                a2x asciidoc.py
-SUBST_SED.ad=          -e 's,^\(CONF_DIR\).*=.*,\1 = "${PREFIX}/share/asciidoc",'
+SUBST_SED.ad=          -e 's,^\(CONF_DIR\).*=.*,\1="${PREFIX}/share/asciidoc",'
 
 INSTALLATION_DIRS=     bin share/asciidoc share/asciidoc/filters \
                        share/asciidoc/docbook-xsl share/asciidoc/stylesheets \



Home | Main Index | Thread Index | Old Index