Update to 8.2.6. Significant changes (plus assorted minor changes and bugfixes); * asciidoc(1) and a2x(1) man pages formatted to conform to man-pages(7) recommendations. * Old code-filter syntax (pre-8.1.0) is no longer recognized so that malformed two-line level 2 titles are no longer confused with code-filter block delimiters.diff -r1.12 -r1.13 pkgsrc/textproc/asciidoc/Makefile
(gdt)
@@ -1,57 +1,56 @@ | @@ -1,57 +1,56 @@ | |||
1 | # $NetBSD: Makefile,v 1.12 2008/06/06 19:51:14 gdt Exp $ | 1 | # $NetBSD: Makefile,v 1.13 2008/06/10 13:06:30 gdt Exp $ | |
2 | # | 2 | # | |
3 | 3 | |||
4 | DISTNAME= asciidoc-8.2.5 | 4 | DISTNAME= asciidoc-8.2.6 | |
5 | PKGREVISION= 4 | |||
6 | CATEGORIES= textproc | 5 | CATEGORIES= textproc | |
7 | MASTER_SITES= ${HOMEPAGE} \ | 6 | MASTER_SITES= ${HOMEPAGE} \ | |
8 | ${MASTER_SITE_SOURCEFORGE:=asciidoc/} | 7 | ${MASTER_SITE_SOURCEFORGE:=asciidoc/} | |
9 | 8 | |||
10 | MAINTAINER= pkgsrc-users@NetBSD.org | 9 | MAINTAINER= pkgsrc-users@NetBSD.org | |
11 | HOMEPAGE= http://www.methods.co.nz/asciidoc/ | 10 | HOMEPAGE= http://www.methods.co.nz/asciidoc/ | |
12 | COMMENT= ASCII to formatted document converter | 11 | COMMENT= ASCII to formatted document converter | |
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 | |||
17 | REPLACE_BASH+= a2x | 16 | REPLACE_BASH+= a2x | |
18 | USE_TOOLS+= bash:run pax | 17 | USE_TOOLS+= bash:run pax | |
19 | PYTHON_PATCH_SCRIPTS= asciidoc.py filters/code-filter.py filters/music2png.py | 18 | PYTHON_PATCH_SCRIPTS= asciidoc.py filters/code-filter.py filters/music2png.py | |
20 | 19 | |||
21 | NO_BUILD= yes | 20 | NO_BUILD= yes | |
22 | 21 | |||
23 | SUBST_CLASSES+= ad | 22 | SUBST_CLASSES+= ad | |
24 | SUBST_STAGE.ad= pre-configure | 23 | SUBST_STAGE.ad= pre-configure | |
25 | SUBST_MESSAGE.ad= Fixing hard-coded config file paths. | 24 | SUBST_MESSAGE.ad= Fixing hard-coded config file paths. | |
26 | SUBST_FILES.ad= a2x asciidoc.py | 25 | SUBST_FILES.ad= a2x asciidoc.py | |
27 | SUBST_SED.ad= -e 's,^\(CONF_DIR\).*=.*,\1="${PREFIX}/share/asciidoc",' | 26 | SUBST_SED.ad= -e 's,^\(CONF_DIR\).*=.*,\1="${PREFIX}/share/asciidoc",' | |
28 | 27 | |||
29 | INSTALLATION_DIRS= bin share/asciidoc share/asciidoc/filters \ | 28 | INSTALLATION_DIRS= bin share/asciidoc share/asciidoc/filters \ | |
30 | share/asciidoc/docbook-xsl share/asciidoc/stylesheets \ | 29 | share/asciidoc/docbook-xsl share/asciidoc/stylesheets \ | |
31 | share/asciidoc/javascripts \ | 30 | share/asciidoc/javascripts \ | |
32 | share/asciidoc/images/icons/callouts \ | 31 | share/asciidoc/images/icons/callouts \ | |
33 | ${PKGMANDIR}/man1 | 32 | ${PKGMANDIR}/man1 | |
34 | 33 | |||
35 | DOCDIR= ${PREFIX}/share/doc/asciidoc | 34 | DOCDIR= ${PREFIX}/share/doc/asciidoc | |
36 | 35 | |||
37 | do-install: | 36 | do-install: | |
38 | ${INSTALL_SCRIPT} ${WRKSRC}/asciidoc.py ${PREFIX}/bin/asciidoc | 37 | ${INSTALL_SCRIPT} ${WRKSRC}/asciidoc.py ${PREFIX}/bin/asciidoc | |
39 | ${INSTALL_SCRIPT} ${WRKSRC}/a2x ${PREFIX}/bin/a2x | 38 | ${INSTALL_SCRIPT} ${WRKSRC}/a2x ${PREFIX}/bin/a2x | |
40 | ${INSTALL_MAN} ${WRKSRC}/doc/asciidoc.1 ${PREFIX}/${PKGMANDIR}/man1/ | 39 | ${INSTALL_MAN} ${WRKSRC}/doc/asciidoc.1 ${PREFIX}/${PKGMANDIR}/man1/ | |
41 | ${INSTALL_MAN} ${WRKSRC}/doc/a2x.1 ${PREFIX}/${PKGMANDIR}/man1/ | 40 | ${INSTALL_MAN} ${WRKSRC}/doc/a2x.1 ${PREFIX}/${PKGMANDIR}/man1/ | |
42 | ${INSTALL_DATA_DIR} ${DOCDIR} | 41 | ${INSTALL_DATA_DIR} ${DOCDIR} | |
43 | ${INSTALL_DATA} ${WRKSRC}/doc/asciidoc.txt ${DOCDIR} | 42 | ${INSTALL_DATA} ${WRKSRC}/doc/asciidoc.txt ${DOCDIR} | |
44 | ${INSTALL_DATA} ${WRKSRC}/doc/asciidoc.html ${DOCDIR} | 43 | ${INSTALL_DATA} ${WRKSRC}/doc/asciidoc.html ${DOCDIR} | |
45 | 44 | |||
46 | cd ${WRKSRC} && pax -wr -pma *.conf filters/*.py \ | 45 | cd ${WRKSRC} && pax -wr -pma *.conf filters/*.py \ | |
47 | filters/*.conf docbook-xsl/*.xsl stylesheets/*.css \ | 46 | filters/*.conf docbook-xsl/*.xsl stylesheets/*.css \ | |
48 | javascripts/*.js images/icons/callouts/* images/icons/*.png \ | 47 | javascripts/*.js images/icons/callouts/* images/icons/*.png \ | |
49 | images/icons/README \ | 48 | images/icons/README \ | |
50 | ${PREFIX}/share/asciidoc/. | 49 | ${PREFIX}/share/asciidoc/. | |
51 | 50 | |||
52 | do-test: | 51 | do-test: | |
53 | cd ${WRKSRC} && ./asciidoc.py -v doc/asciidoc.txt | 52 | cd ${WRKSRC} && ./asciidoc.py -v doc/asciidoc.txt | |
54 | 53 | |||
55 | .include "../../lang/python/application.mk" | 54 | .include "../../lang/python/application.mk" | |
56 | .include "../../textproc/libxslt/buildlink3.mk" | 55 | .include "../../textproc/libxslt/buildlink3.mk" | |
57 | .include "../../mk/bsd.pkg.mk" | 56 | .include "../../mk/bsd.pkg.mk" |
@@ -1,74 +1,75 @@ | @@ -1,74 +1,75 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.6 2007/12/09 20:56:41 wiz Exp $ | 1 | @comment $NetBSD: PLIST,v 1.7 2008/06/10 13:06:30 gdt Exp $ | |
2 | bin/a2x | 2 | bin/a2x | |
3 | bin/asciidoc | 3 | bin/asciidoc | |
4 | man/man1/a2x.1 | 4 | man/man1/a2x.1 | |
5 | man/man1/asciidoc.1 | 5 | man/man1/asciidoc.1 | |
6 | share/asciidoc/asciidoc.conf | 6 | share/asciidoc/asciidoc.conf | |
7 | share/asciidoc/docbook-xsl/chunked.xsl | 7 | share/asciidoc/docbook-xsl/chunked.xsl | |
8 | share/asciidoc/docbook-xsl/common.xsl | 8 | share/asciidoc/docbook-xsl/common.xsl | |
9 | share/asciidoc/docbook-xsl/fo.xsl | 9 | share/asciidoc/docbook-xsl/fo.xsl | |
10 | share/asciidoc/docbook-xsl/htmlhelp.xsl | 10 | share/asciidoc/docbook-xsl/htmlhelp.xsl | |
11 | share/asciidoc/docbook-xsl/manpage.xsl | 11 | share/asciidoc/docbook-xsl/manpage.xsl | |
12 | share/asciidoc/docbook-xsl/xhtml.xsl | 12 | share/asciidoc/docbook-xsl/xhtml.xsl | |
13 | share/asciidoc/docbook.conf | 13 | share/asciidoc/docbook.conf | |
14 | share/asciidoc/filters/code-filter.conf | 14 | share/asciidoc/filters/code-filter.conf | |
15 | share/asciidoc/filters/code-filter.py | 15 | share/asciidoc/filters/code-filter.py | |
16 | share/asciidoc/filters/music-filter.conf | 16 | share/asciidoc/filters/music-filter.conf | |
17 | share/asciidoc/filters/music2png.py | 17 | share/asciidoc/filters/music2png.py | |
18 | share/asciidoc/filters/source-highlight-filter.conf | 18 | share/asciidoc/filters/source-highlight-filter.conf | |
19 | share/asciidoc/help.conf | 19 | share/asciidoc/help.conf | |
20 | share/asciidoc/html4.conf | 20 | share/asciidoc/html4.conf | |
21 | share/asciidoc/images/icons/README | 21 | share/asciidoc/images/icons/README | |
22 | share/asciidoc/images/icons/callouts/1.png | 22 | share/asciidoc/images/icons/callouts/1.png | |
23 | share/asciidoc/images/icons/callouts/10.png | 23 | share/asciidoc/images/icons/callouts/10.png | |
24 | share/asciidoc/images/icons/callouts/11.png | 24 | share/asciidoc/images/icons/callouts/11.png | |
25 | share/asciidoc/images/icons/callouts/12.png | 25 | share/asciidoc/images/icons/callouts/12.png | |
26 | share/asciidoc/images/icons/callouts/13.png | 26 | share/asciidoc/images/icons/callouts/13.png | |
27 | share/asciidoc/images/icons/callouts/14.png | 27 | share/asciidoc/images/icons/callouts/14.png | |
28 | share/asciidoc/images/icons/callouts/15.png | 28 | share/asciidoc/images/icons/callouts/15.png | |
29 | share/asciidoc/images/icons/callouts/2.png | 29 | share/asciidoc/images/icons/callouts/2.png | |
30 | share/asciidoc/images/icons/callouts/3.png | 30 | share/asciidoc/images/icons/callouts/3.png | |
31 | share/asciidoc/images/icons/callouts/4.png | 31 | share/asciidoc/images/icons/callouts/4.png | |
32 | share/asciidoc/images/icons/callouts/5.png | 32 | share/asciidoc/images/icons/callouts/5.png | |
33 | share/asciidoc/images/icons/callouts/6.png | 33 | share/asciidoc/images/icons/callouts/6.png | |
34 | share/asciidoc/images/icons/callouts/7.png | 34 | share/asciidoc/images/icons/callouts/7.png | |
35 | share/asciidoc/images/icons/callouts/8.png | 35 | share/asciidoc/images/icons/callouts/8.png | |
36 | share/asciidoc/images/icons/callouts/9.png | 36 | share/asciidoc/images/icons/callouts/9.png | |
37 | share/asciidoc/images/icons/caution.png | 37 | share/asciidoc/images/icons/caution.png | |
38 | share/asciidoc/images/icons/example.png | 38 | share/asciidoc/images/icons/example.png | |
39 | share/asciidoc/images/icons/home.png | 39 | share/asciidoc/images/icons/home.png | |
40 | share/asciidoc/images/icons/important.png | 40 | share/asciidoc/images/icons/important.png | |
41 | share/asciidoc/images/icons/next.png | 41 | share/asciidoc/images/icons/next.png | |
42 | share/asciidoc/images/icons/note.png | 42 | share/asciidoc/images/icons/note.png | |
43 | share/asciidoc/images/icons/prev.png | 43 | share/asciidoc/images/icons/prev.png | |
44 | share/asciidoc/images/icons/tip.png | 44 | share/asciidoc/images/icons/tip.png | |
45 | share/asciidoc/images/icons/up.png | 45 | share/asciidoc/images/icons/up.png | |
46 | share/asciidoc/images/icons/warning.png | 46 | share/asciidoc/images/icons/warning.png | |
47 | share/asciidoc/javascripts/ASCIIMathML.js | 47 | share/asciidoc/javascripts/ASCIIMathML.js | |
48 | share/asciidoc/javascripts/LaTeXMathML.js | 48 | share/asciidoc/javascripts/LaTeXMathML.js | |
49 | share/asciidoc/javascripts/toc.js | 49 | share/asciidoc/javascripts/toc.js | |
50 | share/asciidoc/lang-es.conf | 50 | share/asciidoc/lang-es.conf | |
51 | share/asciidoc/latex.conf | 51 | share/asciidoc/latex.conf | |
52 | share/asciidoc/linuxdoc.conf | 52 | share/asciidoc/linuxdoc.conf | |
53 | share/asciidoc/stylesheets/compact.css | |||
53 | share/asciidoc/stylesheets/docbook-xsl.css | 54 | share/asciidoc/stylesheets/docbook-xsl.css | |
54 | share/asciidoc/stylesheets/xhtml-deprecated-manpage.css | 55 | share/asciidoc/stylesheets/xhtml-deprecated-manpage.css | |
55 | share/asciidoc/stylesheets/xhtml-deprecated.css | 56 | share/asciidoc/stylesheets/xhtml-deprecated.css | |
56 | share/asciidoc/stylesheets/xhtml11-manpage.css | 57 | share/asciidoc/stylesheets/xhtml11-manpage.css | |
57 | share/asciidoc/stylesheets/xhtml11-quirks.css | 58 | share/asciidoc/stylesheets/xhtml11-quirks.css | |
58 | share/asciidoc/stylesheets/xhtml11.css | 59 | share/asciidoc/stylesheets/xhtml11.css | |
59 | share/asciidoc/text.conf | 60 | share/asciidoc/text.conf | |
60 | share/asciidoc/xhtml-deprecated-css.conf | 61 | share/asciidoc/xhtml-deprecated-css.conf | |
61 | share/asciidoc/xhtml-deprecated.conf | 62 | share/asciidoc/xhtml-deprecated.conf | |
62 | share/asciidoc/xhtml11-quirks.conf | 63 | share/asciidoc/xhtml11-quirks.conf | |
63 | share/asciidoc/xhtml11.conf | 64 | share/asciidoc/xhtml11.conf | |
64 | share/doc/asciidoc/asciidoc.html | 65 | share/doc/asciidoc/asciidoc.html | |
65 | share/doc/asciidoc/asciidoc.txt | 66 | share/doc/asciidoc/asciidoc.txt | |
66 | @dirrm share/doc/asciidoc | 67 | @dirrm share/doc/asciidoc | |
67 | @dirrm share/asciidoc/stylesheets | 68 | @dirrm share/asciidoc/stylesheets | |
68 | @dirrm share/asciidoc/javascripts | 69 | @dirrm share/asciidoc/javascripts | |
69 | @dirrm share/asciidoc/images/icons/callouts | 70 | @dirrm share/asciidoc/images/icons/callouts | |
70 | @dirrm share/asciidoc/images/icons | 71 | @dirrm share/asciidoc/images/icons | |
71 | @dirrm share/asciidoc/images | 72 | @dirrm share/asciidoc/images | |
72 | @dirrm share/asciidoc/filters | 73 | @dirrm share/asciidoc/filters | |
73 | @dirrm share/asciidoc/docbook-xsl | 74 | @dirrm share/asciidoc/docbook-xsl | |
74 | @dirrm share/asciidoc | 75 | @dirrm share/asciidoc |
@@ -1,6 +1,6 @@ | @@ -1,6 +1,6 @@ | |||
1 | $NetBSD: distinfo,v 1.4 2008/06/06 19:51:14 gdt Exp $ | 1 | $NetBSD: distinfo,v 1.5 2008/06/10 13:06:30 gdt Exp $ | |
2 | 2 | |||
3 | SHA1 (asciidoc-8.2.5.tar.gz) = 792bc45a17a0b54f8744214251fb08989e178d25 | 3 | SHA1 (asciidoc-8.2.6.tar.gz) = cce98ed670c462a3a007b03b6f92d2108c5bc405 | |
4 | RMD160 (asciidoc-8.2.5.tar.gz) = 966ee7af72a3c53916e7bf6a1670f23ce739adfc | 4 | RMD160 (asciidoc-8.2.6.tar.gz) = c07d2eaa04d16275c44756236023c0789cf54310 | |
5 | Size (asciidoc-8.2.5.tar.gz) = 722902 bytes | 5 | Size (asciidoc-8.2.6.tar.gz) = 739790 bytes | |
6 | SHA1 (patch-aa) = e10d700a0206bada293ab71f64edbe50dcf4a000 | 6 | SHA1 (patch-aa) = f8e1128a7ea77a6c4bcfa023b6fcb040cc3882de |
@@ -1,25 +1,28 @@ | @@ -1,25 +1,28 @@ | |||
1 | $NetBSD: patch-aa,v 1.1 2008/06/06 19:51:14 gdt Exp $ | 1 | $NetBSD: patch-aa,v 1.2 2008/06/10 13:06:30 gdt Exp $ | |
2 | 2 | |||
3 | a2x uses the '-u' argument to cp, which POSIX does not specify: | 3 | a2x uses the '-u' argument to cp, which POSIX does not specify: | |
4 | http://www.opengroup.org/onlinepubs/009695399/utilities/cp.html | 4 | http://www.opengroup.org/onlinepubs/009695399/utilities/cp.html | |
5 | 5 | |||
6 | Filed upstream on 20080609 as | |||
7 | https://sourceforge.net/tracker/index.php?func=detail&aid=1989227&group_id=67797&atid=519005 | |||
8 | ||||
6 | --- a2x.orig 2007-10-28 23:50:53.000000000 -0400 | 9 | --- a2x.orig 2007-10-28 23:50:53.000000000 -0400 | |
7 | +++ a2x | 10 | +++ a2x | |
8 | @@ -379,7 +379,7 @@ function copy_stylesheet() | 11 | @@ -379,7 +379,7 @@ function copy_stylesheet() | |
9 | if [[ "$src" -ef "$dst" ]]; then | 12 | if [[ "$src" -ef "$dst" ]]; then | |
10 | return | 13 | return | |
11 | fi | 14 | fi | |
12 | - execute_command_2 "cp -u \"$src\" \"$dst\"" | 15 | - execute_command_2 "cp -u \"$src\" \"$dst\"" | |
13 | + execute_command_2 "cp \"$src\" \"$dst\"" | 16 | + execute_command_2 "cp \"$src\" \"$dst\"" | |
14 | } | 17 | } | |
15 | 18 | |||
16 | # Copy distribution admonition and navigation icons to destination directory | 19 | # Copy distribution admonition and navigation icons to destination directory | |
17 | @@ -405,7 +405,7 @@ function copy_icons() | 20 | @@ -405,7 +405,7 @@ function copy_icons() | |
18 | else | 21 | else | |
19 | execute_command_2 "mkdir -p \"$dst\"" | 22 | execute_command_2 "mkdir -p \"$dst\"" | |
20 | fi | 23 | fi | |
21 | - execute_command_2 "cp -rfu \"$src/\"* \"$dst\"" | 24 | - execute_command_2 "cp -rfu \"$src/\"* \"$dst\"" | |
22 | + execute_command_2 "cp -rf \"$src/\"* \"$dst\"" | 25 | + execute_command_2 "cp -rf \"$src/\"* \"$dst\"" | |
23 | } | 26 | } | |
24 | 27 | |||
25 | #-------------------------------------------------------------------- | 28 | #-------------------------------------------------------------------- |