summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMamoru Komachi <usata@gentoo.org>2004-02-26 19:05:41 +0000
committerMamoru Komachi <usata@gentoo.org>2004-02-26 19:05:41 +0000
commit216649043206414e7bd08f2430ff32c3fedc020c (patch)
tree9dff836ab60339828376320e33f43f88373e61dd /dev-tex/latex2rtf
parentStable on sparc. (Manifest recommit) (diff)
downloadgentoo-2-216649043206414e7bd08f2430ff32c3fedc020c.tar.gz
gentoo-2-216649043206414e7bd08f2430ff32c3fedc020c.tar.bz2
gentoo-2-216649043206414e7bd08f2430ff32c3fedc020c.zip
Initial import. Ebuild submitted by Pablo De Napoli <pdenapo@yahoo.com>, closing bug #41572
Diffstat (limited to 'dev-tex/latex2rtf')
-rw-r--r--dev-tex/latex2rtf/ChangeLog11
-rw-r--r--dev-tex/latex2rtf/Manifest5
-rw-r--r--dev-tex/latex2rtf/files/digest-latex2rtf-1.9.141
-rw-r--r--dev-tex/latex2rtf/files/digest-latex2rtf-1.9.151
-rw-r--r--dev-tex/latex2rtf/files/latex2rtf-Makefile-gentoo.diff63
-rw-r--r--dev-tex/latex2rtf/latex2rtf-1.9.14.ebuild37
-rw-r--r--dev-tex/latex2rtf/latex2rtf-1.9.15.ebuild37
-rw-r--r--dev-tex/latex2rtf/metadata.xml5
8 files changed, 160 insertions, 0 deletions
diff --git a/dev-tex/latex2rtf/ChangeLog b/dev-tex/latex2rtf/ChangeLog
new file mode 100644
index 000000000000..3b3166e05321
--- /dev/null
+++ b/dev-tex/latex2rtf/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for dev-tex/latex2rtf
+# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-tex/latex2rtf/ChangeLog,v 1.1 2004/02/26 19:05:41 usata Exp $
+
+*latex2rtf-1.9.15 (27 Feb 2004)
+
+ 27 Feb 2004; Mamoru KOMACHI <usata@gentoo.org> latex2rtf-1.9.14.ebuild,
+ latex2rtf-1.9.15.ebuild, files/latex2rtf-Makefile-gentoo.diff:
+ Initial import. Ebuild submitted by Pablo De Napoli <pdenapo@yahoo.com>,
+ closing bug #41572
+
diff --git a/dev-tex/latex2rtf/Manifest b/dev-tex/latex2rtf/Manifest
new file mode 100644
index 000000000000..00c16ec9c9c2
--- /dev/null
+++ b/dev-tex/latex2rtf/Manifest
@@ -0,0 +1,5 @@
+MD5 853fb678303af2e0c338105c7257b495 latex2rtf-1.9.14.ebuild 810
+MD5 853fb678303af2e0c338105c7257b495 latex2rtf-1.9.15.ebuild 810
+MD5 83879a878fe4cc1a6af29f8044d0ad0c files/Makefile-1.9.15 8643
+MD5 0cd549e56f3f8b6d885f04ee983d8661 files/digest-latex2rtf-1.9.15 68
+MD5 fc7400cc7b21ecd3c0bead32561937ae files/digest-latex2rtf-1.9.14 68
diff --git a/dev-tex/latex2rtf/files/digest-latex2rtf-1.9.14 b/dev-tex/latex2rtf/files/digest-latex2rtf-1.9.14
new file mode 100644
index 000000000000..d6ab7dea1c3f
--- /dev/null
+++ b/dev-tex/latex2rtf/files/digest-latex2rtf-1.9.14
@@ -0,0 +1 @@
+MD5 f590067942f15eb9b829afae6cab8a68 latex2rtf-1.9.14.tar.gz 562450
diff --git a/dev-tex/latex2rtf/files/digest-latex2rtf-1.9.15 b/dev-tex/latex2rtf/files/digest-latex2rtf-1.9.15
new file mode 100644
index 000000000000..64ea060bdc7b
--- /dev/null
+++ b/dev-tex/latex2rtf/files/digest-latex2rtf-1.9.15
@@ -0,0 +1 @@
+MD5 5aa723f290aa745ee3a37c3814901956 latex2rtf-1.9.15.tar.gz 605467
diff --git a/dev-tex/latex2rtf/files/latex2rtf-Makefile-gentoo.diff b/dev-tex/latex2rtf/files/latex2rtf-Makefile-gentoo.diff
new file mode 100644
index 000000000000..8f314db02bc8
--- /dev/null
+++ b/dev-tex/latex2rtf/files/latex2rtf-Makefile-gentoo.diff
@@ -0,0 +1,63 @@
+--- Makefile.orig 2004-02-09 11:12:03.000000000 +0900
++++ Makefile 2004-02-27 03:22:14.563256080 +0900
+@@ -1,9 +1,10 @@
+ # $Id: latex2rtf-Makefile-gentoo.diff,v 1.1 2004/02/26 19:05:41 usata Exp $
+
+-CC=gcc
++CC=$(CC)
+ MKDIR=mkdir -p
+
+-CFLAGS:=-DUNIX
++# Gentoo: Modified to use makefile.conf CFLAGS
++CFLAGS:=$(CFLAGS) -DUNIX
+ #CFLAGS:=-DMSDOS #Windows/DOS
+ #CFLAGS:=-DMAC_CLASSIC #MacOS 8/9
+ #CFLAGS:=-DOS2 #OS/2
+@@ -18,17 +19,18 @@
+ #CFLAGS:=$(CFLAGS) -Zwin32
+
+ #Base directory - adapt as needed
+-PREFIX=$(PREFIX_DRIVE)/usr/local
++PREFIX=/usr
+
+ #Name of executable binary --- beware of 8.3 restriction under DOS
+ BINARY_NAME=latex2rtf$(EXE_SUFFIX)
+
+ # Location of binary, man, info, and support files - adapt as needed
+ BIN_INSTALL=$(PREFIX)/bin
+-MAN_INSTALL=$(PREFIX)/man/man1
+-INFO_INSTALL=$(PREFIX)/info
+-SUPPORT_INSTALL=$(PREFIX)/share/latex2rtf
+-CFG_INSTALL=$(PREFIX)/share/latex2rtf/cfg
++MAN_INSTALL=$(PREFIX)/share/man/man1
++INFO_INSTALL=$(PREFIX)/share/info
++SUPPORT_INSTALL=$(PREFIX)/share/doc/latex2rtf
++CFG_INSTALL=$(PREFIX)/share/latex2rtf/
++
+
+ # Nothing to change below this line
+
+@@ -158,23 +160,6 @@
+ cp doc/latex2rtf.1 $(MAN_INSTALL)
+ cp doc/latex2png.1 $(MAN_INSTALL)
+ cp $(CFGS) $(CFG_INSTALL)
+- cp doc/latex2rtf.html $(SUPPORT_INSTALL)
+- cp doc/latex2rtf.pdf $(SUPPORT_INSTALL)
+- cp doc/latex2rtf.txt $(SUPPORT_INSTALL)
+- @echo "******************************************************************"
+- @echo "*** latex2rtf successfully installed as \"$(BINARY_NAME)\""
+- @echo "*** in directory \"$(BIN_INSTALL)\""
+- @echo "***"
+- @echo "*** \"make install-info\" will install TeXInfo files "
+- @echo "***"
+- @echo "*** latex2rtf was compiled to search for its configuration files in"
+- @echo "*** \"$(CFG_INSTALL)\" "
+- @echo "***"
+- @echo "*** If the configuration files are moved then either"
+- @echo "*** 1) set the environment variable RTFPATH to this new location, or"
+- @echo "*** 2) use the command line option -P /path/to/cfg, or"
+- @echo "*** 3) edit the Makefile and recompile"
+- @echo "******************************************************************"
+
+ install-info: doc/latex2rtf.info
+ $(MKDIR) $(INFO_INSTALL)
diff --git a/dev-tex/latex2rtf/latex2rtf-1.9.14.ebuild b/dev-tex/latex2rtf/latex2rtf-1.9.14.ebuild
new file mode 100644
index 000000000000..c7d81ea516f4
--- /dev/null
+++ b/dev-tex/latex2rtf/latex2rtf-1.9.14.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-tex/latex2rtf/latex2rtf-1.9.14.ebuild,v 1.1 2004/02/26 19:05:41 usata Exp $
+
+IUSE="doc"
+
+DESCRIPTION="LaTeX to RTF converter"
+HOMEPAGE="http://latex2rtf.sourceforge.net/"
+SRC_URI="mirror://sourceforge/latex2rtf/${P}.tar.gz"
+LICENSE="GPL-2"
+KEYWORDS="~x86"
+SLOT="0"
+
+DEPEND="virtual/glibc
+ virtual/tetex
+ media-gfx/imagemagick"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${PN}-Makefile-gentoo.diff
+}
+
+src_compile() {
+ emake CC=${CC} || die
+}
+
+src_install() {
+ dodir /usr/share/doc/latex2rtf
+ PREFIX=${D}/usr make -e install || die
+ dodoc README doc/latex2rtf.txt
+ # if doc is not used, only the text version is intalled.
+ if use doc; then
+ dodoc doc/latex2rtf.html doc/latex2rtf.pdf doc/latex2rtf.txt
+ doinfo doc/latex2rtf.info
+ fi
+}
diff --git a/dev-tex/latex2rtf/latex2rtf-1.9.15.ebuild b/dev-tex/latex2rtf/latex2rtf-1.9.15.ebuild
new file mode 100644
index 000000000000..75981d913af2
--- /dev/null
+++ b/dev-tex/latex2rtf/latex2rtf-1.9.15.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-tex/latex2rtf/latex2rtf-1.9.15.ebuild,v 1.1 2004/02/26 19:05:41 usata Exp $
+
+IUSE="doc"
+
+DESCRIPTION="LaTeX to RTF converter"
+HOMEPAGE="http://latex2rtf.sourceforge.net/"
+SRC_URI="mirror://sourceforge/latex2rtf/${P}.tar.gz"
+LICENSE="GPL-2"
+KEYWORDS="~x86"
+SLOT="0"
+
+DEPEND="virtual/glibc
+ virtual/tetex
+ media-gfx/imagemagick"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${PN}-Makefile-gentoo.diff
+}
+
+src_compile() {
+ emake CC=${CC} || die
+}
+
+src_install() {
+ dodir /usr/share/doc/latex2rtf
+ PREFIX=${D}/usr make -e install || die
+ dodoc README doc/latex2rtf.txt
+ # if doc is not used, only the text version is intalled.
+ if use doc; then
+ dodoc doc/latex2rtf.html doc/latex2rtf.pdf doc/latex2rtf.txt
+ doinfo doc/latex2rtf.info
+ fi
+}
diff --git a/dev-tex/latex2rtf/metadata.xml b/dev-tex/latex2rtf/metadata.xml
new file mode 100644
index 000000000000..06689a1a9114
--- /dev/null
+++ b/dev-tex/latex2rtf/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>text-markup</herd>
+</pkgmetadata>