Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 May 2012 12:15:57 +0800 (CST)
From:      Po-Chien Lin <linpc@cs.nctu.edu.tw>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        martin.dieringer@gmx.de
Subject:   ports/167668: [PATCH] print/rtf2latex2e: update to 2.0.1
Message-ID:  <201205070415.q474Fvp9021947@csvmnet67.cs.nctu.edu.tw>
Resent-Message-ID: <201205070420.q474K7t5059204@freefall.freebsd.org>

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

>Number:         167668
>Category:       ports
>Synopsis:       [PATCH] print/rtf2latex2e: update to 2.0.1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 07 04:20:06 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Po-Chien Lin
>Release:        FreeBSD 9.0-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD csvmnet67.cs.nctu.edu.tw 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan  3 07:46:30 UTC
>Description:
- Update to 2.0.1
- Add LICENSE
- Patch files are no longer used in version 2.0.x, so remove the whole files/ directory.

build log: http://csvmnet67.cs.nctu.edu.tw/tb/logs/9.0-FreeBSD/rtf2latex2e-2.0.1.log

Removed file(s):
- files/patch-Makefile.in
- files/patch-src-common-cole-oledecod.c

Port maintainer (martin.dieringer@gmx.de) is cc'd.

Generated with FreeBSD Port Tools 0.99_6 (mode: update, diff: suffix)
>How-To-Repeat:
>Fix:

--- rtf2latex2e-2.0.1.patch begins here ---
diff -ruN --exclude=CVS ../rtf2latex2e.orig/Makefile ./Makefile
--- ../rtf2latex2e.orig/Makefile	2012-05-07 10:09:04.000000000 +0800
+++ ./Makefile	2012-05-07 12:08:33.000000000 +0800
@@ -6,17 +6,17 @@
 #
 
 PORTNAME=	rtf2latex2e
-PORTVERSION=	1.0
+PORTVERSION=	2.0.1
 CATEGORIES=	print
-MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}-unix/${PORTVERSION}fc2
-DISTNAME=	${PORTNAME}Unix1
+MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}-unix/2-0
+DISTNAME=	${PORTNAME}-${PORTVERSION:C|\.|-|g}
 
 MAINTAINER=	martin.dieringer@gmx.de
 COMMENT=	A newer filter that converts RTF (MS Rich Text Format) into LaTeX
 
-USE_GMAKE=	yes
-GNU_CONFIGURE=	yes
+LICENSE=	GPLv2
 
-WRKSRC=		${WRKDIR}/${PORTNAME}Unix-${PORTVERSION}fc1/Unix
+USE_ZIP=	yes
+USE_GMAKE=	yes
 
 .include <bsd.port.mk>
diff -ruN --exclude=CVS ../rtf2latex2e.orig/distinfo ./distinfo
--- ../rtf2latex2e.orig/distinfo	2012-05-07 10:09:04.000000000 +0800
+++ ./distinfo	2012-05-07 12:01:20.000000000 +0800
@@ -1,2 +1,2 @@
-SHA256 (rtf2latex2eUnix1.tar.gz) = 56e9f5401407bdf9b260997ff01ab2511571c9584c96b1e953ae0a54676337a5
-SIZE (rtf2latex2eUnix1.tar.gz) = 540992
+SHA256 (rtf2latex2e-2-0-1.zip) = 74f97cbd2452413ad293ec1815cc7028b6e71e91c8747f04be28f738cac4a46b
+SIZE (rtf2latex2e-2-0-1.zip) = 1208376
diff -ruN --exclude=CVS ../rtf2latex2e.orig/files/patch-Makefile.in ./files/patch-Makefile.in
--- ../rtf2latex2e.orig/files/patch-Makefile.in	2012-05-07 10:09:04.000000000 +0800
+++ ./files/patch-Makefile.in	1970-01-01 08:00:00.000000000 +0800
@@ -1,24 +0,0 @@
---- 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 -ruN --exclude=CVS ../rtf2latex2e.orig/files/patch-src-common-cole-oledecod.c ./files/patch-src-common-cole-oledecod.c
--- ../rtf2latex2e.orig/files/patch-src-common-cole-oledecod.c	2012-05-07 10:09:04.000000000 +0800
+++ ./files/patch-src-common-cole-oledecod.c	1970-01-01 08:00:00.000000000 +0800
@@ -1,11 +0,0 @@
---- ../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 -ruN --exclude=CVS ../rtf2latex2e.orig/pkg-plist ./pkg-plist
--- ../rtf2latex2e.orig/pkg-plist	2012-05-07 10:09:04.000000000 +0800
+++ ./pkg-plist	2012-05-07 12:01:34.000000000 +0800
@@ -1,93 +1,22 @@
 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
+%%DATADIR%%/latex-encoding
+%%DATADIR%%/latex-encoding.cp1250
+%%DATADIR%%/latex-encoding.cp1252
+%%DATADIR%%/latex-encoding.german
+%%DATADIR%%/latex-encoding.latin1
+%%DATADIR%%/latex-encoding.mac
+%%DATADIR%%/r2l-head
+%%DATADIR%%/r2l-map
+%%DATADIR%%/r2l-pref
+%%DATADIR%%/rtf-ctrl
+%%DATADIR%%/rtf-encoding.cp1250
+%%DATADIR%%/rtf-encoding.cp1251
+%%DATADIR%%/rtf-encoding.cp1252
+%%DATADIR%%/rtf-encoding.cp1254
+%%DATADIR%%/rtf-encoding.cp437
+%%DATADIR%%/rtf-encoding.cp850
+%%DATADIR%%/rtf-encoding.mac
+%%DATADIR%%/rtf-encoding.next
+%%DATADIR%%/rtf-encoding.symbolfont
+%%DATADIR%%/rtf2latexDoc.pdf
 @dirrm %%DATADIR%%
--- rtf2latex2e-2.0.1.patch ends here ---

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



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