pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/asciidoc Imported asciidoc.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/72d7f6c2fcb1
branches:  trunk
changeset: 515872:72d7f6c2fcb1
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Mon Jul 10 09:28:05 2006 +0000

description:
Imported asciidoc.

The asciidoc command translates specially formatted text files into
various output formats such as HTML, man pages, nicely formatted text.

diffstat:

 textproc/asciidoc/DESCR    |   2 ++
 textproc/asciidoc/Makefile |  33 +++++++++++++++++++++++++++++++++
 textproc/asciidoc/PLIST    |  20 ++++++++++++++++++++
 textproc/asciidoc/distinfo |   5 +++++
 4 files changed, 60 insertions(+), 0 deletions(-)

diffs (76 lines):

diff -r af57ad0d46fd -r 72d7f6c2fcb1 textproc/asciidoc/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/asciidoc/DESCR   Mon Jul 10 09:28:05 2006 +0000
@@ -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 -r af57ad0d46fd -r 72d7f6c2fcb1 textproc/asciidoc/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/asciidoc/Makefile        Mon Jul 10 09:28:05 2006 +0000
@@ -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@localhost
+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 -r af57ad0d46fd -r 72d7f6c2fcb1 textproc/asciidoc/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/asciidoc/PLIST   Mon Jul 10 09:28:05 2006 +0000
@@ -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 -r af57ad0d46fd -r 72d7f6c2fcb1 textproc/asciidoc/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/asciidoc/distinfo        Mon Jul 10 09:28:05 2006 +0000
@@ -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



Home | Main Index | Thread Index | Old Index