Update to version 1.9.15.

Reorganize a bit so documentation will be installed into
${PREFIX}/share/doc/latex2rtf/.

Do install the GNU info pages, too.  Unfortunately, the info pages as
shipped needed the removal of various ^Ms (patch-ab), and the addition
of dir node meta tags (patch-ac).
This commit is contained in:
Joerg Wunsch 2004-04-28 19:12:38 +00:00
parent 03b404380b
commit 5dd1272bcd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=107850
7 changed files with 2001 additions and 21 deletions

View file

@ -6,7 +6,7 @@
#
PORTNAME= latex2rtf
PORTVERSION= 1.9.14
PORTVERSION= 1.9.15
CATEGORIES= print
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
${MASTER_SITE_TEX_CTAN}
@ -16,5 +16,8 @@ MAINTAINER= joerg@FreeBSD.org
COMMENT= Translator from LaTeX to RTF
MAN1= latex2rtf.1 latex2png.1
INFO= latex2rtf
INSTALL_TARGET= install install-info
.include <bsd.port.mk>

View file

@ -1,2 +1,2 @@
MD5 (latex2rtf-1.9.14.tar.gz) = f590067942f15eb9b829afae6cab8a68
SIZE (latex2rtf-1.9.14.tar.gz) = 562450
MD5 (latex2rtf-1.9.15.tar.gz) = 5aa723f290aa745ee3a37c3814901956
SIZE (latex2rtf-1.9.15.tar.gz) = 605467

View file

@ -1,7 +1,7 @@
--- Makefile.orig Thu Nov 28 19:36:14 2002
+++ Makefile Tue Oct 28 21:13:49 2003
--- Makefile.orig Mon Feb 9 03:12:03 2004
+++ Makefile Wed Apr 28 15:00:49 2004
@@ -1,9 +1,8 @@
# $Id: Makefile,v 1.76 2002/11/28 18:36:14 prahl Exp $
# $Id: Makefile,v 1.101 2004/02/09 02:12:03 prahl Exp $
-CC=gcc
MKDIR=mkdir -p
@ -9,7 +9,7 @@
-CFLAGS:=-DUNIX
+CFLAGS+=-DUNIX
#CFLAGS:=-DMSDOS #Windows/DOS
#CFLAGS:=-DMACINTOSH #MacOS 8/9
#CFLAGS:=-DMAC_CLASSIC #MacOS 8/9
#CFLAGS:=-DOS2 #OS/2
@@ -18,7 +17,7 @@
#CFLAGS:=$(CFLAGS) -Zwin32
@ -20,7 +20,11 @@
#Name of executable binary --- beware of 8.3 restriction under DOS
BINARY_NAME=latex2rtf$(EXE_SUFFIX)
@@ -32,7 +31,7 @@
@@ -29,10 +28,11 @@
INFO_INSTALL=$(PREFIX)/info
SUPPORT_INSTALL=$(PREFIX)/share/latex2rtf
CFG_INSTALL=$(PREFIX)/share/latex2rtf/cfg
+DOC_INSTALL=$(PREFIX)/share/doc/latex2rtf
# Nothing to change below this line
@ -29,7 +33,7 @@
LIBS=
#LIBS=-lMallocDebug -force_flat_namespace
@@ -144,14 +143,14 @@
@@ -153,14 +153,15 @@
$(MKDIR) $(BIN_INSTALL)
$(MKDIR) $(MAN_INSTALL)
$(MKDIR) $(CFG_INSTALL)
@ -41,23 +45,26 @@
- cp doc/latex2rtf.html $(SUPPORT_INSTALL)
- cp doc/latex2rtf.pdf $(SUPPORT_INSTALL)
- cp doc/latex2rtf.txt $(SUPPORT_INSTALL)
+ $(MKDIR) $(DOC_INSTALL)
+ ${BSD_INSTALL_PROGRAM} $(BINARY_NAME) $(BIN_INSTALL)
+ ${BSD_INSTALL_SCRIPT} scripts/latex2png $(BIN_INSTALL)
+ ${BSD_INSTALL_MAN} doc/latex2rtf.1 $(MAN_INSTALL)
+ ${BSD_INSTALL_MAN} doc/latex2png.1 $(MAN_INSTALL)
+ ${BSD_INSTALL_DATA} $(CFGS) $(CFG_INSTALL)
+ ${BSD_INSTALL_DATA} doc/latex2rtf.html $(SUPPORT_INSTALL)
+ ${BSD_INSTALL_DATA} doc/latex2rtf.pdf $(SUPPORT_INSTALL)
+ ${BSD_INSTALL_DATA} doc/latex2rtf.txt $(SUPPORT_INSTALL)
+ ${BSD_INSTALL_DATA} doc/latex2rtf.html $(DOC_INSTALL)
+ ${BSD_INSTALL_DATA} doc/latex2rtf.pdf $(DOC_INSTALL)
+ ${BSD_INSTALL_DATA} doc/latex2rtf.txt $(DOC_INSTALL)
@echo "******************************************************************"
@echo "*** latex2rtf successfully installed as \"$(BINARY_NAME)\""
@echo "*** in directory \"$(BIN_INSTALL)\""
@@ -169,7 +168,7 @@
@@ -178,8 +179,8 @@
install-info: doc/latex2rtf.info
$(MKDIR) $(INFO_INSTALL)
- cp doc/latex2rtf.info $(BIN_INSTALL)
+ ${BSD_INSTALL_DATA} doc/latex2rtf.info $(BIN_INSTALL)
install-info --info-dir=$(INFO_INSTALL) doc/latex2rtf.info
- cp doc/latex2rtf.info $(INFO_INSTALL)
- install-info --info-dir=$(INFO_INSTALL) doc/latex2rtf.info
+ ${BSD_INSTALL_DATA} doc/latex2rtf.info $(INFO_INSTALL)
+ install-info --info-dir=$(INFO_INSTALL) $(INFO_INSTALL)/latex2rtf.info
realclean: checkdir clean
rm -f makefile.depend latex2rtf-$(VERSION).tar.gz

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,13 @@
--- doc/latex2rtf.info.orig Wed Apr 28 12:14:05 2004
+++ doc/latex2rtf.info Wed Apr 28 12:14:44 2004
@@ -16,6 +16,10 @@
manual into another language, under the above conditions for modified
versions, except that this permission notice may be stated in a
translation approved by the Free Software Foundation.
+INFO-DIR-SECTION TeX
+START-INFO-DIR-ENTRY
+* latex2rtf: (latex2rtf). Translate LaTeX documents to RTF.
+END-INFO-DIR-ENTRY

File: latex2rtf.info, Node: Top, Next: Introduction, Up: (dir)

View file

@ -4,7 +4,7 @@ and Word for Windows. It was written by Fernando Dorner and Andreas
Granzer in a one-semester course in our department. It was later
updated in another one-semester course by Friedrich Polzer and Gerhard
Trisko. Ralf Schlatterbeck <ralf@zoo.priv.at> maintained and extended
it until 1998. The current maintainer is Georg Lehner
<glehner@unanleon.edu.ni>.
it until 1998. It is currently being maintained by Georg Lehner,
Scott Pralh, and Wilfried Hennings
WWW: http://latex2rtf.sourceforge.net/

View file

@ -1,5 +1,8 @@
bin/latex2png
bin/latex2rtf
share/doc/latex2rtf/latex2rtf.html
share/doc/latex2rtf/latex2rtf.pdf
share/doc/latex2rtf/latex2rtf.txt
share/latex2rtf/cfg/afrikaans.cfg
share/latex2rtf/cfg/bahasa.cfg
share/latex2rtf/cfg/basque.cfg
@ -21,6 +24,7 @@ share/latex2rtf/cfg/galician.cfg
share/latex2rtf/cfg/german.cfg
share/latex2rtf/cfg/icelandic.cfg
share/latex2rtf/cfg/ignore.cfg
share/latex2rtf/cfg/inc_test.tex
share/latex2rtf/cfg/irish.cfg
share/latex2rtf/cfg/italian.cfg
share/latex2rtf/cfg/latin.cfg
@ -38,12 +42,11 @@ share/latex2rtf/cfg/serbian.cfg
share/latex2rtf/cfg/slovak.cfg
share/latex2rtf/cfg/slovene.cfg
share/latex2rtf/cfg/spanish.cfg
share/latex2rtf/cfg/style.cfg
share/latex2rtf/cfg/swedish.cfg
share/latex2rtf/cfg/turkish.cfg
share/latex2rtf/cfg/usorbian.cfg
share/latex2rtf/cfg/welsh.cfg
share/latex2rtf/latex2rtf.html
share/latex2rtf/latex2rtf.pdf
share/latex2rtf/latex2rtf.txt
@dirrm share/doc/latex2rtf
@dirrm share/latex2rtf/cfg
@dirrm share/latex2rtf