From 2f66c454c67c1a6a04f1e74a33f37e44014da18f Mon Sep 17 00:00:00 2001 From: joerg Date: Sun, 30 Jan 2000 23:36:40 +0000 Subject: Convert LaTeX (2.09 only unfurtunately) documents to M$ RTF. --- print/latex2rtf/Makefile | 21 +++++++++++++ print/latex2rtf/distinfo | 1 + print/latex2rtf/files/patch-aa | 67 ++++++++++++++++++++++++++++++++++++++++++ print/latex2rtf/pkg-comment | 1 + print/latex2rtf/pkg-descr | 9 ++++++ print/latex2rtf/pkg-plist | 7 +++++ 6 files changed, 106 insertions(+) create mode 100644 print/latex2rtf/Makefile create mode 100644 print/latex2rtf/distinfo create mode 100644 print/latex2rtf/files/patch-aa create mode 100644 print/latex2rtf/pkg-comment create mode 100644 print/latex2rtf/pkg-descr create mode 100644 print/latex2rtf/pkg-plist diff --git a/print/latex2rtf/Makefile b/print/latex2rtf/Makefile new file mode 100644 index 0000000..e8a5690 --- /dev/null +++ b/print/latex2rtf/Makefile @@ -0,0 +1,21 @@ +# New ports collection makefile for: latex2rtf +# Version required: 1.8 +# Date created: 14 Dec 1999 +# Whom: Joerg Wunsch +# +# $FreeBSD$ +# + +DISTNAME= latex2rtf-1.8a +PKGNAME= latex2rtf-1.8 +CATEGORIES= print +MASTER_SITES= ${MASTER_SITE_TEX_CTAN} +MASTER_SITE_SUBDIR= support/latex2rtf + +MAINTAINER= joerg@FreeBSD.org + +IGNOREFILES= ${DISTNAME}${EXTRACT_SUFX} + +MAN1= latex2rtf.1 + +.include diff --git a/print/latex2rtf/distinfo b/print/latex2rtf/distinfo new file mode 100644 index 0000000..36f9f2b --- /dev/null +++ b/print/latex2rtf/distinfo @@ -0,0 +1 @@ +MD5 (latex2rtf-1.8a.tar.gz) = IGNORE diff --git a/print/latex2rtf/files/patch-aa b/print/latex2rtf/files/patch-aa new file mode 100644 index 0000000..0988030 --- /dev/null +++ b/print/latex2rtf/files/patch-aa @@ -0,0 +1,67 @@ +--- Makefile.orig Thu Nov 12 19:22:58 1998 ++++ Makefile Tue Dec 14 13:12:15 1999 +@@ -73,8 +73,6 @@ + # The Debian-specific parts of this Makefile are created by + # Erick Branderhorst. Parts are written by Ian Jackson and Ian Murdock. + # TODO: add target "changes". +-CC=gcc # C-Compiler +-CFLAGS=-g $(XCFLAGS) # Use -O here if you want it optimized + COPY=cp + INSTALL=install + DIR_MODE=755 +@@ -83,13 +81,13 @@ + DIR_USER=root + BIN_USER=root + DAT_USER=root +-DIR_GROUP=root +-BIN_GROUP=root +-DAT_GROUP=root ++DIR_GROUP=wheel ++BIN_GROUP=wheel ++DAT_GROUP=wheel + # If you have the program install, use the following definitions +-INST_DIR=$(INSTALL) -g $(DIR_GROUP) -o $(DIR_USER) -d -m $(BIN_MODE) +-INST_BIN=$(INSTALL) -g $(BIN_GROUP) -o $(BIN_USER) -m $(DIR_MODE) +-INST_DAT=$(INSTALL) -g $(DAT_GROUP) -o $(DAT_USER) -m $(DAT_MODE) ++INST_DIR=$(INSTALL) -c -g $(DIR_GROUP) -o $(DIR_USER) -d -m $(BIN_MODE) ++INST_BIN=$(INSTALL) -c -g $(BIN_GROUP) -o $(BIN_USER) -m $(DIR_MODE) ++INST_DAT=$(INSTALL) -c -g $(DAT_GROUP) -o $(DAT_USER) -m $(DAT_MODE) + CHOWN_DIR=true + CHOWN_BIN=true + CHOWN_DAT=true +@@ -115,8 +113,9 @@ + # + # Where support files are searched for by the executable + # prefix defaults to /usr/local, but may be set on the command line +-prefix=/usr/local +-LIBDIR=$(prefix)/lib/latex2rtf ++PREFIX?=/usr/local ++prefix=${PREFIX} ++LIBDIR=$(prefix)/share/latex2rtf + # You can give several Directories separated by ':' for the following + # install targets + # +@@ -160,12 +159,11 @@ + # Nothing to change below this line + SOURCES=commands.c commands.h direct.c direct.h encode.c encode.h fonts.c \ + fonts.h funct1.c funct1.h funct2.c funct2.h ignore.c ignore.h main.c \ +- main.h stack.c stack.h version.h cfg.c cfg.h Makefile README README.DOS\ ++ main.h stack.c stack.h version.h cfg.c cfg.h Makefile README \ + Copyright mygetopt.c optind.c version debian.README \ + debian.control debian.rules util.c util.h ChangeLog parser.c parser.h + SUPPORT=cfg/direct.cfg cfg/fonts.cfg cfg/ignore.cfg \ +- cfg/english.cfg cfg/german.cfg cfg/spanish.cfg \ +- l2r.bat l2r.exe ++ cfg/english.cfg cfg/german.cfg cfg/spanish.cfg + MANUALS=latex2rtf.1 + MSDOS=l2r.bat l2r.exe + DOCS=doc/latex2rtf.info doc/l2r.html doc/l2r.pdf doc/l2r.txt\ +@@ -304,7 +302,7 @@ + $(CHMOD_BIN) $(BININSTALL)/latex2rtf + $(INST_DAT) $(MANUALS) $(MANINSTALL) + +-install: complex_install ++install: complex_install install_and_delete_old_cfg + + .PHONY: install complex_install simple_install simple_cfg_install \ + install.man complex_install install_and_delete_old_cfg dist \ diff --git a/print/latex2rtf/pkg-comment b/print/latex2rtf/pkg-comment new file mode 100644 index 0000000..171e08f --- /dev/null +++ b/print/latex2rtf/pkg-comment @@ -0,0 +1 @@ +translator from LaTeX to RTF diff --git a/print/latex2rtf/pkg-descr b/print/latex2rtf/pkg-descr new file mode 100644 index 0000000..04187ee --- /dev/null +++ b/print/latex2rtf/pkg-descr @@ -0,0 +1,9 @@ +latex2rtf is a translator program that translates LaTeX text into the +RTF format used by several textprocessors, including Microsoft Word +and Word for Windows. It was written by Fernando Dorner and Andreas +Granzer in a one-semester course in our department. It was later +updated in another one-semester course by Friedrich Polzer and Gerhard +Trisko. Ralf Schlatterbeck maintained and extended +it until 1998. The current maintainer is Georg Lehner +. For the Copyright of the Program see the +file Copyright. diff --git a/print/latex2rtf/pkg-plist b/print/latex2rtf/pkg-plist new file mode 100644 index 0000000..cfc26ab --- /dev/null +++ b/print/latex2rtf/pkg-plist @@ -0,0 +1,7 @@ +bin/latex2rtf +share/latex2rtf/direct.cfg +share/latex2rtf/english.cfg +share/latex2rtf/fonts.cfg +share/latex2rtf/german.cfg +share/latex2rtf/ignore.cfg +share/latex2rtf/spanish.cfg -- cgit v1.1