diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2010-01-06 02:27:57 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2010-01-06 02:27:57 +0000 |
commit | e07068db1b76dcfd30b1c42fe9272222f34ead32 (patch) | |
tree | 8c30065af474cdb900d669cd3e8f71549e503d0f /dev-tex/dvi2gr | |
parent | Version bump and old version cleanup (diff) | |
download | gentoo-2-e07068db1b76dcfd30b1c42fe9272222f34ead32.tar.gz gentoo-2-e07068db1b76dcfd30b1c42fe9272222f34ead32.tar.bz2 gentoo-2-e07068db1b76dcfd30b1c42fe9272222f34ead32.zip |
Initial import. Initial ebuild submitted by Dirk Goettel, bug #251787
(Portage version: 2.2_rc61/cvs/Linux x86_64)
Diffstat (limited to 'dev-tex/dvi2gr')
-rw-r--r-- | dev-tex/dvi2gr/ChangeLog | 10 | ||||
-rw-r--r-- | dev-tex/dvi2gr/dvi2gr-0.4.ebuild | 41 | ||||
-rw-r--r-- | dev-tex/dvi2gr/metadata.xml | 9 |
3 files changed, 60 insertions, 0 deletions
diff --git a/dev-tex/dvi2gr/ChangeLog b/dev-tex/dvi2gr/ChangeLog new file mode 100644 index 000000000000..0b701d9eb026 --- /dev/null +++ b/dev-tex/dvi2gr/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-tex/dvi2gr +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-tex/dvi2gr/ChangeLog,v 1.1 2010/01/06 02:27:57 bicatali Exp $ + +*dvi2gr-0.4 (06 Jan 2010) + + 06 Jan 2010; Sébastien Fabbro <bicatali@gentoo.org> +dvi2gr-0.4.ebuild, + +metadata.xml: + Initial import. Initial ebuild submitted by Dirk Goettel, bug #251787 + diff --git a/dev-tex/dvi2gr/dvi2gr-0.4.ebuild b/dev-tex/dvi2gr/dvi2gr-0.4.ebuild new file mode 100644 index 000000000000..6291308e3e5e --- /dev/null +++ b/dev-tex/dvi2gr/dvi2gr-0.4.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-tex/dvi2gr/dvi2gr-0.4.ebuild,v 1.1 2010/01/06 02:27:57 bicatali Exp $ + +EAPI=2 + +DESCRIPTION="DVI to Grace translator" +HOMEPAGE="http://plasma-gate.weizmann.ac.il/Grace/" +SRC_URI="ftp://plasma-gate.weizmann.ac.il/pub/grace/src/devel/${P}.tar.gz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~x86" +IUSE="examples" + +DEPEND="media-libs/t1lib" +RDEPEND="${DEPEND}" + +src_prepare() { + # respect flags + sed -i \ + -e '/^LDFLAGS/d' -e '/^CFLAGS/d' -e '/^CC/d' \ + Makefile || die + sed -i -e 's/DVI2GR=\.\/dvi2gr/DVI2GR=$(which dvi2gr)/g' runtest.sh || die +} + +src_install() { + dobin ${PN} || die + if use examples; then + insinto /usr/share/doc/${PF}/examples + doins *.ti runtest.sh || die + fi + + insinto /usr/share/${PN} + doins -r fonts || die +} + +pkg_postinst() { + einfo "Don't forget install the TeX-Fonts in Grace" + einfo " /usr/share/${PN}/fonts/FontDataBase" +} diff --git a/dev-tex/dvi2gr/metadata.xml b/dev-tex/dvi2gr/metadata.xml new file mode 100644 index 000000000000..3ff1f0ca9772 --- /dev/null +++ b/dev-tex/dvi2gr/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>sci</herd> +<longdescription lang='en'> + dvi2gr is a small utility to translate a TeX file (DVI) into a string + recognized by the Grace plotting tool. +</longdescription> +</pkgmetadata> |