summaryrefslogtreecommitdiff
path: root/converters
diff options
context:
space:
mode:
authorwiz <wiz>2000-03-08 00:20:16 +0000
committerwiz <wiz>2000-03-08 00:20:16 +0000
commitb2020fb0676e84e26d0790a0b3bf2cbfec5f9872 (patch)
treea6288a521682fdbbd0027a01ebaa0894a8f0d127 /converters
parentfcc24c0209750e56ac5c89678fa60c1a3e7c5705 (diff)
downloadpkgsrc-b2020fb0676e84e26d0790a0b3bf2cbfec5f9872.tar.gz
Initial import of latex2rtf, based on pkg/9563 by
Brook Milligan <brook@biology.nmsu.edu>
Diffstat (limited to 'converters')
-rw-r--r--converters/latex2rtf/Makefile30
-rw-r--r--converters/latex2rtf/files/md53
-rw-r--r--converters/latex2rtf/files/patch-sum3
-rw-r--r--converters/latex2rtf/patches/patch-aa44
-rw-r--r--converters/latex2rtf/pkg/COMMENT1
-rw-r--r--converters/latex2rtf/pkg/DESCR5
-rw-r--r--converters/latex2rtf/pkg/PLIST16
7 files changed, 102 insertions, 0 deletions
diff --git a/converters/latex2rtf/Makefile b/converters/latex2rtf/Makefile
new file mode 100644
index 00000000000..256da9ffddf
--- /dev/null
+++ b/converters/latex2rtf/Makefile
@@ -0,0 +1,30 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/03/08 00:20:16 wiz Exp $
+#
+
+DISTNAME= latex2rtf-1.8aa
+PKGNAME= latex2rtf-1.8a
+CATEGORIES= print
+MASTER_SITES= ${MASTER_SITE_TEX_CTAN:=support/latex2rtf/}
+
+MAINTAINER= brook@nmsu.edu
+HOMEPAGE= http://www.kfa-juelich.de/isr/1/texconv/latex2rtf.html
+
+INFO_FILES= latex2rtf.info
+
+INSTALL_TARGET= simple_install simple_cfg_install
+
+post-extract:
+ ${CP} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.in
+ ${RM} -f ${WRKSRC}/*.o
+
+do-configure:
+ ${SED} < ${WRKSRC}/${MAKEFILE}.in > ${WRKSRC}/${MAKEFILE} \
+ -e 's:@PREFIX@:${PREFIX}:'
+
+post-install:
+ for f in ${INFO_FILES}; do ${INSTALL_DATA} ${WRKSRC}/doc/$$f ${PREFIX}/info/$$f; done
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/latex2rtf
+ ${INSTALL_DATA} ${WRKSRC}/doc/l2r.html ${PREFIX}/share/doc/latex2rtf/latex2rtf.html
+ ${INSTALL_DATA} ${WRKSRC}/doc/l2r.pdf ${PREFIX}/share/doc/latex2rtf/latex2rtf.pdf
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/converters/latex2rtf/files/md5 b/converters/latex2rtf/files/md5
new file mode 100644
index 00000000000..0b493fd31f2
--- /dev/null
+++ b/converters/latex2rtf/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2000/03/08 00:20:17 wiz Exp $
+
+MD5 (latex2rtf-1.8aa.tar.gz) = 29aae0b2355aee4cb4827b688ff12dea
diff --git a/converters/latex2rtf/files/patch-sum b/converters/latex2rtf/files/patch-sum
new file mode 100644
index 00000000000..ef6bc85fd48
--- /dev/null
+++ b/converters/latex2rtf/files/patch-sum
@@ -0,0 +1,3 @@
+$NetBSD: patch-sum,v 1.1.1.1 2000/03/08 00:20:17 wiz Exp $
+
+MD5 (patch-aa) = 226a8e16e171afe703c48bf0e24cf640
diff --git a/converters/latex2rtf/patches/patch-aa b/converters/latex2rtf/patches/patch-aa
new file mode 100644
index 00000000000..ab16ee4603b
--- /dev/null
+++ b/converters/latex2rtf/patches/patch-aa
@@ -0,0 +1,44 @@
+$NetBSD: patch-aa,v 1.1.1.1 2000/03/08 00:20:17 wiz Exp $
+
+--- ./Makefile.in.orig Tue Mar 7 23:37:35 2000
++++ ./Makefile.in Tue Mar 7 23:45:10 2000
+@@ -83,13 +83,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 +115,8 @@
+ #
+ # 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=@PREFIX@
++LIBDIR=$(prefix)/share/latex2rtf
+ # You can give several Directories separated by ':' for the following
+ # install targets
+ #
+@@ -165,7 +165,7 @@
+ 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
++# l2r.bat l2r.exe
+ MANUALS=latex2rtf.1
+ MSDOS=l2r.bat l2r.exe
+ DOCS=doc/latex2rtf.info doc/l2r.html doc/l2r.pdf doc/l2r.txt\
diff --git a/converters/latex2rtf/pkg/COMMENT b/converters/latex2rtf/pkg/COMMENT
new file mode 100644
index 00000000000..bb856bab169
--- /dev/null
+++ b/converters/latex2rtf/pkg/COMMENT
@@ -0,0 +1 @@
+LaTeX to RTF converter
diff --git a/converters/latex2rtf/pkg/DESCR b/converters/latex2rtf/pkg/DESCR
new file mode 100644
index 00000000000..f545309dade
--- /dev/null
+++ b/converters/latex2rtf/pkg/DESCR
@@ -0,0 +1,5 @@
+latex2rtf - Converts LaTeX file to RTF text-format
+
+The latex2rtf command converts a LaTeX file into RTF text format. The
+text and much of the formatting information is translated to RTF
+making the new file look very similar to the original.
diff --git a/converters/latex2rtf/pkg/PLIST b/converters/latex2rtf/pkg/PLIST
new file mode 100644
index 00000000000..9570b940ca5
--- /dev/null
+++ b/converters/latex2rtf/pkg/PLIST
@@ -0,0 +1,16 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2000/03/08 00:20:16 wiz Exp $
+bin/latex2rtf
+@unexec install-info --delete %D/info/latex2rtf.info %D/info/dir
+info/latex2rtf.info
+@exec install-info %D/info/latex2rtf.info %D/info/dir
+share/latex2rtf/direct.cfg
+share/latex2rtf/english.cfg
+share/latex2rtf/fonts.cfg
+share/latex2rtf/german.cfg
+share/latex2rtf/ignore.cfg
+share/latex2rtf/spanish.cfg
+man/man1/latex2rtf.1
+share/doc/latex2rtf/latex2rtf.html
+share/doc/latex2rtf/latex2rtf.pdf
+@dirrm share/doc/latex2rtf
+@dirrm share/latex2rtf