Changeset 82731


Ignore:
Timestamp:
Aug 19, 2011, 3:02:15 PM (8 years ago)
Author:
macsforever2000@…
Message:

latex2rtf: Update to version 2.1.0. (#26464)

Location:
trunk/dports/tex/latex2rtf
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/tex/latex2rtf/Portfile

    r57375 r82731  
    44
    55name       latex2rtf
    6 version    1.9.19
     6version    2.1.0
    77categories      tex
    88platforms       darwin
     
    1717homepage        http://latex2rtf.sourceforge.net/
    1818master_sites    sourceforge
    19 checksums       md5 8a3b920d59f6b38736aa256c26374472 \
    20                 sha1 e6a97b18d605326691a0094704678e5a9d42fbb7 \
    21                 rmd160 00f5275153766ef3d81f4e5ef604d40de356ea14
     19checksums           md5     e89b78f9cfe6d83c79e657a9390e8bc9 \
     20                    sha1    31e6280312b56c2c38cf6a3fddff21a9910c7d6f \
     21                    rmd160  e70f84055d088a5a582d2e2db451418a1ade2275
    2222
    2323patchfiles      patch-Makefile.diff
  • trunk/dports/tex/latex2rtf/files/patch-Makefile.diff

    r35423 r82731  
    1 --- Makefile.orig       2007-11-17 23:10:57.000000000 -0700
    2 +++ Makefile    2008-03-04 20:34:21.000000000 -0700
    3 @@ -1,6 +1,6 @@
    4  # $Id: Makefile,v 1.113 2005/01/30 02:14:14 prahl Exp $
     1--- Makefile.orig       2010-03-05 16:44:41.000000000 +0100
     2+++ Makefile    2010-08-08 18:33:21.000000000 +0200
     3@@ -1,9 +1,9 @@
     4-CC?=gcc
     5+#CC?=gcc
     6 TAR?=gnutar
     7 RM?=rm -f
     8 MKDIR?=mkdir -p
     9 RMDIR?=rm -rf
     10-PKGMANDIR?=man
     11+PKGMANDIR?=share/man
    512 
    6 -CC=gcc
    7 +#CC=gcc
    8  MKDIR=mkdir -p
    9  TAR=gnutar
    10  RM=rm
    11 @@ -17,20 +17,20 @@
    12  #PREFIX_DRIVE=c:
    13  
    14  #Uncomment next line when using gcc compiler, target linux
    15 -LINK_FLAGS = -lm
    16 +#LINK_FLAGS = -lm
    17  
    18  #Uncomment next line when using rsx compiler, target win32
    19  #CFLAGS:=$(CFLAGS) -Zwin32 
     13 #reasonable default set of compiler flags
     14 CFLAGS?=-g -Wall -Wno-write-strings
     15@@ -21,7 +21,7 @@
    2016 
    2117 #Base directory - adapt as needed
    22 -PREFIX=$(PREFIX_DRIVE)/usr/local
    23 +#PREFIX=$(PREFIX_DRIVE)/usr/local
     18 # Unix:
     19-PREFIX?=$(PREFIX_DRIVE)/usr/local
     20+#PREFIX?=$(PREFIX_DRIVE)/usr/local
     21 # Windows:
     22 #PREFIX?=$(PREFIX_DRIVE)/PROGRA~1/latex2rtf
    2423 
    25  #Name of executable binary --- beware of 8.3 restriction under DOS
     24@@ -29,11 +29,11 @@
    2625 BINARY_NAME=latex2rtf$(EXE_SUFFIX)
    2726 
    2827 # Location of binary, man, info, and support files - adapt as needed
    29  BIN_INSTALL=$(PREFIX)/bin
    30 -MAN_INSTALL=$(PREFIX)/man/man1
    31 +MAN_INSTALL=$(PREFIX)/share/man/man1
     28-BIN_INSTALL=$(PREFIX)/bin
     29-MAN_INSTALL=$(PREFIX)/$(PKGMANDIR)/man1
    3230-INFO_INSTALL=$(PREFIX)/info
    33 +INFO_INSTALL=$(PREFIX)/share/info
    34  SUPPORT_INSTALL=$(PREFIX)/share/latex2rtf
    35  CFG_INSTALL=$(PREFIX)/share/latex2rtf/cfg
    36 @@ -132,7 +132,7 @@
    37         test/bib_apacite2.bib        test/fig_subfig.tex     test/include4.tex      \
    38         test/include5.tex            test/hyperref.tex       test/bib_super.bib     \
    39         test/longstack.tex
    40 -       
    41 +
    42  OBJS=fonts.o direct.o encodings.o commands.o stack.o funct1.o tables.o \
    43         chars.o ignore.o cfg.o main.o utils.o parser.o lengths.o counters.o \
    44         preamble.o letterformat.o equations.o convert.o xrefs.o definitions.o graphics.o \
    45 @@ -153,7 +153,7 @@
    46         cd scripts && $(MAKE)
    47         cd test && $(MAKE)
    48         cd test && $(MAKE) check
    49 -       
    50 +
    51  fullcheck: latex2rtf
    52         cd scripts && $(MAKE)
    53         cd test && $(MAKE) clean
    54 @@ -203,17 +203,17 @@
     31-SUPPORT_INSTALL=$(PREFIX)/share/latex2rtf
     32-CFG_INSTALL=$(PREFIX)/share/latex2rtf/cfg
     33+BIN_INSTALL=$(DESTDIR)$(PREFIX)/bin
     34+MAN_INSTALL=$(DESTDIR)$(PREFIX)/$(PKGMANDIR)/man1
     35+INFO_INSTALL=$(DESTDIR)$(PREFIX)/share/info
     36+SUPPORT_INSTALL=$(DESTDIR)$(PREFIX)/share/latex2rtf
     37+CFG_INSTALL=$(DESTDIR)$(PREFIX)/share/latex2rtf/cfg
    5538 
    56  install: latex2rtf doc/latex2rtf.1 $(CFGS) scripts/latex2png
    57         cd doc && $(MAKE)
    58 -       $(MKDIR) $(BIN_INSTALL)
    59 -       $(MKDIR) $(MAN_INSTALL)
    60 -       $(MKDIR) $(CFG_INSTALL)
    61 -       cp $(BINARY_NAME)     $(BIN_INSTALL)
    62 -       cp scripts/latex2png  $(BIN_INSTALL)
    63 -       cp doc/latex2rtf.1    $(MAN_INSTALL)
    64 -       cp doc/latex2png.1    $(MAN_INSTALL)
    65 -       cp $(CFGS)            $(CFG_INSTALL)
    66 -       cp doc/latex2rtf.html $(SUPPORT_INSTALL)
    67 -       cp doc/latex2rtf.pdf  $(SUPPORT_INSTALL)
    68 -       cp doc/latex2rtf.txt  $(SUPPORT_INSTALL)
    69 +       $(MKDIR) $(DESTDIR)$(BIN_INSTALL)
    70 +       $(MKDIR) $(DESTDIR)$(MAN_INSTALL)
    71 +       $(MKDIR) $(DESTDIR)$(CFG_INSTALL)
    72 +       cp $(BINARY_NAME)     $(DESTDIR)$(BIN_INSTALL)
    73 +       cp scripts/latex2png  $(DESTDIR)$(BIN_INSTALL)
    74 +       cp doc/latex2rtf.1    $(DESTDIR)$(MAN_INSTALL)
    75 +       cp doc/latex2png.1    $(DESTDIR)$(MAN_INSTALL)
    76 +       cp $(CFGS)            $(DESTDIR)$(CFG_INSTALL)
    77 +       cp doc/latex2rtf.html $(DESTDIR)$(SUPPORT_INSTALL)
    78 +       cp doc/latex2rtf.pdf  $(DESTDIR)$(SUPPORT_INSTALL)
    79 +       cp doc/latex2rtf.txt  $(DESTDIR)$(SUPPORT_INSTALL)
    80         @echo "******************************************************************"
    81         @echo "*** latex2rtf successfully installed as \"$(BINARY_NAME)\""
    82         @echo "*** in directory \"$(BIN_INSTALL)\""
    83 @@ -230,9 +230,9 @@
    84         @echo "******************************************************************"
     39 # Nothing to change below this line
    8540 
    86  install-info: doc/latex2rtf.info
    87 -       $(MKDIR) $(INFO_INSTALL)
    88 -       cp doc/latex2rtf.info $(INFO_INSTALL)
    89 -       install-info --info-dir=$(INFO_INSTALL) doc/latex2rtf.info
    90 +       $(MKDIR) $(DESTDIR)$(INFO_INSTALL)
    91 +       cp doc/latex2rtf.info $(DESTDIR)$(INFO_INSTALL)
    92 +       install-info --info-dir=$(DESTDIR)$(INFO_INSTALL) doc/latex2rtf.info
    93  
    94  realclean: checkdir clean
    95         $(RM) -f makefile.depend latex2rtf-$(VERSION).tar.gz
    96 @@ -262,16 +262,16 @@
    97         cp macosx/License.rtf $(PKG_RESOURCES)
    98         cp macosx/ReadMe.html $(PKG_RESOURCES)
    99         cp macosx/Welcome.html $(PKG_RESOURCES)
    100 -       
    101 +
    102         -$(PKG_MAKER) -build -p $(PKG_NAME) -r $(PKG_RESOURCES) -f $(PKG_CONTENTS)
    103         mkdmg $(DMG_DIR)
    104 -       
    105 +
    106         $(RM) -rf $(PKG_DIR)
    107 -       
    108 +
    109         mkdmg
    110 -       
    111 -       
    112 -       
    113 +
    114 +
    115 +
    116  .PHONY: all check checkdir clean depend dist doc install install_info realclean latex2rtf uptodate releasedate splint fullcheck
    117  
    118  # created using "make depend"
Note: See TracChangeset for help on using the changeset viewer.