pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/print/rtf2latex2e Import new package: rtf2latex2e
details: https://anonhg.NetBSD.org/pkgsrc/rev/4e4eeadeb86b
branches: trunk
changeset: 538242:4e4eeadeb86b
user: reed <reed%pkgsrc.org@localhost>
date: Sun Feb 03 02:45:23 2008 +0000
description:
Import new package: rtf2latex2e
rtf2latex already exists in pkgsrc but didn't work for me and this
is different (but maybe derived from same?) and installs different files.
This is rtf2latex2e by Ujwal Sathyam and Scott Prahl. It uses the
RTF reader by Paul DuBois and converts RTF files into the LaTeX2e
format. Its main features are:
1. detects text style: bold, italic, color, big, small,...
2. reads embedded figures: PICT, WMF, PNG, JPEG, converts to EPS
3. reads tables: simple to semi-complex
4. equations: converts embedded MathType < 3.0 equations
5. symbols: converts most greek and math symbols
6. reads footnotes (not in tables yet)
7. support for use of the fontenc package
8. translates hyperlinks using the hyperref package
diffstat:
print/rtf2latex2e/DESCR | 12 ++++++++++++
print/rtf2latex2e/Makefile | 34 ++++++++++++++++++++++++++++++++++
print/rtf2latex2e/PLIST | 29 +++++++++++++++++++++++++++++
print/rtf2latex2e/distinfo | 6 ++++++
print/rtf2latex2e/patches/patch-aa | 13 +++++++++++++
5 files changed, 94 insertions(+), 0 deletions(-)
diffs (114 lines):
diff -r 4319fd58a9cc -r 4e4eeadeb86b print/rtf2latex2e/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/print/rtf2latex2e/DESCR Sun Feb 03 02:45:23 2008 +0000
@@ -0,0 +1,12 @@
+This is rtf2latex2e by Ujwal Sathyam and Scott Prahl. It uses the
+RTF reader by Paul DuBois and converts RTF files into the LaTeX2e
+format. Its main features are:
+
+1. detects text style: bold, italic, color, big, small,...
+2. reads embedded figures: PICT, WMF, PNG, JPEG, converts to EPS
+3. reads tables: simple to semi-complex
+4. equations: converts embedded MathType < 3.0 equations
+5. symbols: converts most greek and math symbols
+6. reads footnotes (not in tables yet)
+7. support for use of the fontenc package
+8. translates hyperlinks using the hyperref package
diff -r 4319fd58a9cc -r 4e4eeadeb86b print/rtf2latex2e/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/print/rtf2latex2e/Makefile Sun Feb 03 02:45:23 2008 +0000
@@ -0,0 +1,34 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/02/03 02:45:23 reed Exp $
+#
+
+# fix install so it uses ${prefix}
+
+DISTNAME= rtf2latex2eUnix1
+PKGNAME= rtf2latex2e-1.0fc2
+CATEGORIES= print textproc
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=rtf2latex2e/}
+
+MAINTAINER= reed%reedmedia.net@localhost
+HOMEPAGE= http://rtf2latex2e.sourceforge.net/
+COMMENT= RTF to LaTeX2e converter
+
+# ImageMagick is an optional component
+
+WRKSRC= ${WRKDIR}/rtf2latex2eUnix-1.0fc1/
+BUILD_DIRS= Unix
+CONFIGURE_DIRS= Unix
+GNU_CONFIGURE= yes
+MAKE_ENV+= INSTALL_DIR=${PREFIX}/share/rtf2latex2e
+
+INSTALLATION_DIRS+= bin share/doc/rtf2latex2e share/rtf2latex2e
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/rtf2latex2e.bin ${PREFIX}/bin/rtf2latex2e
+ ${INSTALL_DATA} ${WRKSRC}/INSTALL ${PREFIX}/share/doc/rtf2latex2e/
+ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/rtf2latex2e/
+ ${INSTALL_DATA} ${WRKSRC}/doc/rtf2LaTeX2eDoc.html ${PREFIX}/share/doc/rtf2latex2e/
+ cd ${WRKSRC} && ${PAX} -rw pref ${PREFIX}/share/rtf2latex2e
+
+# install other docs and examples too?
+
+.include "../../mk/bsd.pkg.mk"
diff -r 4319fd58a9cc -r 4e4eeadeb86b print/rtf2latex2e/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/print/rtf2latex2e/PLIST Sun Feb 03 02:45:23 2008 +0000
@@ -0,0 +1,29 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2008/02/03 02:45:23 reed Exp $
+bin/rtf2latex2e
+share/doc/rtf2latex2e/INSTALL
+share/doc/rtf2latex2e/README
+share/doc/rtf2latex2e/rtf2LaTeX2eDoc.html
+share/rtf2latex2e/pref/TeX-map.applemac
+share/rtf2latex2e/pref/applemac.map
+share/rtf2latex2e/pref/ansi-sym
+share/rtf2latex2e/pref/TeX-map.cp1250
+share/rtf2latex2e/pref/cp1250.map
+share/rtf2latex2e/pref/cp1252.map
+share/rtf2latex2e/pref/cp1254.map
+share/rtf2latex2e/pref/cp437.map
+share/rtf2latex2e/pref/cp850.map
+share/rtf2latex2e/pref/mac-sym
+share/rtf2latex2e/pref/pc-sym
+share/rtf2latex2e/pref/pca-sym
+share/rtf2latex2e/pref/r2l-head
+share/rtf2latex2e/pref/r2l-map
+share/rtf2latex2e/pref/r2l-pref
+share/rtf2latex2e/pref/rtf-ctrl
+share/rtf2latex2e/pref/TeX-map
+share/rtf2latex2e/pref/TeX-map.cp1252
+share/rtf2latex2e/pref/TeX-map.default
+share/rtf2latex2e/pref/TeX-map.german
+share/rtf2latex2e/pref/TeX-map.latin1
+@dirrm share/rtf2latex2e/pref
+@dirrm share/rtf2latex2e
+@dirrm share/doc/rtf2latex2e
diff -r 4319fd58a9cc -r 4e4eeadeb86b print/rtf2latex2e/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/print/rtf2latex2e/distinfo Sun Feb 03 02:45:23 2008 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/02/03 02:45:23 reed Exp $
+
+SHA1 (rtf2latex2eUnix1.tar.gz) = e077351b0ee0713aaa7a02121449f568e4cdace5
+RMD160 (rtf2latex2eUnix1.tar.gz) = 4b7174f0c680874b0ac6dd712827d8c659b9dc66
+Size (rtf2latex2eUnix1.tar.gz) = 540992 bytes
+SHA1 (patch-aa) = a9cba2a36e0b0eb65779cbdc810e2e6f04306dd8
diff -r 4319fd58a9cc -r 4e4eeadeb86b print/rtf2latex2e/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/print/rtf2latex2e/patches/patch-aa Sun Feb 03 02:45:23 2008 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2008/02/03 02:45:23 reed Exp $
+
+--- Unix/Makefile.in.orig 2000-05-20 17:03:11.000000000 -0500
++++ Unix/Makefile.in 2008-02-02 20:12:35.000000000 -0600
+@@ -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 ?= /usr/local/rtf2latex2e
+ #----------------------------------------------------------------
+
+
Home |
Main Index |
Thread Index |
Old Index