summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-tex/dvi2tty/ChangeLog10
-rw-r--r--dev-tex/dvi2tty/dvi2tty-5.3.4.ebuild31
-rw-r--r--dev-tex/dvi2tty/files/dvi2tty-5.3.4-cflags.patch32
-rw-r--r--dev-tex/dvi2tty/metadata.xml9
4 files changed, 80 insertions, 2 deletions
diff --git a/dev-tex/dvi2tty/ChangeLog b/dev-tex/dvi2tty/ChangeLog
index 4251da170da8..4f2626f54259 100644
--- a/dev-tex/dvi2tty/ChangeLog
+++ b/dev-tex/dvi2tty/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-tex/dvi2tty
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-tex/dvi2tty/ChangeLog,v 1.23 2010/02/02 22:08:00 abcd Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-tex/dvi2tty/ChangeLog,v 1.24 2011/11/05 18:51:57 maksbotan Exp $
+
+*dvi2tty-5.3.4 (05 Nov 2011)
+
+ 05 Nov 2011; Maxim Koltsov <maksbotan@gentoo.org> +dvi2tty-5.3.4.ebuild,
+ +files/dvi2tty-5.3.4-cflags.patch, metadata.xml:
+ Bump to 5.3.4, add Ian Delaney as proxy maintainer
02 Feb 2010; Jonathan Callen <abcd@gentoo.org> dvi2tty-5.3.1.ebuild:
Add ~amd64-linux/~x86-linux keywords
diff --git a/dev-tex/dvi2tty/dvi2tty-5.3.4.ebuild b/dev-tex/dvi2tty/dvi2tty-5.3.4.ebuild
new file mode 100644
index 000000000000..4d3042683cb9
--- /dev/null
+++ b/dev-tex/dvi2tty/dvi2tty-5.3.4.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-tex/dvi2tty/dvi2tty-5.3.4.ebuild,v 1.1 2011/11/05 18:51:57 maksbotan Exp $
+
+EAPI="4"
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Preview dvi-files on text-only devices"
+HOMEPAGE="http://www.ctan.org/tex-archive/dviware/"
+SRC_URI="ftp://ftp.mesa.nl/pub/dvi2tty/${P}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
+IUSE=""
+
+src_prepare() {
+ epatch "${FILESDIR}/${PN}-${PV}-cflags.patch"
+}
+
+src_compile() {
+ tc-export CC
+ emake
+}
+
+src_install() {
+ dobin dvi2tty disdvi
+ doman dvi2tty.1 disdvi.1
+ dodoc README TODO
+} \ No newline at end of file
diff --git a/dev-tex/dvi2tty/files/dvi2tty-5.3.4-cflags.patch b/dev-tex/dvi2tty/files/dvi2tty-5.3.4-cflags.patch
new file mode 100644
index 000000000000..99e8b02c90f3
--- /dev/null
+++ b/dev-tex/dvi2tty/files/dvi2tty-5.3.4-cflags.patch
@@ -0,0 +1,32 @@
+diff -ur dvi2tty-5.3.4.orig//Makefile dvi2tty-5.3.4/Makefile
+--- dvi2tty-5.3.4/Makefile 2010-10-27 17:01:32.000000000 +0800
++++ dvi2tty-5.3.4/Makefile 2011-11-06 00:50:37.738815333 +0800
+@@ -8,9 +8,8 @@
+ #
+ CC = gcc
+
+-CFLAGS = -Wall -O2
++CFLAGS += -Wall -O2
+ # CFLAGS = -Wall -O2 -fomit-frame-pointer
+-LDFLAGS = -s
+
+ prefix = ${DESTDIR}/usr
+ mandir = $(prefix)/share/man/man1
+@@ -20,10 +19,10 @@
+ all: dvi2tty disdvi
+
+ dvi2tty:dvi2tty.o dvistuff.o
+- $(CC) $(LFLAGS) -o dvi2tty dvi2tty.o dvistuff.o
++ $(CC) $(LDFLAGS) -o dvi2tty dvi2tty.o dvistuff.o
+
+ disdvi:disdvi.o
+- $(CC) $(LFLAGS) -o disdvi disdvi.o
++ $(CC) $(LDFLAGS) -o disdvi disdvi.o
+
+ dvi2tty.o: dvi2tty.c dvi2tty.h
+
+@@ -37,4 +36,3 @@
+ install: all
+ install dvi2tty disdvi $(bindir)
+ install dvi2tty.1 $(mandir)
+- install disdvi.1 $(mandir)
diff --git a/dev-tex/dvi2tty/metadata.xml b/dev-tex/dvi2tty/metadata.xml
index ba6a8a8800d5..2ee99e0dfda1 100644
--- a/dev-tex/dvi2tty/metadata.xml
+++ b/dev-tex/dvi2tty/metadata.xml
@@ -2,4 +2,13 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>tex</herd>
+<herd>proxy-maintainers</herd>
+<maintainer>
+ <email>johneed@hotmail.com</email>
+ <name>Ian Delaney</name>
+</maintainer>
+<maintainer>
+ <email>maksbotan@gentoo.org</email>
+ <name>Maxim Koltsov</name>
+</maintainer>
</pkgmetadata>