diff options
author | anholt <anholt@FreeBSD.org> | 2006-02-15 10:22:31 +0800 |
---|---|---|
committer | anholt <anholt@FreeBSD.org> | 2006-02-15 10:22:31 +0800 |
commit | 7479a831c7ffa0b1a46e01f0dc90b68723198b2d (patch) | |
tree | 20d0625779a5f21c2c625993bc02b8e61c85f45f /textproc | |
parent | 3e89935511dcf52e1631e2a38b546a95c749ebaa (diff) | |
download | freebsd-ports-gnome-7479a831c7ffa0b1a46e01f0dc90b68723198b2d.tar.gz freebsd-ports-gnome-7479a831c7ffa0b1a46e01f0dc90b68723198b2d.tar.zst freebsd-ports-gnome-7479a831c7ffa0b1a46e01f0dc90b68723198b2d.zip |
New port: asciidoc, a tool to create man, html, pdf, etc. from short, formatted
plain-text documents.
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/Makefile | 1 | ||||
-rw-r--r-- | textproc/asciidoc/Makefile | 57 | ||||
-rw-r--r-- | textproc/asciidoc/distinfo | 3 | ||||
-rw-r--r-- | textproc/asciidoc/pkg-descr | 8 | ||||
-rw-r--r-- | textproc/asciidoc/pkg-plist | 58 |
5 files changed, 127 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile index d717e14894a9..7d8bb8275506 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -17,6 +17,7 @@ SUBDIR += antiword SUBDIR += archmage SUBDIR += ascii2pdf + SUBDIR += asciidoc SUBDIR += asm2html SUBDIR += aspell SUBDIR += az-aspell diff --git a/textproc/asciidoc/Makefile b/textproc/asciidoc/Makefile new file mode 100644 index 000000000000..898d3b62636c --- /dev/null +++ b/textproc/asciidoc/Makefile @@ -0,0 +1,57 @@ +# New ports collection makefile for: asciidoc +# Date created: 9 Feb 2006 +# Whom: anholt@FreeBSD.org +# +# $FreeBSD$ +# + +PORTNAME= asciidoc +PORTVERSION= 7.1.0 +CATEGORIES= textproc +MASTER_SITES= http://www.methods.co.nz/asciidoc/ +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} + +MAINTAINER= anholt@FreeBSD.org +COMMENT= A text document format for writing short documents and man pages + +USE_PYTHON= yes + +NO_BUILD= yes + +MAN1= a2x.1 asciidoc.1 + +pre-patch: + ${REINPLACE_CMD} \ + -e "s|/bin/bash|/usr/bin/env bash|g" \ + -e "s|/etc/asciidoc|${PREFIX}/etc/asciidoc|g" \ + ${WRKSRC}/a2x + ${REINPLACE_CMD} \ + -e "s|/etc/asciidoc|${PREFIX}/etc/asciidoc|g" \ + ${WRKSRC}/asciidoc.py + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/asciidoc.py ${PREFIX}/bin/asciidoc + ${INSTALL_SCRIPT} ${WRKSRC}/a2x ${PREFIX}/bin + ${MKDIR} ${PREFIX}/etc/asciidoc + ${INSTALL_DATA} ${WRKSRC}/*.conf ${PREFIX}/etc/asciidoc + ${MKDIR} ${PREFIX}/etc/asciidoc/filters + ${INSTALL_DATA} ${WRKSRC}/filters/code-filter.conf \ + ${PREFIX}/etc/asciidoc/filters + ${INSTALL_SCRIPT} ${WRKSRC}/filters/code-filter.py \ + ${PREFIX}/etc/asciidoc/filters + ${MKDIR} ${PREFIX}/etc/asciidoc/docbook-xsl + ${INSTALL_DATA} ${WRKSRC}/docbook-xsl/*.xsl \ + ${PREFIX}/etc/asciidoc/docbook-xsl + ${MKDIR} ${PREFIX}/etc/asciidoc/stylesheets + ${INSTALL_DATA} ${WRKSRC}/stylesheets/*.css \ + ${PREFIX}/etc/asciidoc/stylesheets + ${MKDIR} ${PREFIX}/etc/asciidoc/images/icons/callouts + ${INSTALL_DATA} ${WRKSRC}/images/icons/*.png \ + ${PREFIX}/etc/asciidoc/images/icons + ${INSTALL_DATA} ${WRKSRC}/images/icons/callouts/* \ + ${PREFIX}/etc/asciidoc/images/icons/callouts + ${INSTALL_MAN} ${WRKSRC}/doc/a2x.1 ${WRKSRC}/doc/asciidoc.1 \ + ${PREFIX}/man/man1 + +.include <bsd.port.mk> diff --git a/textproc/asciidoc/distinfo b/textproc/asciidoc/distinfo new file mode 100644 index 000000000000..8e1d23511b84 --- /dev/null +++ b/textproc/asciidoc/distinfo @@ -0,0 +1,3 @@ +MD5 (asciidoc-7.1.0.tar.gz) = f23bb80417767ac4f0b8006e5a7e1f43 +SHA256 (asciidoc-7.1.0.tar.gz) = 5c7cc48fcf90afc2f44643a7baeda99b05455bb8ae0eb4539bb25b54c37eabfa +SIZE (asciidoc-7.1.0.tar.gz) = 694184 diff --git a/textproc/asciidoc/pkg-descr b/textproc/asciidoc/pkg-descr new file mode 100644 index 000000000000..8bc759f5cb8d --- /dev/null +++ b/textproc/asciidoc/pkg-descr @@ -0,0 +1,8 @@ +AsciiDoc is a text document format for writing short documents, articles, books +and UNIX man pages. AsciiDoc files can be translated to HTML and DocBook +markups using the asciidoc(1) command. + +WWW: http://www.methods.co.nz/asciidoc/ + +- Eric Anholt +anholt@FreeBSD.org diff --git a/textproc/asciidoc/pkg-plist b/textproc/asciidoc/pkg-plist new file mode 100644 index 000000000000..3c9921fa8c08 --- /dev/null +++ b/textproc/asciidoc/pkg-plist @@ -0,0 +1,58 @@ +bin/a2x +bin/asciidoc +etc/asciidoc/asciidoc.conf +etc/asciidoc/docbook-xsl/chunked.xsl +etc/asciidoc/docbook-xsl/common.xsl +etc/asciidoc/docbook-xsl/fo.xsl +etc/asciidoc/docbook-xsl/htmlhelp.xsl +etc/asciidoc/docbook-xsl/manpage.xsl +etc/asciidoc/docbook-xsl/xhtml.xsl +etc/asciidoc/docbook.conf +etc/asciidoc/filters/code-filter.conf +etc/asciidoc/filters/code-filter.py +etc/asciidoc/help.conf +etc/asciidoc/html4.conf +etc/asciidoc/images/icons/callouts/1.png +etc/asciidoc/images/icons/callouts/10.png +etc/asciidoc/images/icons/callouts/11.png +etc/asciidoc/images/icons/callouts/12.png +etc/asciidoc/images/icons/callouts/13.png +etc/asciidoc/images/icons/callouts/14.png +etc/asciidoc/images/icons/callouts/15.png +etc/asciidoc/images/icons/callouts/2.png +etc/asciidoc/images/icons/callouts/3.png +etc/asciidoc/images/icons/callouts/4.png +etc/asciidoc/images/icons/callouts/5.png +etc/asciidoc/images/icons/callouts/6.png +etc/asciidoc/images/icons/callouts/7.png +etc/asciidoc/images/icons/callouts/8.png +etc/asciidoc/images/icons/callouts/9.png +etc/asciidoc/images/icons/caution.png +etc/asciidoc/images/icons/example.png +etc/asciidoc/images/icons/home.png +etc/asciidoc/images/icons/important.png +etc/asciidoc/images/icons/next.png +etc/asciidoc/images/icons/note.png +etc/asciidoc/images/icons/prev.png +etc/asciidoc/images/icons/tip.png +etc/asciidoc/images/icons/up.png +etc/asciidoc/images/icons/warning.png +etc/asciidoc/linuxdoc.conf +etc/asciidoc/stylesheets/docbook-xsl.css +etc/asciidoc/stylesheets/xhtml-deprecated-manpage.css +etc/asciidoc/stylesheets/xhtml-deprecated.css +etc/asciidoc/stylesheets/xhtml11-manpage.css +etc/asciidoc/stylesheets/xhtml11-quirks.css +etc/asciidoc/stylesheets/xhtml11.css +etc/asciidoc/text.conf +etc/asciidoc/xhtml-deprecated-css.conf +etc/asciidoc/xhtml-deprecated.conf +etc/asciidoc/xhtml11-quirks.conf +etc/asciidoc/xhtml11.conf +@dirrm etc/asciidoc/docbook-xsl +@dirrm etc/asciidoc/filters +@dirrm etc/asciidoc/images/icons/callouts +@dirrm etc/asciidoc/images/icons +@dirrm etc/asciidoc/images +@dirrm etc/asciidoc/stylesheets +@dirrm etc/asciidoc |