From 03e34edb42799472b7abcb4e44135147dfa35d45 Mon Sep 17 00:00:00 2001 From: gdt Date: Fri, 11 Apr 2008 23:15:48 +0000 Subject: In substitution, avoid space on CONF_DIR= to make it valid /bin/sh. PYTHON_PATCH two more scripts. PKGREVISION++ --- textproc/asciidoc/Makefile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/textproc/asciidoc/Makefile b/textproc/asciidoc/Makefile index 42c192bff69..718966f4879 100644 --- a/textproc/asciidoc/Makefile +++ b/textproc/asciidoc/Makefile @@ -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 @@ DEPENDS+= getopt-[0-9]*:../../misc/getopt 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 \ -- cgit v1.2.3