Moved from app-sci/epix to media-gfx/epix.
authorOlivier Fisette <ribosome@gentoo.org>
Fri, 24 Dec 2004 01:12:58 +0000 (01:12 +0000)
committerOlivier Fisette <ribosome@gentoo.org>
Fri, 24 Dec 2004 01:12:58 +0000 (01:12 +0000)
media-gfx/epix/ChangeLog [new file with mode: 0644]
media-gfx/epix/Manifest [new file with mode: 0644]
media-gfx/epix/epix-0.8.10a-r1.ebuild [new file with mode: 0644]
media-gfx/epix/epix-1.0.0.ebuild [new file with mode: 0644]
media-gfx/epix/files/digest-epix-0.8.10a-r1 [new file with mode: 0644]
media-gfx/epix/files/digest-epix-1.0.0 [new file with mode: 0644]
media-gfx/epix/metadata.xml [new file with mode: 0644]

diff --git a/media-gfx/epix/ChangeLog b/media-gfx/epix/ChangeLog
new file mode 100644 (file)
index 0000000..1e41d16
--- /dev/null
@@ -0,0 +1,46 @@
+# ChangeLog for app-sci/epix
+# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/epix/ChangeLog,v 1.1 2004/12/24 01:12:57 ribosome Exp $
+
+*epix-1.0.0 (23 Dec 2004)
+
+  23 Dec 2004; Olivier Fisette <ribosome@gentoo.org> +metadata.xml,
+  +epix-0.8.10a-r1.ebuild, +epix-1.0.0.ebuild:
+  Moved from app-sci/epix to media-gfx/epix.
+
+  23 Nov 2004; Olivier Fisette <ribosome@gentoo.org> epix-0.8.10a-r1.ebuild,
+  epix-1.0.0.ebuild:
+  Added "virtual/tetex" dependency. Required to build the documentation.
+
+*epix-1.0.0 (23 Nov 2004)
+
+  23 Nov 2004; Olivier Fisette <ribosome@gentoo.org> +epix-1.0.0.ebuild:
+  New version. Credits go to Marcus Hanwell <gentoo@cryos.net>.
+
+  22 Nov 2004; Patrick Kursawe <phosphan@gentoo.org> epix-0.8.10a-r1.ebuild:
+  Using tc-getCXX now (bug #71849). Cleanup.
+
+  06 Jun 2004; Danny van Dyk <kugelfang@gentoo.org> epix-0.8.10a-r1.ebuild:
+  Marked stable on amd64.
+
+  22 Apr 2004; Danny van Dyk <kugelfang@gentoo.org> epix-0.8.10a-r1.ebuild:
+  marked ~amd64
+
+*epix-0.8.10a-r1 (20 Nov 2003)
+
+  20 Nov 2003; Patrick Kursawe <phosphan@gentoo.org> epix-0.8.10a-r1.ebuild:
+  Installing tutorial aswell.
+
+*epix-0.8.10a (19 Jun 2003)
+
+  19 Jun 2003; Peter Johanson <latexer@gentoo.org> epix-0.8.10a.ebuild,
+  epix-0.8.8a.ebuild:
+  Bump, and marking 0.8.8a as stable
+
+  09 May 2003; Peter Johanson <latexer@gentoo.org> epix-0.8.8a.ebuild:
+  Add some sedding for bug #20633
+
+*epix-0.8.8a (14 Feb 2003)
+
+  14 Feb 2003; Peter Johanson <latexer@gentoo.org> epix-0.8.8a.ebuild files/digest-epix-0.8.8a :
+  Initial import. Ebuilds by me.
diff --git a/media-gfx/epix/Manifest b/media-gfx/epix/Manifest
new file mode 100644 (file)
index 0000000..36843bc
--- /dev/null
@@ -0,0 +1,6 @@
+MD5 d7dbc8b934621a6fb2dbf62c5022c67e epix-0.8.10a-r1.ebuild 1528
+MD5 70857f249945b5d88a08557b972a4f70 epix-1.0.0.ebuild 1302
+MD5 c4202fc0556f753107bf741103124012 ChangeLog 1421
+MD5 8c623e53daafa025137077c6b65815bd metadata.xml 156
+MD5 978e21d695848341b116f070137c4a50 files/digest-epix-1.0.0 72
+MD5 dc26ec6bc48dee7ffacbe02626c03b78 files/digest-epix-0.8.10a-r1 74
diff --git a/media-gfx/epix/epix-0.8.10a-r1.ebuild b/media-gfx/epix/epix-0.8.10a-r1.ebuild
new file mode 100644 (file)
index 0000000..a29fff8
--- /dev/null
@@ -0,0 +1,58 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/epix/epix-0.8.10a-r1.ebuild,v 1.1 2004/12/24 01:12:57 ribosome Exp $
+
+inherit toolchain-funcs
+
+DESCRIPTION="2- and 3-D plotter for creating images (to be used in LaTeX)"
+HOMEPAGE="http://mathcs.holycross.edu/~ahwang/current/ePiX.html"
+SRC_URI="http://mathcs.holycross.edu/~ahwang/software/${P}_complete.tar.bz2"
+LICENSE="GPL-2"
+
+SLOT="0"
+KEYWORDS="x86 amd64"
+IUSE=""
+
+DEPEND="virtual/tetex"
+
+RDEPEND="app-shells/bash
+               >=sys-apps/sed-4"
+
+S=${WORKDIR}/${P/a/}
+
+
+src_unpack() {
+       unpack ${A}
+       cd ${S}
+
+       # Some sedding to get things installed in the proper places.
+
+       sed -i -e "s:\${EPIX_SHAREDIR}/epix:\${EPIX_SHAREDIR}/${P}:" \
+                       helpfiles.sh
+
+       sed -i -e "s:man man/man1 share:share share/man share/man/man1:;\
+                     s:share/epix:share/${P}:g"  pre-install.sh
+       chmod a+x pre-install.sh
+
+       sed -i -e "s:^INSTALL_DIR.*:INSTALL_DIR=/usr:" prepix
+}
+
+src_compile() {
+       emake CXX="$(tc-getCXX)" CFLAGS="-c ${CFLAGS}" shrdir=${D}/usr/share\
+                       mandir=${D}/usr/share/man/man1 epix contrib || die
+       echo > README.gentoo -e "The full documentation is well hidden in the epix*howto.ps.gz-file in the tutorial subdirectory"
+}
+
+src_install() {
+       dodir /usr/man/man1
+       make "prefix=${D}/usr/" install || die
+       dodoc README.gentoo
+       cd ${D}/usr/share/${PN}-${PV}
+       dodoc notes/*
+       rm -rf notes
+       docinto tutorial
+       dodoc tutorial/*
+       docinto tutorial/contrib
+       dodoc tutorial/contrib/*
+       rm -rf tutorial
+}
diff --git a/media-gfx/epix/epix-1.0.0.ebuild b/media-gfx/epix/epix-1.0.0.ebuild
new file mode 100644 (file)
index 0000000..b9fb31e
--- /dev/null
@@ -0,0 +1,44 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/epix/epix-1.0.0.ebuild,v 1.1 2004/12/24 01:12:57 ribosome Exp $
+
+inherit toolchain-funcs flag-o-matic
+
+DESCRIPTION="2- and 3-D plotter for creating images (to be used in LaTeX)"
+HOMEPAGE="http://mathcs.holycross.edu/~ahwang/current/ePiX.html"
+SRC_URI="http://mathcs.holycross.edu/~ahwang/epix/${P}_complete.tar.bz2"
+LICENSE="GPL-2"
+
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE=""
+
+DEPEND="virtual/tetex"
+
+RDEPEND="app-shells/bash
+               >=sys-apps/sed-4"
+
+src_compile() {
+       filter-flags -O1 -O2 -O3 -Os
+       make CXX="$(tc-getCXX)" CFLAGS="-c -Wall ${CXXFLAGS}" prefix="${D}/usr" all || die "emake failed."
+       echo > README.gentoo -e "The full documentation is well hidden in the epix*howto.ps.gz-file in the tutorial subdirectory"
+}
+
+src_test() {
+       make CXX="$(tc-getCXX)" CFLAGS="${CFLAGS}" prefix="${D}/usr" test
+}
+
+src_install() {
+       make CXX="$(tc-getCXX)" CFLAGS="${CFLAGS}" prefix="${D}/usr" install || die
+       dodoc README.gentoo
+       cd ${D}/usr/share/${PN}
+       rm notes/COPYING
+       rm notes/INSTALL
+       dodoc notes/*
+       rm -rf notes
+       insinto /usr/share/doc/${PF}/tutorial
+       doins tutorial/*
+       insinto /usr/share/doc/${PF}/tutorial/contrib
+       doins tutorial/contrib/*
+       rm -rf tutorial
+}
diff --git a/media-gfx/epix/files/digest-epix-0.8.10a-r1 b/media-gfx/epix/files/digest-epix-0.8.10a-r1
new file mode 100644 (file)
index 0000000..cfbd18c
--- /dev/null
@@ -0,0 +1 @@
+MD5 49e12e65e88ccb3b47e45c72673cc56b epix-0.8.10a_complete.tar.bz2 169671
diff --git a/media-gfx/epix/files/digest-epix-1.0.0 b/media-gfx/epix/files/digest-epix-1.0.0
new file mode 100644 (file)
index 0000000..f237063
--- /dev/null
@@ -0,0 +1 @@
+MD5 7138e8084e0dbd2f2c6899835812e5a9 epix-1.0.0_complete.tar.bz2 172151
diff --git a/media-gfx/epix/metadata.xml b/media-gfx/epix/metadata.xml
new file mode 100644 (file)
index 0000000..b229aec
--- /dev/null
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sci</herd>
+</pkgmetadata>