pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/xml2doc Initial import of xml2doc-20030510 fr...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c058d45e5200
branches:  trunk
changeset: 469424:c058d45e5200
user:      xtraeme <xtraeme%pkgsrc.org@localhost>
date:      Mon Feb 23 08:39:00 2004 +0000

description:
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.

diffstat:

 textproc/xml2doc/DESCR            |   5 +++++
 textproc/xml2doc/Makefile         |  21 +++++++++++++++++++++
 textproc/xml2doc/PLIST            |  13 +++++++++++++
 textproc/xml2doc/distinfo         |   5 +++++
 textproc/xml2doc/patches/patch-aa |  27 +++++++++++++++++++++++++++
 5 files changed, 71 insertions(+), 0 deletions(-)

diffs (91 lines):

diff -r e3dd25421d02 -r c058d45e5200 textproc/xml2doc/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/xml2doc/DESCR    Mon Feb 23 08:39:00 2004 +0000
@@ -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 -r e3dd25421d02 -r c058d45e5200 textproc/xml2doc/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/xml2doc/Makefile Mon Feb 23 08:39:00 2004 +0000
@@ -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@localhost
+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 -r e3dd25421d02 -r c058d45e5200 textproc/xml2doc/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/xml2doc/PLIST    Mon Feb 23 08:39:00 2004 +0000
@@ -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 -r e3dd25421d02 -r c058d45e5200 textproc/xml2doc/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/xml2doc/distinfo Mon Feb 23 08:39:00 2004 +0000
@@ -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 -r e3dd25421d02 -r c058d45e5200 textproc/xml2doc/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/xml2doc/patches/patch-aa Mon Feb 23 08:39:00 2004 +0000
@@ -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"



Home | Main Index | Thread Index | Old Index