diff options
author | xtraeme <xtraeme@pkgsrc.org> | 2004-02-23 08:39:00 +0000 |
---|---|---|
committer | xtraeme <xtraeme@pkgsrc.org> | 2004-02-23 08:39:00 +0000 |
commit | b4c00c20bf27c8720fa9d7fa2ab820ec93b987b1 (patch) | |
tree | cd1b1b0cbe660f91351251290d9f97480e4be7b1 | |
parent | 48adda54dbf3e9a13380b678b2c5f4371ea3057c (diff) | |
download | pkgsrc-b4c00c20bf27c8720fa9d7fa2ab820ec93b987b1.tar.gz |
Initial import of xml2doc-20030510 from pkgsrc-wip, author/packager
pancake <pancake at phreaker dot org>.
xml2doc is an xml files processor tool, that allows you to write
documents in a simple XML way and then output then in various
formats (pdf,html,txt,manpage,...). In first term is intended to
be a lightweight version of DocBook, but smaller (20KB against
100MB), faster, easy to learn, and very flexible.
-rw-r--r-- | textproc/xml2doc/DESCR | 5 | ||||
-rw-r--r-- | textproc/xml2doc/Makefile | 21 | ||||
-rw-r--r-- | textproc/xml2doc/PLIST | 13 | ||||
-rw-r--r-- | textproc/xml2doc/distinfo | 5 | ||||
-rw-r--r-- | textproc/xml2doc/patches/patch-aa | 27 |
5 files changed, 71 insertions, 0 deletions
diff --git a/textproc/xml2doc/DESCR b/textproc/xml2doc/DESCR new file mode 100644 index 00000000000..b19e35ebe8c --- /dev/null +++ b/textproc/xml2doc/DESCR @@ -0,0 +1,5 @@ +xml2doc is an xml files processor tool, that allows you to write +documents in a simple XML way and then output then in various +formats (pdf,html,txt,manpage,...). In first term is intended to +be a lightweight version of DocBook, but smaller (20KB against +100MB), faster, easy to learn, and very flexible. diff --git a/textproc/xml2doc/Makefile b/textproc/xml2doc/Makefile new file mode 100644 index 00000000000..d63414e4413 --- /dev/null +++ b/textproc/xml2doc/Makefile @@ -0,0 +1,21 @@ +# $NetBSD: Makefile,v 1.1.1.1 2004/02/23 08:39:00 xtraeme Exp $ +# + +DISTNAME= xml2doc-20030510 +WRKSRC= ${WRKDIR}/xml2doc +CATEGORIES= textproc +MASTER_SITES= http://xml2doc.sourceforge.net/src/ +EXTRACT_SUFX= .tgz + +MAINTAINER= pancake@phreaker.net +HOMEPAGE= http://xml2doc.sourceforge.net/ +COMMENT= Xml to document formats converter + +USE_BUILDLINK3= yes +USE_PKGLOCALEDIR= yes +GNU_CONFIGURE= yes +USE_GNU_TOOLS+= make + +.include "../../print/pdflib/buildlink3.mk" +.include "../../textproc/libxml2/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/textproc/xml2doc/PLIST b/textproc/xml2doc/PLIST new file mode 100644 index 00000000000..91cbceaf563 --- /dev/null +++ b/textproc/xml2doc/PLIST @@ -0,0 +1,13 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2004/02/23 08:39:00 xtraeme Exp $ +bin/xml2doc +share/doc/xml2doc/BUGS +share/doc/xml2doc/README +share/doc/xml2doc/TODO +share/doc/xml2doc/examples/align.xml +share/doc/xml2doc/examples/colors.xml +share/doc/xml2doc/examples/font.xml +share/doc/xml2doc/examples/images.xml +share/doc/xml2doc/examples/manpage.xml +man/man1/xml2doc.1 +@dirrm share/doc/xml2doc/examples +@dirrm share/doc/xml2doc diff --git a/textproc/xml2doc/distinfo b/textproc/xml2doc/distinfo new file mode 100644 index 00000000000..44ede4c0831 --- /dev/null +++ b/textproc/xml2doc/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2004/02/23 08:39:00 xtraeme Exp $ + +SHA1 (xml2doc-20030510.tgz) = 2453ff5437c40974f8804fe5907e483792ae6d2a +Size (xml2doc-20030510.tgz) = 53307 bytes +SHA1 (patch-aa) = 72daac7f1af2278957f00622bafd44657ed1fea8 diff --git a/textproc/xml2doc/patches/patch-aa b/textproc/xml2doc/patches/patch-aa new file mode 100644 index 00000000000..decd3503b31 --- /dev/null +++ b/textproc/xml2doc/patches/patch-aa @@ -0,0 +1,27 @@ +$NetBSD: patch-aa,v 1.1.1.1 2004/02/23 08:39:00 xtraeme Exp $ + +--- doc/Makefile.in.orig 2004-02-23 09:26:44.000000000 +0100 ++++ doc/Makefile.in 2004-02-23 09:31:00.000000000 +0100 +@@ -9,7 +9,6 @@ + export PATH=$(PATH):$(PWD)/src/ ; + for A in *.xml; do xml2doc -oP $$A $$A.pdf ; done ; + xml2doc -oM manpage.xml manpage.man ; +- gzip manpage.man ; + @printf "\e[32mDONE\e[0m\n" + + mrproper: clean +@@ -21,10 +20,10 @@ + install: build + @printf "\e[32mInstalling documentation...\e[0m\n" + @mkdir -p $(PREFIX)/share/man/man1 +- cp -f manpage.man.gz $(PREFIX)/share/man/man1/xml2doc.1.gz +- gzip -f $(PREFIX)/share/man/man1/xml2doc.1 +- @mkdir -p $(PREFIX)/share/doc/xml2doc +- for A in $(DOCS); do cp -f $$A $(PREFIX)/share/doc/xml2doc/ ;done ++ $(BSD_INSTALL_MAN) manpage.man $(PREFIX)/man/man1/xml2doc.1 ++ @$(BSD_INSTALL_DATA_DIR) $(PREFIX)/share/doc/xml2doc ++ for A in $(DOCS); do $(BSD_INSTALL_DATA) $$A \ ++ $(PREFIX)/share/doc/xml2doc/ ;done + + remove: + @printf "\e[32mDeinstalling documentation...\e[0m\n" |