pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/doclifter initial import of doclifter 1.6



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5498968f42f4
branches:  trunk
changeset: 466376:5498968f42f4
user:      recht <recht%pkgsrc.org@localhost>
date:      Sat Jan 17 01:07:14 2004 +0000

description:
initial import of doclifter 1.6

The doclifter program translates documents written in troff macros to DocBook.

Lifting documents from presentation level to semantic level is hard, and
a really good job requires human polishing. This tool aims to do everything
that can be mechanized, and to preserve any troff-level information that might
have structural implications in XML comments.

This tool does most of the hard parts, but not all. TBL tables diagrams are
translated into DocBook table markup and and PIC into SVG, but EQN is not
translated.

Test loads are included in the distribution. The code has been tested in about
the most brutal possible way; it has been run against every single man page
in all sections of a full installation of Red Hat 9 with Fedore Core 1 updates.
It lifts 96% of 9836 pages without requiring any hand-hacking required.

diffstat:

 textproc/doclifter/DESCR    |  15 +++++++++++++++
 textproc/doclifter/Makefile |  23 +++++++++++++++++++++++
 textproc/doclifter/PLIST    |   3 +++
 textproc/doclifter/distinfo |   4 ++++
 4 files changed, 45 insertions(+), 0 deletions(-)

diffs (61 lines):

diff -r 096cd8693c8f -r 5498968f42f4 textproc/doclifter/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/doclifter/DESCR  Sat Jan 17 01:07:14 2004 +0000
@@ -0,0 +1,15 @@
+The doclifter program translates documents written in troff macros to DocBook.
+
+Lifting documents from presentation level to semantic level is hard, and
+a really good job requires human polishing. This tool aims to do everything
+that can be mechanized, and to preserve any troff-level information that might
+have structural implications in XML comments.
+
+This tool does most of the hard parts, but not all. TBL tables diagrams are
+translated into DocBook table markup and and PIC into SVG, but EQN is not
+translated.
+
+Test loads are included in the distribution. The code has been tested in about
+the most brutal possible way; it has been run against every single man page
+in all sections of a full installation of Red Hat 9 with Fedore Core 1 updates.
+It lifts 96% of 9836 pages without requiring any hand-hacking required.
diff -r 096cd8693c8f -r 5498968f42f4 textproc/doclifter/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/doclifter/Makefile       Sat Jan 17 01:07:14 2004 +0000
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/01/17 01:07:14 recht Exp $
+#
+
+DISTNAME=      doclifter-1.6
+CATEGORIES=    textproc
+MASTER_SITES=  http://catb.org/~esr/doclifter/
+
+MAINTAINER=    recht%NetBSD.org@localhost
+HOMEPAGE=      http://catb.org/~esr/doclifter/
+COMMENT=       Translates documents written in troff macros to DocBook
+
+NO_BUILD=      yes
+USE_BUILDLINK2=        yes
+
+PYTHON_PATCH_SCRIPTS=          doclifter
+PYTHON_VERSIONS_ACCEPTED=      23pth 23 22pth 22
+
+do-install:
+       ${INSTALL_SCRIPT} ${WRKSRC}/doclifter ${PREFIX}/bin
+       ${INSTALL_MAN} ${WRKSRC}/doclifter.1 ${PREFIX}/man/man1
+
+.include "../../lang/python/application.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 096cd8693c8f -r 5498968f42f4 textproc/doclifter/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/doclifter/PLIST  Sat Jan 17 01:07:14 2004 +0000
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/01/17 01:07:14 recht Exp $
+bin/doclifter
+man/man1/doclifter.1
diff -r 096cd8693c8f -r 5498968f42f4 textproc/doclifter/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/doclifter/distinfo       Sat Jan 17 01:07:14 2004 +0000
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/01/17 01:07:14 recht Exp $
+
+SHA1 (doclifter-1.6.tar.gz) = 21d680e102f5bcd61d3d7d57880e28c881841bb4
+Size (doclifter-1.6.tar.gz) = 100567 bytes



Home | Main Index | Thread Index | Old Index