diff options
-rw-r--r-- | dev-tex/dvi2tty/ChangeLog | 8 | ||||
-rw-r--r-- | dev-tex/dvi2tty/Manifest | 15 | ||||
-rw-r--r-- | dev-tex/dvi2tty/dvi2tty-5.3.1.ebuild | 12 | ||||
-rw-r--r-- | dev-tex/dvi2tty/files/dvi2tty-cflags.patch | 30 |
4 files changed, 57 insertions, 8 deletions
diff --git a/dev-tex/dvi2tty/ChangeLog b/dev-tex/dvi2tty/ChangeLog index 263211dd43b1..d4abd4c578b8 100644 --- a/dev-tex/dvi2tty/ChangeLog +++ b/dev-tex/dvi2tty/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-tex/dvi2tty -# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-tex/dvi2tty/ChangeLog,v 1.8 2007/03/13 00:15:26 nattfodd Exp $ +# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-tex/dvi2tty/ChangeLog,v 1.9 2008/08/22 14:11:01 aballier Exp $ + + 22 Aug 2008; Alexis Ballier <aballier@gentoo.org> + +files/dvi2tty-cflags.patch, dvi2tty-5.3.1.ebuild: + respect cflags and ldflags, fix quoting, tc-export CC, install the README 12 Mar 2007; Alexandre Buisse <nattfodd@gentoo.org> metadata.xml: Replaced text-markup by tex as maintaining herd (text-markup split). diff --git a/dev-tex/dvi2tty/Manifest b/dev-tex/dvi2tty/Manifest index 09e39145c3fa..bd09ed7b8357 100644 --- a/dev-tex/dvi2tty/Manifest +++ b/dev-tex/dvi2tty/Manifest @@ -1,5 +1,16 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +AUX dvi2tty-cflags.patch 688 RMD160 57800e1992da9b0e87ae563959cde4793082b994 SHA1 db69a9c63cfc4a039de2f0424f9d7af37da518eb SHA256 6659f2ca148e8b6217c962ed9baf5353de672061d06962e1902de42797617f1a AUX dvi2tty-gcc.patch 341 RMD160 ad0334af112037fae9ee1fa7e67287bf65ba0665 SHA1 82cb5e16cc8336fb1d9c13bb6e4bf77ea2d85f23 SHA256 79e510dd5145a4939001235292cc560e92bde1b4d10b486445538863ed0da1d5 DIST dvi2tty-5.3.1.tar.gz 61374 RMD160 a95b70bb93e46af7d50c5462e697b81eee1ce1d2 SHA1 268cd0a0e7c85afaf43cda8891a8aa87157f4d3c SHA256 341a40f2682042a4ff4da521c5865f2147eb2f0b2dee70c37e08bf003488d813 -EBUILD dvi2tty-5.3.1.ebuild 631 RMD160 a3e9b255d4a22c1630265bb07ff477684db68db2 SHA1 fe8e5dfd7d408464c98f0df7106109d0caa194bd SHA256 5cb89b6435130e1543e8ee192ebe6205726d24ba2bbf54792dc3f5b1cbb26157 -MISC ChangeLog 1003 RMD160 9bd6094d1b1b78d1cdec16f8bce7f55bae216272 SHA1 db65e8d3724d0e9da38cfb14607790782070d8c0 SHA256 042d54aa06d3888cb47e247fcc68c10d8a34e0911708ff3ff257c92eff521c44 +EBUILD dvi2tty-5.3.1.ebuild 717 RMD160 1a1f97154febecb6109416a148913f3fc980fa6e SHA1 4f745779f2beb3422315fd7f26025ef425d78cf0 SHA256 7d4aadbdf7e3ca2a2d08ac68406ee8ada4de7d3f640fb666a5f2e35177422ad1 +MISC ChangeLog 1185 RMD160 ffac8081074a20c965bc68338d13313281fec589 SHA1 1e64aeb566970360161d2cc6796d476f4b64badd SHA256 6029d7dd6f456e7a47ff6e5054f6bfbf213fa29b70cefb715a346e3b6d565f7e MISC metadata.xml 156 RMD160 2bf6b2ed9ff0fcef1e902cf093ccf4ae2dcc70a0 SHA1 e9260cd53905d8569cf3327ded4c6d01653fc389 SHA256 b4971b8472ab3fe4fbfe41b331a79193ca19e86c08d055ad1c20eaf9e04b79b6 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.9 (GNU/Linux) + +iEYEARECAAYFAkiuyPoACgkQvFcC4BYPU0oP5QCgsNho6IZ90fpFtbgkRhLePBCp +LOgAnR63tXqV2xVw2n44fe5/OjmNDOxW +=pI49 +-----END PGP SIGNATURE----- diff --git a/dev-tex/dvi2tty/dvi2tty-5.3.1.ebuild b/dev-tex/dvi2tty/dvi2tty-5.3.1.ebuild index 1a275e3aea02..cbfd1a7bbcff 100644 --- a/dev-tex/dvi2tty/dvi2tty-5.3.1.ebuild +++ b/dev-tex/dvi2tty/dvi2tty-5.3.1.ebuild @@ -1,8 +1,9 @@ -# Copyright 1999-2004 Gentoo Foundation +# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-tex/dvi2tty/dvi2tty-5.3.1.ebuild,v 1.5 2004/12/28 20:59:04 absinthe Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-tex/dvi2tty/dvi2tty-5.3.1.ebuild,v 1.6 2008/08/22 14:11:01 aballier Exp $ + +inherit eutils toolchain-funcs -inherit eutils 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}.tar.gz" @@ -14,14 +15,17 @@ DEPEND="" src_unpack() { unpack ${A} - epatch ${FILESDIR}/dvi2tty-gcc.patch + epatch "${FILESDIR}/${PN}-gcc.patch" + epatch "${FILESDIR}/${PN}-cflags.patch" } src_compile() { + tc-export CC emake || die } src_install() { dobin dvi2tty disdvi doman dvi2tty.1 disdvi.1 + dodoc README } diff --git a/dev-tex/dvi2tty/files/dvi2tty-cflags.patch b/dev-tex/dvi2tty/files/dvi2tty-cflags.patch new file mode 100644 index 000000000000..36d9afb7f1ea --- /dev/null +++ b/dev-tex/dvi2tty/files/dvi2tty-cflags.patch @@ -0,0 +1,30 @@ +Index: dvi2tty-5.3.1/Makefile +=================================================================== +--- dvi2tty-5.3.1.orig/Makefile ++++ dvi2tty-5.3.1/Makefile +@@ -6,11 +6,11 @@ + # This Makefile does not work for MSDOS. Make your + # own one, or compile by hand. + # +-CC = gcc ++CC ?= gcc + +-CFLAGS = -Wall -O2 ++CFLAGS ?= -Wall -O2 + # CFLAGS = -Wall -O2 -fomit-frame-pointer +-LDFLAGS = -s ++#LDFLAGS = -s + + prefix = /usr/local + mandir = $(prefix)/man/man1 +@@ -20,10 +20,8 @@ bindir = $(prefix)/bin + all: dvi2tty disdvi + + dvi2tty:dvi2tty.o dvistuff.o +- $(CC) $(LFLAGS) -o dvi2tty dvi2tty.o dvistuff.o + + disdvi:disdvi.o +- $(CC) $(LFLAGS) -o disdvi disdvi.o + + dvi2tty.o: dvi2tty.c dvi2tty.h + |