[96965] trunk/dports/tex/latex2rtf

nicos at macports.org nicos at macports.org
Wed Aug 22 19:36:00 PDT 2012


Revision: 96965
          https://trac.macports.org/changeset/96965
Author:   nicos at macports.org
Date:     2012-08-22 19:35:57 -0700 (Wed, 22 Aug 2012)
Log Message:
-----------
latex2rtf: upgrade to 2.2.1, adding license, fixing livecheck

Modified Paths:
--------------
    trunk/dports/tex/latex2rtf/Portfile
    trunk/dports/tex/latex2rtf/files/patch-Makefile.diff

Added Paths:
-----------
    trunk/dports/tex/latex2rtf/files/patch-Makefile-doc.diff

Modified: trunk/dports/tex/latex2rtf/Portfile
===================================================================
--- trunk/dports/tex/latex2rtf/Portfile	2012-08-23 02:12:50 UTC (rev 96964)
+++ trunk/dports/tex/latex2rtf/Portfile	2012-08-23 02:35:57 UTC (rev 96965)
@@ -3,9 +3,10 @@
 PortSystem 1.0
 
 name	   latex2rtf
-version	   2.1.0
+version	   2.2.1
 categories	tex
 platforms	darwin
+license         GPL-2+
 maintainers	jmpp openmaintainer
 
 description	Translator program intended to translate a LaTeX document into RTF
@@ -16,11 +17,12 @@
 
 homepage	http://latex2rtf.sourceforge.net/
 master_sites	sourceforge
-checksums           md5     e89b78f9cfe6d83c79e657a9390e8bc9 \
-                    sha1    31e6280312b56c2c38cf6a3fddff21a9910c7d6f \
-                    rmd160  e70f84055d088a5a582d2e2db451418a1ade2275
+checksums           md5     8b9abf1325b46294cdd14da6e79c8980 \
+                    sha1    e1bd064417c464e7994a157bc1c83ea8a649e1cc \
+                    rmd160  a2cf61642eaab066550d9575c040e8070f5e931c
 
-patchfiles	patch-Makefile.diff
+patchfiles	patch-Makefile.diff \
+                patch-Makefile-doc.diff
 
 depends_run	bin:tex:texlive \
 		bin:gs:ghostscript \
@@ -43,4 +45,4 @@
 test.run	yes
 
 livecheck.type      sourceforge
-livecheck.regex	    ${name}-unix (.*) released
+livecheck.distname  ${name}-unix

Added: trunk/dports/tex/latex2rtf/files/patch-Makefile-doc.diff
===================================================================
--- trunk/dports/tex/latex2rtf/files/patch-Makefile-doc.diff	                        (rev 0)
+++ trunk/dports/tex/latex2rtf/files/patch-Makefile-doc.diff	2012-08-23 02:35:57 UTC (rev 96965)
@@ -0,0 +1,10 @@
+--- doc/Makefile.orig	2012-03-15 04:26:00.000000000 +0900
++++ doc/Makefile	2012-08-21 14:06:16.000000000 +0900
+@@ -1,6 +1,5 @@
+ all:	latex2rtf.info latex2rtf.pdf latex2rtf.txt \
+-		latex2pn.txt latex2rt.txt \
+-		web/usage.html web/manpage.html web/latex2png.html
++		latex2pn.txt latex2rt.txt latex2rtf.html
+ 
+ latex2rtf.html:	latex2rtf.texi
+ 	makeinfo --html --no-split --no-headers latex2rtf.texi > latex2rtf.html

Modified: trunk/dports/tex/latex2rtf/files/patch-Makefile.diff
===================================================================
--- trunk/dports/tex/latex2rtf/files/patch-Makefile.diff	2012-08-23 02:12:50 UTC (rev 96964)
+++ trunk/dports/tex/latex2rtf/files/patch-Makefile.diff	2012-08-23 02:35:57 UTC (rev 96965)
@@ -1,5 +1,5 @@
---- Makefile.orig	2010-03-05 16:44:41.000000000 +0100
-+++ Makefile	2010-08-08 18:33:21.000000000 +0200
+--- Makefile.orig	2012-06-09 01:54:41.000000000 +0900
++++ Makefile	2012-08-21 13:32:43.000000000 +0900
 @@ -1,9 +1,9 @@
 -CC?=gcc
 +#CC?=gcc
@@ -10,31 +10,31 @@
 -PKGMANDIR?=man
 +PKGMANDIR?=share/man
  
- #reasonable default set of compiler flags
- CFLAGS?=-g -Wall -Wno-write-strings
-@@ -21,7 +21,7 @@
+ #reasonable flags for developing
+ #CFLAGS = -g -D_FORTIFY_SOURCE=2 -Wall -Waggregate-return -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Wformat=2
+@@ -18,7 +18,7 @@
  
  #Base directory - adapt as needed
  # Unix:
--PREFIX?=$(PREFIX_DRIVE)/usr/local
-+#PREFIX?=$(PREFIX_DRIVE)/usr/local
- # Windows:
- #PREFIX?=$(PREFIX_DRIVE)/PROGRA~1/latex2rtf
- 
-@@ -29,11 +29,11 @@
+-DESTDIR?=/usr/local
++#DESTDIR?=/usr/local
+ #Uncomment next 2 lines for Windows
+ #DESTDIR_DRIVE=C:
+ #DESTDIR?=$(DESTDIR_DRIVE)/PROGRA~1/latex2rtf
+@@ -27,11 +27,11 @@
  BINARY_NAME=latex2rtf$(EXE_SUFFIX)
  
  # Location of binary, man, info, and support files - adapt as needed
--BIN_INSTALL=$(PREFIX)/bin
--MAN_INSTALL=$(PREFIX)/$(PKGMANDIR)/man1
--INFO_INSTALL=$(PREFIX)/info
--SUPPORT_INSTALL=$(PREFIX)/share/latex2rtf
--CFG_INSTALL=$(PREFIX)/share/latex2rtf/cfg
-+BIN_INSTALL=$(DESTDIR)$(PREFIX)/bin
-+MAN_INSTALL=$(DESTDIR)$(PREFIX)/$(PKGMANDIR)/man1
-+INFO_INSTALL=$(DESTDIR)$(PREFIX)/share/info
-+SUPPORT_INSTALL=$(DESTDIR)$(PREFIX)/share/latex2rtf
-+CFG_INSTALL=$(DESTDIR)$(PREFIX)/share/latex2rtf/cfg
+-BINDIR=/bin
+-MANDIR=/share/$(PKGMANDIR)/man1
+-INFODIR=/share/info
+-SUPPORTDIR=/share/latex2rtf
+-CFGDIR=/share/latex2rtf/cfg
++BINDIR=$(PREFIX)/bin
++MANDIR=$(PREFIX)/$(PKGMANDIR)/man1
++INFODIR=$(PREFIX)/share/info
++SUPPORTDIR=$(PREFIX)/share/latex2rtf
++CFGDIR=$(PREFIX)/share/latex2rtf/cfg
  
- # Nothing to change below this line
- 
+ #Uncomment next 5 lines for Windows
+ #BINDIR=$(DESTDIR)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120822/ec1a6b93/attachment-0001.html>


More information about the macports-changes mailing list