| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile,v 1.20 2010/05/15 20:23:38 gls Exp $ | | 1 | # $NetBSD: Makefile,v 1.21 2010/05/16 17:16:27 gls Exp $ |
2 | # | | 2 | # |
3 | | | 3 | |
4 | DISTNAME= asciidoc-8.5.3 | | 4 | DISTNAME= asciidoc-8.5.3 |
5 | CATEGORIES= textproc | | 5 | CATEGORIES= textproc |
6 | MASTER_SITES= ${HOMEPAGE:Q} \ | | 6 | MASTER_SITES= ${HOMEPAGE:Q} \ |
7 | ${MASTER_SITE_SOURCEFORGE:=asciidoc/} | | 7 | ${MASTER_SITE_SOURCEFORGE:=asciidoc/} |
8 | | | 8 | |
9 | MAINTAINER= gdt@NetBSD.org | | 9 | MAINTAINER= gdt@NetBSD.org |
10 | HOMEPAGE= http://www.methods.co.nz/asciidoc/ | | 10 | HOMEPAGE= http://www.methods.co.nz/asciidoc/ |
11 | COMMENT= ASCII to formatted document converter | | 11 | COMMENT= ASCII to formatted document converter |
12 | | | 12 | |
13 | PKG_DESTDIR_SUPPORT= user-destdir | | 13 | PKG_DESTDIR_SUPPORT= user-destdir |
14 | | | 14 | |
| @@ -16,27 +16,27 @@ DEPENDS+= docbook-xsl-[0-9]*:../../text | | | @@ -16,27 +16,27 @@ DEPENDS+= docbook-xsl-[0-9]*:../../text |
16 | DEPENDS+= getopt-[0-9]*:../../misc/getopt | | 16 | DEPENDS+= getopt-[0-9]*:../../misc/getopt |
17 | | | 17 | |
18 | USE_TOOLS+= pax | | 18 | USE_TOOLS+= pax |
19 | PYTHON_PATCH_SCRIPTS= a2x.py asciidoc.py | | 19 | PYTHON_PATCH_SCRIPTS= a2x.py asciidoc.py |
20 | PYTHON_PATCH_SCRIPTS+= filters/code/code-filter.py | | 20 | PYTHON_PATCH_SCRIPTS+= filters/code/code-filter.py |
21 | PYTHON_PATCH_SCRIPTS+= filters/music/music2png.py | | 21 | PYTHON_PATCH_SCRIPTS+= filters/music/music2png.py |
22 | PYTHON_PATCH_SCRIPTS+= filters/graphviz/graphviz2png.py | | 22 | PYTHON_PATCH_SCRIPTS+= filters/graphviz/graphviz2png.py |
23 | | | 23 | |
24 | NO_BUILD= yes | | 24 | NO_BUILD= yes |
25 | | | 25 | |
26 | SUBST_CLASSES+= ad | | 26 | SUBST_CLASSES+= ad |
27 | SUBST_STAGE.ad= pre-configure | | 27 | SUBST_STAGE.ad= pre-configure |
28 | SUBST_MESSAGE.ad= Fixing hard-coded config file paths. | | 28 | SUBST_MESSAGE.ad= Fixing hard-coded config file paths. |
29 | SUBST_FILES.ad= a2x asciidoc.py | | 29 | SUBST_FILES.ad= a2x.py asciidoc.py |
30 | SUBST_SED.ad= -e 's,^\(CONF_DIR\).*=.*,\1="${PREFIX}/share/asciidoc",' | | 30 | SUBST_SED.ad= -e 's,^\(CONF_DIR\).*=.*,\1="${PREFIX}/share/asciidoc",' |
31 | | | 31 | |
32 | SUBST_CLASSES+= ae | | 32 | SUBST_CLASSES+= ae |
33 | SUBST_STAGE.ae= pre-configure | | 33 | SUBST_STAGE.ae= pre-configure |
34 | SUBST_MESSAGE.ae= Fixing hard-coded Python interpreter paths. | | 34 | SUBST_MESSAGE.ae= Fixing hard-coded Python interpreter paths. |
35 | SUBST_FILES.ae= a2x.py asciidoc.conf | | 35 | SUBST_FILES.ae= a2x.py asciidoc.conf |
36 | SUBST_SED.ae= -e 's,python,${PYTHONBIN},' | | 36 | SUBST_SED.ae= -e 's,python,${PYTHONBIN},' |
37 | | | 37 | |
38 | INSTALLATION_DIRS= bin share/asciidoc share/asciidoc/filters \ | | 38 | INSTALLATION_DIRS= bin share/asciidoc share/asciidoc/filters \ |
39 | share/asciidoc/docbook-xsl share/asciidoc/stylesheets \ | | 39 | share/asciidoc/docbook-xsl share/asciidoc/stylesheets \ |
40 | share/asciidoc/javascripts \ | | 40 | share/asciidoc/javascripts \ |
41 | share/asciidoc/images/icons/callouts \ | | 41 | share/asciidoc/images/icons/callouts \ |
42 | ${PKGMANDIR}/man1 ${DOCDIR} \ | | 42 | ${PKGMANDIR}/man1 ${DOCDIR} \ |