diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2003-04-01 10:08:02 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2003-04-01 10:08:02 +0000 |
commit | 88cc25d7f323ccff0eba4c858ce2bcfccbc30afb (patch) | |
tree | 933f6b0bf352e4e57ce8323dfd1b7135e8239553 | |
parent | upgrade to 2.6b5 (diff) |
add doclifter 1.0.4
Translates documents written in troff macros to DocBook
Notes
Notes:
svn path=/head/; revision=77909
-rw-r--r-- | textproc/Makefile | 1 | ||||
-rw-r--r-- | textproc/doclifter/Makefile | 30 | ||||
-rw-r--r-- | textproc/doclifter/distinfo | 1 | ||||
-rw-r--r-- | textproc/doclifter/pkg-descr | 11 | ||||
-rw-r--r-- | textproc/doclifter/pkg-plist | 1 |
5 files changed, 44 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile index 08e5840a5254..e3733ead948f 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -53,6 +53,7 @@ SUBDIR += docbook-xml SUBDIR += docbook-xsl SUBDIR += docbookide.el + SUBDIR += doclifter SUBDIR += docproj SUBDIR += docproj-jadetex SUBDIR += docproj-nojadetex diff --git a/textproc/doclifter/Makefile b/textproc/doclifter/Makefile new file mode 100644 index 000000000000..40f198f0e9b2 --- /dev/null +++ b/textproc/doclifter/Makefile @@ -0,0 +1,30 @@ +# ex:ts=8 +# Ports collection makefile for: doclifter +# Date created: Apr 1, 2003 +# Whom: ijliao +# +# $FreeBSD$ +# + +PORTNAME= doclifter +PORTVERSION= 1.0.4 +CATEGORIES= textproc +MASTER_SITES= http://www.catb.org/~esr/doclifter/ + +MAINTAINER= ports@FreeBSD.org +COMMENT= Translates documents written in troff macros to DocBook + +USE_REINPLACE= yes +USE_PYTHON= yes +NO_BUILD= yes + +MAN1= doclifter.1 + +post-patch: + @${REINPLACE_CMD} -e "s,python2,${PYTHON_CMD},g" ${WRKSRC}/doclifter + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/doclifter ${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/doclifter.1 ${MANPREFIX}/man/man1 + +.include <bsd.port.mk> diff --git a/textproc/doclifter/distinfo b/textproc/doclifter/distinfo new file mode 100644 index 000000000000..43498a299d2e --- /dev/null +++ b/textproc/doclifter/distinfo @@ -0,0 +1 @@ +MD5 (doclifter-1.0.4.tar.gz) = 18d26400fa7f9b724fc03e528b6911aa diff --git a/textproc/doclifter/pkg-descr b/textproc/doclifter/pkg-descr new file mode 100644 index 000000000000..1ac921a000d5 --- /dev/null +++ b/textproc/doclifter/pkg-descr @@ -0,0 +1,11 @@ +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 some of the hard parts, but not all. TBL tables are translated +into DocBook table markup, but EQN and PIC are not translated (yet). + +WWW: http://www.catb.org/~esr/doclifter/ diff --git a/textproc/doclifter/pkg-plist b/textproc/doclifter/pkg-plist new file mode 100644 index 000000000000..cc8941255a75 --- /dev/null +++ b/textproc/doclifter/pkg-plist @@ -0,0 +1 @@ +bin/doclifter |