Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Oct 2008 05:53:50 +0200 (CEST)
From:      Martin Dieringer <martin.dieringer@gmx.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/128041: [NEW PORT] print/rtf2latex2e: A (newer) filter that converts RTF (MS Rich Text Format) into LaTeX
Message-ID:  <alpine.BSF.2.00.0810130551490.1681@thinkpad.nowhere.local>
Resent-Message-ID: <200810130400.m9D4018P050095@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         128041
>Category:       ports
>Synopsis:       [NEW PORT] print/rtf2latex2e: A (newer) filter that converts RTF (MS Rich Text Format) into LaTeX
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Oct 13 04:00:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Martin Dieringer
>Release:        FreeBSD 7.0-STABLE i386
>Organization:
>Environment:
System: FreeBSD thinkpad 7.0-STABLE FreeBSD 7.0-STABLE #22: Fri Mar  7 04:18:13 CET
>Description:
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

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- rtf2latex2e-1.0_fc1.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	rtf2latex2e
#	rtf2latex2e/Makefile
#	rtf2latex2e/pkg-plist
#	rtf2latex2e/pkg-descr
#	rtf2latex2e/distinfo
#	rtf2latex2e/files
#	rtf2latex2e/files/patch-src-common-cole-oledecod.c
#	rtf2latex2e/files/patch-Makefile.in
#
echo c - rtf2latex2e
mkdir -p rtf2latex2e > /dev/null 2>&1
echo x - rtf2latex2e/Makefile
sed 's/^X//' >rtf2latex2e/Makefile << 'END-of-rtf2latex2e/Makefile'
X# New ports collection makefile for:    rtf2latex2e
X# Date created:         13 Oct 2008
X# Whom:                 Martin Dieringer <martin.dieringer@gmx.de>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	rtf2latex2e
XPORTVERSION=	1.0
XPORTREVISION=	fc1
XCATEGORIES=	print
XMASTER_SITES=	SF
XMASTER_SITE_SUBDIR=	rtf2latex2e
XDISTNAME=	${PORTNAME}Unix1
X
XMAINTAINER=	martin.dieringer@gmx.de
XCOMMENT=	A (newer) filter that converts RTF (MS Rich Text Format) into LaTeX
X
XUSE_GZIP=	yes
XUSE_GMAKE=	yes
XGNU_CONFIGURE=	yes
X
XWRKSRC=		${WRKDIR}/${PORTNAME}Unix-${PORTVERSION}${PORTREVISION}/Unix
X
X.include <bsd.port.mk>
END-of-rtf2latex2e/Makefile
echo x - rtf2latex2e/pkg-plist
sed 's/^X//' >rtf2latex2e/pkg-plist << 'END-of-rtf2latex2e/pkg-plist'
Xbin/rtf2latex2e
X%%DATADIR%%/rtf2latex2e.bin
X%%DATADIR%%/INSTALL
X%%DATADIR%%/Unix/Makefile
X%%DATADIR%%/Unix/mkinstalldirs
X%%DATADIR%%/Unix/Makefile.in
X%%DATADIR%%/Unix/install-sh
X%%DATADIR%%/Unix/config.status
X%%DATADIR%%/Unix/config.sub
X%%DATADIR%%/Unix/configure.in
X%%DATADIR%%/Unix/.DS_Store
X%%DATADIR%%/Unix/aclocal.m4
X%%DATADIR%%/Unix/Makefile.in.orig
X%%DATADIR%%/Unix/config.guess
X%%DATADIR%%/Unix/configure
X%%DATADIR%%/src/.DS_Store
X%%DATADIR%%/src/common/jpeg2eps.c
X%%DATADIR%%/src/common/LaTeX2e-writer.c
X%%DATADIR%%/src/common/rtf2LaTeX2e-driver.c
X%%DATADIR%%/src/common/cole/cole.c
X%%DATADIR%%/src/common/cole/internal.c
X%%DATADIR%%/src/common/cole/oledecod.c
X%%DATADIR%%/src/common/cole/version.c.in
X%%DATADIR%%/src/common/cole/support.c
X%%DATADIR%%/src/common/cole/olecod.c
X%%DATADIR%%/src/common/cole/version.c
X%%DATADIR%%/src/common/cole/oledecod.c.orig
X%%DATADIR%%/src/common/.DS_Store
X%%DATADIR%%/src/common/reader.c
X%%DATADIR%%/src/common/figure2eps.c
X%%DATADIR%%/src/common/tokenscan.c
X%%DATADIR%%/src/common/eqn.c
X%%DATADIR%%/src/include/internal.h
X%%DATADIR%%/src/include/rtf-namedef.h
X%%DATADIR%%/src/include/cole.h
X%%DATADIR%%/src/include/rtf-ctrldef.h
X%%DATADIR%%/src/include/eqn.h
X%%DATADIR%%/src/include/.DS_Store
X%%DATADIR%%/src/include/config.h
X%%DATADIR%%/src/include/jpeg2eps.h
X%%DATADIR%%/src/include/stdcharnames.h
X%%DATADIR%%/src/include/support.h
X%%DATADIR%%/src/include/tokenscan.h
X%%DATADIR%%/src/include/config.h.in
X%%DATADIR%%/src/include/rtf2LaTeX2e.h
X%%DATADIR%%/src/include/stamp-h
X%%DATADIR%%/src/include/cole.h.in
X%%DATADIR%%/src/include/rtf.h
X%%DATADIR%%/README
X%%DATADIR%%/examples/table.rtf
X%%DATADIR%%/examples/Equation.rtf
X%%DATADIR%%/examples/JPEG_Image.rtf
X%%DATADIR%%/examples/test.rtf
X%%DATADIR%%/doc/rtfReader.tex
X%%DATADIR%%/doc/rtf2LaTeX2eDoc.dvi
X%%DATADIR%%/doc/rtfReader.pdf
X%%DATADIR%%/doc/rtf2LaTeX2eDoc.tex
X%%DATADIR%%/doc/rtf2LaTeX2eDoc.pdf
X%%DATADIR%%/doc/rtfReader.dvi
X%%DATADIR%%/doc/Release-notes.txt
X%%DATADIR%%/doc/rtf2latex2eSWP.tex
X%%DATADIR%%/doc/rtf2LaTeX2eDoc.html
X%%DATADIR%%/doc/GPL_license
X%%DATADIR%%/pref/TeX-map.cp1252
X%%DATADIR%%/pref/TeX-map.default
X%%DATADIR%%/pref/TeX-map
X%%DATADIR%%/pref/pc-sym
X%%DATADIR%%/pref/cp1254.map
X%%DATADIR%%/pref/cp437.map
X%%DATADIR%%/pref/rtf-ctrl
X%%DATADIR%%/pref/applemac.map
X%%DATADIR%%/pref/r2l-map
X%%DATADIR%%/pref/ansi-sym
X%%DATADIR%%/pref/TeX-map.cp1250
X%%DATADIR%%/pref/mac-sym
X%%DATADIR%%/pref/cp850.map
X%%DATADIR%%/pref/cp1250.map
X%%DATADIR%%/pref/TeX-map.german
X%%DATADIR%%/pref/r2l-pref
X%%DATADIR%%/pref/TeX-map.applemac
X%%DATADIR%%/pref/TeX-map.latin1
X%%DATADIR%%/pref/r2l-head
X%%DATADIR%%/pref/cp1252.map
X%%DATADIR%%/pref/pca-sym
X@dirrm %%DATADIR%%/doc
X@dirrm %%DATADIR%%/src/common/cole
X@dirrm %%DATADIR%%/src/common
X@dirrm %%DATADIR%%/src/include
X@dirrm %%DATADIR%%/src
X@dirrm %%DATADIR%%/examples
X@dirrm %%DATADIR%%/Unix
X@dirrm %%DATADIR%%/pref
X@dirrm %%DATADIR%%
END-of-rtf2latex2e/pkg-plist
echo x - rtf2latex2e/pkg-descr
sed 's/^X//' >rtf2latex2e/pkg-descr << 'END-of-rtf2latex2e/pkg-descr'
Xrtf2latex2e is a program that translates RTF (rich text format) files into
XLaTeX files. It translates text formatting, tables, figures, and equations.
XThe resulting LaTeX files are quite readable and suitable for editing.
X
XWWW: http://sourceforge.net/project/showfiles.php?group_id=22324
END-of-rtf2latex2e/pkg-descr
echo x - rtf2latex2e/distinfo
sed 's/^X//' >rtf2latex2e/distinfo << 'END-of-rtf2latex2e/distinfo'
XMD5 (rtf2latex2eUnix1.tar.gz) = 805a064142f50efa5a49f4f1bf6d6b79
XSHA256 (rtf2latex2eUnix1.tar.gz) = 56e9f5401407bdf9b260997ff01ab2511571c9584c96b1e953ae0a54676337a5
XSIZE (rtf2latex2eUnix1.tar.gz) = 540992
END-of-rtf2latex2e/distinfo
echo c - rtf2latex2e/files
mkdir -p rtf2latex2e/files > /dev/null 2>&1
echo x - rtf2latex2e/files/patch-src-common-cole-oledecod.c
sed 's/^X//' >rtf2latex2e/files/patch-src-common-cole-oledecod.c << 'END-of-rtf2latex2e/files/patch-src-common-cole-oledecod.c'
X--- ../src/common/cole/oledecod.c~	2008-10-13 05:21:28.000000000 +0200
X+++ ../src/common/cole/oledecod.c	2008-10-13 05:21:28.000000000 +0200
X@@ -44,7 +44,7 @@
X #if __GNUC__
X 	#if __APPLE__
X 	#else
X-	#include <malloc.h>
X+	#include <stdlib.h>
X 	#endif
X 	#include <sys/types.h>
X #endif 
END-of-rtf2latex2e/files/patch-src-common-cole-oledecod.c
echo x - rtf2latex2e/files/patch-Makefile.in
sed 's/^X//' >rtf2latex2e/files/patch-Makefile.in << 'END-of-rtf2latex2e/files/patch-Makefile.in'
X--- Makefile.in~	2008-10-13 05:34:25.000000000 +0200
X+++ Makefile.in	2008-10-13 05:34:25.000000000 +0200
X@@ -6,7 +6,7 @@
X # IMPORTANT!!!!!
X # if you edit the install directory (INSTALL_DIR), 
X # make sure it ends with rtf2latex2e!!!!
X-INSTALL_DIR = /usr/local/rtf2latex2e
X+INSTALL_DIR = ${PREFIX}/share/rtf2latex2e
X #----------------------------------------------------------------
X 
X 
X@@ -61,10 +61,10 @@
X 	cp -r ../pref $(INSTALL_DIR)/
X 	cp -r ../src $(INSTALL_DIR)/
X 	cp -r ../Unix $(INSTALL_DIR)/
X-	ln -sf $(INSTALL_DIR)/rtf2latex2e.bin /usr/bin/rtf2latex2e
X+	ln -sf $(INSTALL_DIR)/rtf2latex2e.bin ${PREFIX}/bin/rtf2latex2e
X 	@echo
X 	@echo "rtf2latex2e has been installed in $(INSTALL_DIR)"
X-	@echo "A symbolic link /usr/bin/rtf2latex2e has been created"
X+	@echo "A symbolic link ${PREFIX}/bin/rtf2latex2e has been created"
X 	@echo
X 	@echo "Please set the environment variable RTF2LATEX2E_DIR to $(INSTALL_DIR)."
X 	@echo
END-of-rtf2latex2e/files/patch-Makefile.in
exit
--- rtf2latex2e-1.0_fc1.shar ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.0810130551490.1681>