From 6e16be5edfe32a37b3604f6c7a79ec02a75950ae Mon Sep 17 00:00:00 2001 From: rh Date: Sat, 25 May 2002 23:23:01 +0000 Subject: Initial import of tex2rtf-164, a TeX to RTF converter. Provided by collver@linuxfreemail.com -- thanks! This closes his PR pkg/14736. --- converters/tex2rtf/DESCR | 6 ++++++ converters/tex2rtf/Makefile | 22 ++++++++++++++++++++++ converters/tex2rtf/PLIST | 2 ++ converters/tex2rtf/distinfo | 6 ++++++ converters/tex2rtf/patches/patch-aa | 13 +++++++++++++ converters/tex2rtf/patches/patch-ab | 22 ++++++++++++++++++++++ 6 files changed, 71 insertions(+) create mode 100644 converters/tex2rtf/DESCR create mode 100644 converters/tex2rtf/Makefile create mode 100644 converters/tex2rtf/PLIST create mode 100644 converters/tex2rtf/distinfo create mode 100644 converters/tex2rtf/patches/patch-aa create mode 100644 converters/tex2rtf/patches/patch-ab diff --git a/converters/tex2rtf/DESCR b/converters/tex2rtf/DESCR new file mode 100644 index 00000000000..9caaea10c7e --- /dev/null +++ b/converters/tex2rtf/DESCR @@ -0,0 +1,6 @@ +Tex2RTF is a program written by Julian Smart (julian.smart@ukonline.co.uk) +to convert from a LaTeX subset to four other formats: + * Linear RTF, for importing into a wide range of word processors. + * Windows Help hypertext RTF, for compilation with HC (Help Compiler). + * HTML (Hypertext Markup Language), as used on the World Wide Web. + * XLP wxHelp format (the wxWindows toolkit help format). diff --git a/converters/tex2rtf/Makefile b/converters/tex2rtf/Makefile new file mode 100644 index 00000000000..9c4254e5a5a --- /dev/null +++ b/converters/tex2rtf/Makefile @@ -0,0 +1,22 @@ +# $NetBSD: Makefile,v 1.1.1.1 2002/05/25 23:23:01 rh Exp $ + +DISTNAME= tex2rtf164_source +PKGNAME= tex2rtf-164 +CATEGORIES= converters textproc +MASTER_SITES= ftp://www.remstar.com/pub/wxwin/tex2rtf/ \ + ftp://ftp.sunet.se/pub7/lang/wxwin/tex2rtf/ +EXTRACT_SUFX= .zip + +MAINTAINER= collver@linuxfreemail.com +HOMEPAGE= http://web.ukonline.co.uk/julian.smart/tex2rtf/ +COMMENT= LaTex-to-RTF translator + +WRKSRC= ${WRKDIR}/src + +do-build: + cd ${WRKSRC} && make -f makefile.unx nogui + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/tex2rtf_nogui ${PREFIX}/bin/tex2rtf + +.include "../../mk/bsd.pkg.mk" diff --git a/converters/tex2rtf/PLIST b/converters/tex2rtf/PLIST new file mode 100644 index 00000000000..c0edd18e936 --- /dev/null +++ b/converters/tex2rtf/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2002/05/25 23:23:01 rh Exp $ +bin/tex2rtf diff --git a/converters/tex2rtf/distinfo b/converters/tex2rtf/distinfo new file mode 100644 index 00000000000..2cb489db218 --- /dev/null +++ b/converters/tex2rtf/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2002/05/25 23:23:01 rh Exp $ + +SHA1 (tex2rtf164_source.zip) = 553e76b3ffd7e0a670427ea27a4cdaab3cee4d72 +Size (tex2rtf164_source.zip) = 310555 bytes +SHA1 (patch-aa) = 08b848150d26177e8401a0538fe9ea49395c1a5e +SHA1 (patch-ab) = fbb7a7733670acc96f86765c7c3d34baeab4a061 diff --git a/converters/tex2rtf/patches/patch-aa b/converters/tex2rtf/patches/patch-aa new file mode 100644 index 00000000000..9b00a234d7c --- /dev/null +++ b/converters/tex2rtf/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1.1.1 2002/05/25 23:23:01 rh Exp $ + +--- make.env.orig Thu Sep 12 11:58:42 1996 ++++ make.env +@@ -56,7 +56,7 @@ + # Sun with GCC: nothing + # Solaris: -lgen -ldl -lsocket -lnsl + # SGI: -lPW +-COMPLIBS=-lg++ ++COMPLIBS=-lstdc++ + + # HP-specific compiler library: an AIAI convenience + HPCOMPLIBS= diff --git a/converters/tex2rtf/patches/patch-ab b/converters/tex2rtf/patches/patch-ab new file mode 100644 index 00000000000..d4fdbbcf340 --- /dev/null +++ b/converters/tex2rtf/patches/patch-ab @@ -0,0 +1,22 @@ +$NetBSD: patch-ab,v 1.1.1.1 2002/05/25 23:23:01 rh Exp $ + +--- makefile.unx.orig Sun Nov 23 17:55:48 1997 ++++ makefile.unx +@@ -2,7 +2,7 @@ + # Valid targets: xview, motif or nogui. These should produce + # the executables tex2rtf_ol, tex2rtf_motif and tex2rtf_nogui respectively. + +-WXDIR = ../../.. ++WXDIR = .. + + # All common UNIX compiler flags and options are now in + # this central makefile. +@@ -25,7 +25,7 @@ + + TEX2ANYLIB = $(TEX2RTFDIR)/lib/libtex2any$(GUISUFFIX).a + +-INC = -I$(WXDIR)/include/base -I$(WXDIR)/include/x -I$(WXHELPDIR)/src $(COMPPATHS) ++INC = -I$(WXDIR)/include/base -I$(WXDIR)/include/x -I$(WXHELPDIR)/src -I$(WXDIR)/src/wxwin $(COMPPATHS) + + LDFLAGS = $(XLIB) -L$(WXDIR)/lib -L$(TEX2RTFDIR)/lib + -- cgit v1.2.3