diff options
author | ijliao <ijliao@FreeBSD.org> | 2003-04-01 18:08:02 +0800 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2003-04-01 18:08:02 +0800 |
commit | 8f87bab08be58f7bd7474f0ccd1ab0aaea6657c4 (patch) | |
tree | f51948614a5fa2f977ea5487d9de972bd6c50120 /textproc | |
parent | 15189bbfa3f8066dbcf696025af62e5cae7b8847 (diff) | |
download | freebsd-ports-gnome-8f87bab08be58f7bd7474f0ccd1ab0aaea6657c4.tar.gz freebsd-ports-gnome-8f87bab08be58f7bd7474f0ccd1ab0aaea6657c4.tar.zst freebsd-ports-gnome-8f87bab08be58f7bd7474f0ccd1ab0aaea6657c4.zip |
add doclifter 1.0.4
Translates documents written in troff macros to DocBook
Diffstat (limited to 'textproc')
-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 |