aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--print/Makefile1
-rw-r--r--print/rtf2latex2e/Makefile24
-rw-r--r--print/rtf2latex2e/distinfo3
-rw-r--r--print/rtf2latex2e/files/patch-Makefile.in24
-rw-r--r--print/rtf2latex2e/files/patch-src-common-cole-oledecod.c11
-rw-r--r--print/rtf2latex2e/pkg-descr5
-rw-r--r--print/rtf2latex2e/pkg-plist93
7 files changed, 161 insertions, 0 deletions
diff --git a/print/Makefile b/print/Makefile
index bd853cb7aecb..48b9c7534683 100644
--- a/print/Makefile
+++ b/print/Makefile
@@ -289,6 +289,7 @@
SUBDIR += rlpr
SUBDIR += rprint
SUBDIR += rtf2latex
+ SUBDIR += rtf2latex2e
SUBDIR += ruby-gnomeprint
SUBDIR += ruby-panda
SUBDIR += ruby-pdflib
diff --git a/print/rtf2latex2e/Makefile b/print/rtf2latex2e/Makefile
new file mode 100644
index 000000000000..c8185fd90fc3
--- /dev/null
+++ b/print/rtf2latex2e/Makefile
@@ -0,0 +1,24 @@
+# New ports collection makefile for: rtf2latex2e
+# Date created: 13 Oct 2008
+# Whom: Martin Dieringer <martin.dieringer@gmx.de>
+#
+# $FreeBSD$
+#
+
+PORTNAME= rtf2latex2e
+PORTVERSION= 1.0
+CATEGORIES= print
+MASTER_SITES= SF
+MASTER_SITE_SUBDIR= rtf2latex2e
+DISTNAME= ${PORTNAME}Unix1
+
+MAINTAINER= martin.dieringer@gmx.de
+COMMENT= A newer filter that converts RTF (MS Rich Text Format) into LaTeX
+
+USE_GZIP= yes
+USE_GMAKE= yes
+GNU_CONFIGURE= yes
+
+WRKSRC= ${WRKDIR}/${PORTNAME}Unix-${PORTVERSION}fc1/Unix
+
+.include <bsd.port.mk>
diff --git a/print/rtf2latex2e/distinfo b/print/rtf2latex2e/distinfo
new file mode 100644
index 000000000000..faa683c411c8
--- /dev/null
+++ b/print/rtf2latex2e/distinfo
@@ -0,0 +1,3 @@
+MD5 (rtf2latex2eUnix1.tar.gz) = 805a064142f50efa5a49f4f1bf6d6b79
+SHA256 (rtf2latex2eUnix1.tar.gz) = 56e9f5401407bdf9b260997ff01ab2511571c9584c96b1e953ae0a54676337a5
+SIZE (rtf2latex2eUnix1.tar.gz) = 540992
diff --git a/print/rtf2latex2e/files/patch-Makefile.in b/print/rtf2latex2e/files/patch-Makefile.in
new file mode 100644
index 000000000000..57406018c34f
--- /dev/null
+++ b/print/rtf2latex2e/files/patch-Makefile.in
@@ -0,0 +1,24 @@
+--- Makefile.in~ 2008-10-13 05:34:25.000000000 +0200
++++ Makefile.in 2008-10-13 05:34:25.000000000 +0200
+@@ -6,7 +6,7 @@
+ # IMPORTANT!!!!!
+ # if you edit the install directory (INSTALL_DIR),
+ # make sure it ends with rtf2latex2e!!!!
+-INSTALL_DIR = /usr/local/rtf2latex2e
++INSTALL_DIR = ${PREFIX}/share/rtf2latex2e
+ #----------------------------------------------------------------
+
+
+@@ -61,10 +61,10 @@
+ cp -r ../pref $(INSTALL_DIR)/
+ cp -r ../src $(INSTALL_DIR)/
+ cp -r ../Unix $(INSTALL_DIR)/
+- ln -sf $(INSTALL_DIR)/rtf2latex2e.bin /usr/bin/rtf2latex2e
++ ln -sf $(INSTALL_DIR)/rtf2latex2e.bin ${PREFIX}/bin/rtf2latex2e
+ @echo
+ @echo "rtf2latex2e has been installed in $(INSTALL_DIR)"
+- @echo "A symbolic link /usr/bin/rtf2latex2e has been created"
++ @echo "A symbolic link ${PREFIX}/bin/rtf2latex2e has been created"
+ @echo
+ @echo "Please set the environment variable RTF2LATEX2E_DIR to $(INSTALL_DIR)."
+ @echo
diff --git a/print/rtf2latex2e/files/patch-src-common-cole-oledecod.c b/print/rtf2latex2e/files/patch-src-common-cole-oledecod.c
new file mode 100644
index 000000000000..d361eda01d11
--- /dev/null
+++ b/print/rtf2latex2e/files/patch-src-common-cole-oledecod.c
@@ -0,0 +1,11 @@
+--- ../src/common/cole/oledecod.c~ 2008-10-13 05:21:28.000000000 +0200
++++ ../src/common/cole/oledecod.c 2008-10-13 05:21:28.000000000 +0200
+@@ -44,7 +44,7 @@
+ #if __GNUC__
+ #if __APPLE__
+ #else
+- #include <malloc.h>
++ #include <stdlib.h>
+ #endif
+ #include <sys/types.h>
+ #endif
diff --git a/print/rtf2latex2e/pkg-descr b/print/rtf2latex2e/pkg-descr
new file mode 100644
index 000000000000..d68345879b4a
--- /dev/null
+++ b/print/rtf2latex2e/pkg-descr
@@ -0,0 +1,5 @@
+rtf2latex2e is a program that translates RTF (rich text format) files into
+LaTeX files. It translates text formatting, tables, figures, and equations.
+The resulting LaTeX files are quite readable and suitable for editing.
+
+WWW: http://sourceforge.net/project/showfiles.php?group_id=22324
diff --git a/print/rtf2latex2e/pkg-plist b/print/rtf2latex2e/pkg-plist
new file mode 100644
index 000000000000..8198cdf18cbd
--- /dev/null
+++ b/print/rtf2latex2e/pkg-plist
@@ -0,0 +1,93 @@
+bin/rtf2latex2e
+%%DATADIR%%/rtf2latex2e.bin
+%%DATADIR%%/INSTALL
+%%DATADIR%%/Unix/Makefile
+%%DATADIR%%/Unix/mkinstalldirs
+%%DATADIR%%/Unix/Makefile.in
+%%DATADIR%%/Unix/install-sh
+%%DATADIR%%/Unix/config.status
+%%DATADIR%%/Unix/config.sub
+%%DATADIR%%/Unix/configure.in
+%%DATADIR%%/Unix/.DS_Store
+%%DATADIR%%/Unix/aclocal.m4
+%%DATADIR%%/Unix/Makefile.in.orig
+%%DATADIR%%/Unix/config.guess
+%%DATADIR%%/Unix/configure
+%%DATADIR%%/src/.DS_Store
+%%DATADIR%%/src/common/jpeg2eps.c
+%%DATADIR%%/src/common/LaTeX2e-writer.c
+%%DATADIR%%/src/common/rtf2LaTeX2e-driver.c
+%%DATADIR%%/src/common/cole/cole.c
+%%DATADIR%%/src/common/cole/internal.c
+%%DATADIR%%/src/common/cole/oledecod.c
+%%DATADIR%%/src/common/cole/version.c.in
+%%DATADIR%%/src/common/cole/support.c
+%%DATADIR%%/src/common/cole/olecod.c
+%%DATADIR%%/src/common/cole/version.c
+%%DATADIR%%/src/common/cole/oledecod.c.orig
+%%DATADIR%%/src/common/.DS_Store
+%%DATADIR%%/src/common/reader.c
+%%DATADIR%%/src/common/figure2eps.c
+%%DATADIR%%/src/common/tokenscan.c
+%%DATADIR%%/src/common/eqn.c
+%%DATADIR%%/src/include/internal.h
+%%DATADIR%%/src/include/rtf-namedef.h
+%%DATADIR%%/src/include/cole.h
+%%DATADIR%%/src/include/rtf-ctrldef.h
+%%DATADIR%%/src/include/eqn.h
+%%DATADIR%%/src/include/.DS_Store
+%%DATADIR%%/src/include/config.h
+%%DATADIR%%/src/include/jpeg2eps.h
+%%DATADIR%%/src/include/stdcharnames.h
+%%DATADIR%%/src/include/support.h
+%%DATADIR%%/src/include/tokenscan.h
+%%DATADIR%%/src/include/config.h.in
+%%DATADIR%%/src/include/rtf2LaTeX2e.h
+%%DATADIR%%/src/include/stamp-h
+%%DATADIR%%/src/include/cole.h.in
+%%DATADIR%%/src/include/rtf.h
+%%DATADIR%%/README
+%%DATADIR%%/examples/table.rtf
+%%DATADIR%%/examples/Equation.rtf
+%%DATADIR%%/examples/JPEG_Image.rtf
+%%DATADIR%%/examples/test.rtf
+%%DATADIR%%/doc/rtfReader.tex
+%%DATADIR%%/doc/rtf2LaTeX2eDoc.dvi
+%%DATADIR%%/doc/rtfReader.pdf
+%%DATADIR%%/doc/rtf2LaTeX2eDoc.tex
+%%DATADIR%%/doc/rtf2LaTeX2eDoc.pdf
+%%DATADIR%%/doc/rtfReader.dvi
+%%DATADIR%%/doc/Release-notes.txt
+%%DATADIR%%/doc/rtf2latex2eSWP.tex
+%%DATADIR%%/doc/rtf2LaTeX2eDoc.html
+%%DATADIR%%/doc/GPL_license
+%%DATADIR%%/pref/TeX-map.cp1252
+%%DATADIR%%/pref/TeX-map.default
+%%DATADIR%%/pref/TeX-map
+%%DATADIR%%/pref/pc-sym
+%%DATADIR%%/pref/cp1254.map
+%%DATADIR%%/pref/cp437.map
+%%DATADIR%%/pref/rtf-ctrl
+%%DATADIR%%/pref/applemac.map
+%%DATADIR%%/pref/r2l-map
+%%DATADIR%%/pref/ansi-sym
+%%DATADIR%%/pref/TeX-map.cp1250
+%%DATADIR%%/pref/mac-sym
+%%DATADIR%%/pref/cp850.map
+%%DATADIR%%/pref/cp1250.map
+%%DATADIR%%/pref/TeX-map.german
+%%DATADIR%%/pref/r2l-pref
+%%DATADIR%%/pref/TeX-map.applemac
+%%DATADIR%%/pref/TeX-map.latin1
+%%DATADIR%%/pref/r2l-head
+%%DATADIR%%/pref/cp1252.map
+%%DATADIR%%/pref/pca-sym
+@dirrm %%DATADIR%%/doc
+@dirrm %%DATADIR%%/src/common/cole
+@dirrm %%DATADIR%%/src/common
+@dirrm %%DATADIR%%/src/include
+@dirrm %%DATADIR%%/src
+@dirrm %%DATADIR%%/examples
+@dirrm %%DATADIR%%/Unix
+@dirrm %%DATADIR%%/pref
+@dirrm %%DATADIR%%