| @@ -1,29 +1,30 @@ | | | @@ -1,29 +1,30 @@ |
1 | # $NetBSD: Makefile,v 1.57 2021/02/04 11:13:37 wiz Exp $ | | 1 | # $NetBSD: Makefile,v 1.58 2021/02/18 10:14:27 wiz Exp $ |
2 | | | 2 | |
3 | DISTNAME= asciidoc-py3-9.0.5 | | 3 | DISTNAME= asciidoc-9.1.0 |
4 | PKGNAME= ${DISTNAME:S/-py3//} | | | |
5 | CATEGORIES= textproc | | 4 | CATEGORIES= textproc |
6 | MASTER_SITES= ${MASTER_SITE_GITHUB:=asciidoc/} | | 5 | MASTER_SITES= ${MASTER_SITE_GITHUB:=asciidoc/} |
7 | GITHUB_PROJECT= asciidoc-py3 | | 6 | GITHUB_PROJECT= asciidoc-py3 |
8 | | | 7 | |
9 | MAINTAINER= gls@NetBSD.org | | 8 | MAINTAINER= gls@NetBSD.org |
10 | HOMEPAGE= http://www.asciidoc.org/ | | 9 | HOMEPAGE= http://www.asciidoc.org/ |
11 | COMMENT= ASCII to formatted document converter | | 10 | COMMENT= ASCII to formatted document converter |
12 | LICENSE= gnu-gpl-v2 | | 11 | LICENSE= gnu-gpl-v2 |
13 | | | 12 | |
14 | DEPENDS+= docbook-xsl-[0-9]*:../../textproc/docbook-xsl | | 13 | DEPENDS+= docbook-xsl-[0-9]*:../../textproc/docbook-xsl |
15 | DEPENDS+= getopt-[0-9]*:../../misc/getopt | | 14 | DEPENDS+= getopt-[0-9]*:../../misc/getopt |
16 | | | 15 | |
| | | 16 | WRKSRC= ${WRKDIR}/${DISTNAME:S/-/-py-/} |
| | | 17 | |
17 | USE_TOOLS+= pax | | 18 | USE_TOOLS+= pax |
18 | | | 19 | |
19 | SUBST_CLASSES+= ad | | 20 | SUBST_CLASSES+= ad |
20 | SUBST_STAGE.ad= pre-configure | | 21 | SUBST_STAGE.ad= pre-configure |
21 | SUBST_MESSAGE.ad= Fixing hard-coded config file paths. | | 22 | SUBST_MESSAGE.ad= Fixing hard-coded config file paths. |
22 | SUBST_FILES.ad= a2x.py asciidoc.py | | 23 | SUBST_FILES.ad= a2x.py asciidoc.py |
23 | SUBST_SED.ad= -e 's,^\(CONF_DIR\).*=.*,\1="${PREFIX}/share/asciidoc",' | | 24 | SUBST_SED.ad= -e 's,^\(CONF_DIR\).*=.*,\1="${PREFIX}/share/asciidoc",' |
24 | | | 25 | |
25 | REPLACE_PYTHON+= a2x.py | | 26 | REPLACE_PYTHON+= a2x.py |
26 | REPLACE_PYTHON+= asciidoc.py | | 27 | REPLACE_PYTHON+= asciidoc.py |
27 | REPLACE_PYTHON+= asciidocapi.py | | 28 | REPLACE_PYTHON+= asciidocapi.py |
28 | REPLACE_PYTHON+= filters/code/code-filter.py | | 29 | REPLACE_PYTHON+= filters/code/code-filter.py |
29 | REPLACE_PYTHON+= filters/latex/latex2img.py | | 30 | REPLACE_PYTHON+= filters/latex/latex2img.py |