summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-tex/dvi2gr
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-tex/dvi2gr')
-rw-r--r--dev-tex/dvi2gr/Manifest1
-rw-r--r--dev-tex/dvi2gr/dvi2gr-0.4.ebuild41
-rw-r--r--dev-tex/dvi2gr/metadata.xml9
3 files changed, 51 insertions, 0 deletions
diff --git a/dev-tex/dvi2gr/Manifest b/dev-tex/dvi2gr/Manifest
new file mode 100644
index 00000000000..1aab5f2d540
--- /dev/null
+++ b/dev-tex/dvi2gr/Manifest
@@ -0,0 +1 @@
+DIST dvi2gr-0.4.tar.gz 10240 SHA256 1baaeb295b63ead487d68ba667dfe54416fa7b770f253e31ed18d9b2bdd24254 SHA512 d0b69eac3ffb9e6975195fae0a8a16c58c547eb6ffa8954799cfacf88ea1fdfe943cdbd6665694d8c346e5dda88b8df3b031a620323158081cbac45a7e44be19 WHIRLPOOL 05e83d326ea42ef5aed28e6c624aafe374a4f289a8566c5366ba3f15ca2c8f7a64c6dd54a127ab8a58d4130ebb224a23144c5176210de9e0900cf6c434f955dc
diff --git a/dev-tex/dvi2gr/dvi2gr-0.4.ebuild b/dev-tex/dvi2gr/dvi2gr-0.4.ebuild
new file mode 100644
index 00000000000..11316064563
--- /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
+# $Id$
+
+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 00000000000..3ff1f0ca977
--- /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>