summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorrillig <rillig>2006-07-10 09:28:05 +0000
committerrillig <rillig>2006-07-10 09:28:05 +0000
commit1c836fe65e187c73532e24ab2f005a77d1c44a0a (patch)
tree1b3d14736e1cf111a00b078cd376330a36cd4b4b /textproc
parent4a6339ca7f7694ca4eb4c3a883da3593efbde8da (diff)
downloadpkgsrc-1c836fe65e187c73532e24ab2f005a77d1c44a0a.tar.gz
Imported asciidoc.
The asciidoc command translates specially formatted text files into various output formats such as HTML, man pages, nicely formatted text.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/asciidoc/DESCR2
-rw-r--r--textproc/asciidoc/Makefile33
-rw-r--r--textproc/asciidoc/PLIST20
-rw-r--r--textproc/asciidoc/distinfo5
4 files changed, 60 insertions, 0 deletions
diff --git a/textproc/asciidoc/DESCR b/textproc/asciidoc/DESCR
new file mode 100644
index 00000000000..8278015da58
--- /dev/null
+++ b/textproc/asciidoc/DESCR
@@ -0,0 +1,2 @@
+The asciidoc command translates specially formatted text files into
+various output formats such as HTML, man pages, nicely formatted text.
diff --git a/textproc/asciidoc/Makefile b/textproc/asciidoc/Makefile
new file mode 100644
index 00000000000..8a60323cc07
--- /dev/null
+++ b/textproc/asciidoc/Makefile
@@ -0,0 +1,33 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/07/10 09:28:05 rillig Exp $
+#
+
+DISTNAME= asciidoc-7.1.2
+CATEGORIES= textproc
+MASTER_SITES= ${HOMEPAGE}
+
+MAINTAINER= rillig@NetBSD.org
+HOMEPAGE= http://www.methods.co.nz/asciidoc/
+COMMENT= ASCII to formatted document converter
+
+DEPENDS+= docbook-xsl-[0-9]*:../../textproc/docbook-xsl
+
+REPLACE_BASH+= a2x
+USE_TOOLS+= bash:run
+PYTHON_PATCH_SCRIPTS= asciidoc.py
+NO_BUILD= yes
+
+SUBST_CLASSES+= ad
+SUBST_STAGE.ad= pre-configure
+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
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/asciidoc.py ${PREFIX}/bin/asciidoc
+ cd ${WRKSRC} && ${PAX} -wr -pma *.conf stylesheets ${PREFIX}/share/asciidoc/.
+
+.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
new file mode 100644
index 00000000000..f7e4dbaa426
--- /dev/null
+++ b/textproc/asciidoc/PLIST
@@ -0,0 +1,20 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/07/10 09:28:05 rillig Exp $
+bin/asciidoc
+share/asciidoc/asciidoc.conf
+share/asciidoc/docbook.conf
+share/asciidoc/help.conf
+share/asciidoc/html4.conf
+share/asciidoc/linuxdoc.conf
+share/asciidoc/stylesheets/docbook-xsl.css
+share/asciidoc/stylesheets/xhtml-deprecated-manpage.css
+share/asciidoc/stylesheets/xhtml-deprecated.css
+share/asciidoc/stylesheets/xhtml11-manpage.css
+share/asciidoc/stylesheets/xhtml11-quirks.css
+share/asciidoc/stylesheets/xhtml11.css
+share/asciidoc/text.conf
+share/asciidoc/xhtml-deprecated-css.conf
+share/asciidoc/xhtml-deprecated.conf
+share/asciidoc/xhtml11-quirks.conf
+share/asciidoc/xhtml11.conf
+@dirrm share/asciidoc/stylesheets
+@dirrm share/asciidoc
diff --git a/textproc/asciidoc/distinfo b/textproc/asciidoc/distinfo
new file mode 100644
index 00000000000..f0dad5ea2f6
--- /dev/null
+++ b/textproc/asciidoc/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2006/07/10 09:28:05 rillig 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