summaryrefslogtreecommitdiff
path: root/textproc/asciidoc
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/asciidoc')
-rw-r--r--textproc/asciidoc/DESCR3
-rw-r--r--textproc/asciidoc/Makefile27
-rw-r--r--textproc/asciidoc/PLIST49
-rw-r--r--textproc/asciidoc/distinfo8
4 files changed, 75 insertions, 12 deletions
diff --git a/textproc/asciidoc/DESCR b/textproc/asciidoc/DESCR
index 8278015da58..1ee3ccf02e0 100644
--- a/textproc/asciidoc/DESCR
+++ b/textproc/asciidoc/DESCR
@@ -1,2 +1,3 @@
The asciidoc command translates specially formatted text files into
-various output formats such as HTML, man pages, nicely formatted text.
+various output formats such as HTML, docbook, LaTeX (experimental),
+man pages, and nicely formatted text.
diff --git a/textproc/asciidoc/Makefile b/textproc/asciidoc/Makefile
index 8a60323cc07..f0335d4caee 100644
--- a/textproc/asciidoc/Makefile
+++ b/textproc/asciidoc/Makefile
@@ -1,9 +1,10 @@
-# $NetBSD: Makefile,v 1.1.1.1 2006/07/10 09:28:05 rillig Exp $
+# $NetBSD: Makefile,v 1.2 2006/11/17 20:43:48 reed Exp $
#
-DISTNAME= asciidoc-7.1.2
+DISTNAME= asciidoc-8.1.0
CATEGORIES= textproc
-MASTER_SITES= ${HOMEPAGE}
+MASTER_SITES= ${HOMEPAGE} \
+ ${MASTER_SITE_SOURCEFORGE:=asciidoc/}
MAINTAINER= rillig@NetBSD.org
HOMEPAGE= http://www.methods.co.nz/asciidoc/
@@ -22,12 +23,26 @@ SUBST_MESSAGE.ad= Fixing hard-coded paths.
SUBST_FILES.ad= asciidoc.py
SUBST_SED.ad= -e 's,^\(GLOBAL_CONFIG_DIR\).*=.*,\1 = "${PREFIX}/share/asciidoc",'
-INSTALLATION_DIRS= bin share/asciidoc
+INSTALLATION_DIRS= bin share/asciidoc share/asciidoc/filters \
+ share/asciidoc/docbook-xsl share/asciidoc/stylesheets \
+ share/asciidoc/javascripts \
+ share/asciidoc/images/icons/callouts \
+ ${PKGMANDIR}/man1
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/asciidoc.py ${PREFIX}/bin/asciidoc
- cd ${WRKSRC} && ${PAX} -wr -pma *.conf stylesheets ${PREFIX}/share/asciidoc/.
-
+ ${INSTALL_SCRIPT} ${WRKSRC}/a2x ${PREFIX}/bin/a2x
+ ${INSTALL_MAN} ${WRKSRC}/doc/asciidoc.1 ${PREFIX}/${PKGMANDIR}/man1/
+ ${INSTALL_MAN} ${WRKSRC}/doc/a2x.1 ${PREFIX}/${PKGMANDIR}/man1/
+ cd ${WRKSRC} && ${PAX} -wr -pma *.conf stylesheets filters/*.py \
+ filters/*.conf docbook-xsl/*.xsl stylesheets/*.css \
+ javascripts/*.js images/icons/callouts/* images/icons/*.png \
+ ${PREFIX}/share/asciidoc/.
+
+do-test:
+ cd ${WRKSRC} && ./asciidoc.py -v doc/asciidoc.txt
+
+# requires Python 2.3 or newer
.include "../../lang/python/application.mk"
.include "../../textproc/libxslt/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/asciidoc/PLIST b/textproc/asciidoc/PLIST
index f7e4dbaa426..31084026392 100644
--- a/textproc/asciidoc/PLIST
+++ b/textproc/asciidoc/PLIST
@@ -1,9 +1,51 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2006/07/10 09:28:05 rillig Exp $
+@comment $NetBSD: PLIST,v 1.2 2006/11/17 20:43:48 reed Exp $
+bin/a2x
bin/asciidoc
+man/man1/a2x.1
+man/man1/asciidoc.1
share/asciidoc/asciidoc.conf
+share/asciidoc/docbook-xsl/chunked.xsl
+share/asciidoc/docbook-xsl/common.xsl
+share/asciidoc/docbook-xsl/fo.xsl
+share/asciidoc/docbook-xsl/htmlhelp.xsl
+share/asciidoc/docbook-xsl/manpage.xsl
+share/asciidoc/docbook-xsl/xhtml.xsl
share/asciidoc/docbook.conf
+share/asciidoc/filters/code-filter.conf
+share/asciidoc/filters/code-filter.py
+share/asciidoc/filters/music-filter.conf
+share/asciidoc/filters/music2png.py
+share/asciidoc/filters/source-highlight-filter.conf
share/asciidoc/help.conf
share/asciidoc/html4.conf
+share/asciidoc/images/icons/callouts/1.png
+share/asciidoc/images/icons/callouts/10.png
+share/asciidoc/images/icons/callouts/11.png
+share/asciidoc/images/icons/callouts/12.png
+share/asciidoc/images/icons/callouts/13.png
+share/asciidoc/images/icons/callouts/14.png
+share/asciidoc/images/icons/callouts/15.png
+share/asciidoc/images/icons/callouts/2.png
+share/asciidoc/images/icons/callouts/3.png
+share/asciidoc/images/icons/callouts/4.png
+share/asciidoc/images/icons/callouts/5.png
+share/asciidoc/images/icons/callouts/6.png
+share/asciidoc/images/icons/callouts/7.png
+share/asciidoc/images/icons/callouts/8.png
+share/asciidoc/images/icons/callouts/9.png
+share/asciidoc/images/icons/caution.png
+share/asciidoc/images/icons/example.png
+share/asciidoc/images/icons/home.png
+share/asciidoc/images/icons/important.png
+share/asciidoc/images/icons/next.png
+share/asciidoc/images/icons/note.png
+share/asciidoc/images/icons/prev.png
+share/asciidoc/images/icons/tip.png
+share/asciidoc/images/icons/up.png
+share/asciidoc/images/icons/warning.png
+share/asciidoc/javascripts/ASCIIMathML.js
+share/asciidoc/javascripts/toc.js
+share/asciidoc/latex.conf
share/asciidoc/linuxdoc.conf
share/asciidoc/stylesheets/docbook-xsl.css
share/asciidoc/stylesheets/xhtml-deprecated-manpage.css
@@ -17,4 +59,9 @@ share/asciidoc/xhtml-deprecated.conf
share/asciidoc/xhtml11-quirks.conf
share/asciidoc/xhtml11.conf
@dirrm share/asciidoc/stylesheets
+@dirrm share/asciidoc/javascripts
+@dirrm share/asciidoc/images/icons/callouts
+@dirrm share/asciidoc/images/icons
+@dirrm share/asciidoc/filters
+@dirrm share/asciidoc/docbook-xsl
@dirrm share/asciidoc
diff --git a/textproc/asciidoc/distinfo b/textproc/asciidoc/distinfo
index f0dad5ea2f6..35d24e3dc02 100644
--- a/textproc/asciidoc/distinfo
+++ b/textproc/asciidoc/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.1.1.1 2006/07/10 09:28:05 rillig Exp $
+$NetBSD: distinfo,v 1.2 2006/11/17 20:43:48 reed Exp $
-SHA1 (asciidoc-7.1.2.tar.gz) = 51e5b49474065cd5b3feeb451252f97695216fc3
-RMD160 (asciidoc-7.1.2.tar.gz) = ca7d08c3b469b6c3d08f433e40100626e33739df
-Size (asciidoc-7.1.2.tar.gz) = 732871 bytes
+SHA1 (asciidoc-8.1.0.tar.gz) = 72eccad4e71b4aad294cb6c9200fffa490e034ae
+RMD160 (asciidoc-8.1.0.tar.gz) = 1f041b7dc56dd2b9c5db4b1d5ac310cce470db38
+Size (asciidoc-8.1.0.tar.gz) = 761244 bytes