aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sci-mathematics/octave-epstk/ChangeLog11
-rw-r--r--sci-mathematics/octave-epstk/Manifest5
-rw-r--r--sci-mathematics/octave-epstk/files/digest-octave-epstk-2.11
-rw-r--r--sci-mathematics/octave-epstk/files/octave-epstk-2.1_PATCH1.patch33
-rw-r--r--sci-mathematics/octave-epstk/metadata.xml9
-rw-r--r--sci-mathematics/octave-epstk/octave-epstk-2.1.ebuild43
6 files changed, 102 insertions, 0 deletions
diff --git a/sci-mathematics/octave-epstk/ChangeLog b/sci-mathematics/octave-epstk/ChangeLog
new file mode 100644
index 000000000..1b816f1c9
--- /dev/null
+++ b/sci-mathematics/octave-epstk/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for sci-mathematics/octave-epstk
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*octave-epstk-2.1 (14 Apr 2006)
+
+ 14 Apr 2006; Lucas Chiesa <lucas.chiesa@gmail.com>:
+ +octave-epstk-2.1.ebuild, +metadata.xml, +ChangeLog,
+ +octave-epstk-2.1_PATCH1.patch
+ Initial import. Thanks to Peter Gustafson <petegus@umich.edu>
+ for the ebuild. Closes bug #127475
diff --git a/sci-mathematics/octave-epstk/Manifest b/sci-mathematics/octave-epstk/Manifest
new file mode 100644
index 000000000..fe9b31b28
--- /dev/null
+++ b/sci-mathematics/octave-epstk/Manifest
@@ -0,0 +1,5 @@
+MD5 bd202296d033d49cfc7aa323ac0954da ChangeLog 405
+MD5 08dcc39db3655318a5a1dd594ed80c15 files/digest-octave-epstk-2.1 57
+MD5 1486d317f8617b224f93f77f5dda90d2 files/octave-epstk-2.1_PATCH1.patch 1263
+MD5 5cfd1e62f34b60928bc68a829d31d4eb metadata.xml 261
+MD5 db5146df2d11f05ab31afadf198c12a7 octave-epstk-2.1.ebuild 855
diff --git a/sci-mathematics/octave-epstk/files/digest-octave-epstk-2.1 b/sci-mathematics/octave-epstk/files/digest-octave-epstk-2.1
new file mode 100644
index 000000000..92bb3dd72
--- /dev/null
+++ b/sci-mathematics/octave-epstk/files/digest-octave-epstk-2.1
@@ -0,0 +1 @@
+MD5 d2872063da2203639f4be8dd0a37f728 epstk21m.zip 177593
diff --git a/sci-mathematics/octave-epstk/files/octave-epstk-2.1_PATCH1.patch b/sci-mathematics/octave-epstk/files/octave-epstk-2.1_PATCH1.patch
new file mode 100644
index 000000000..f449d46ab
--- /dev/null
+++ b/sci-mathematics/octave-epstk/files/octave-epstk-2.1_PATCH1.patch
@@ -0,0 +1,33 @@
+--- /var/tmp/portage/octave-epstk-2.1/work/epstk21/m/einit.m 2005-04-08 03:47:39.000000000 -0400
++++ /var/tmp/portage/octave-epstk-2.1/work/epstk21/m/einit.m 2006-03-20 13:04:55.000000000 -0500
+@@ -6,19 +6,19 @@
+ %%
+
+ % Path of epstk-mfiles
+-ePath='./'; % local directory
+-%ePath='/usr/share/octave/site/m/octave-epstk/';%or e.g. on a linux system
++%ePath='./'; % local directory
++ePath='/usr/share/octave/site/m/octave-epstk/';%or e.g. on a linux system
+
+ % Read user-parameter-file (octave on linux system)
+-%eInitUserFile=[system('echo -n $HOME') '/.epstkInit.m'];
+-%if exist(eInitUserFile)~=2
+-% [userParaText n]=etxtread([ePath 'einit.m']);
+-% userParaStartPos=findstr(userParaText(1:1000),'% Parameter for epstk');
+-% etxtwrit(userParaText(userParaStartPos(2):n),eInitUserFile);
+-% clear userParaText
+-%end
+-%source(eInitUserFile);
+-%return
++eInitUserFile=[system('echo -n $HOME') '/.epstkInit.m'];
++if exist(eInitUserFile)~=2
++ [userParaText n]=etxtread([ePath 'einit.m']);
++ userParaStartPos=findstr(userParaText(1:1000),'% Parameter for epstk');
++ etxtwrit(userParaText(userParaStartPos(2):n),eInitUserFile);
++ clear userParaText
++end
++source(eInitUserFile);
++return
+
+ % Parameter for epstk
+ % written by stefan.mueller@fgan.de (C) 2005
diff --git a/sci-mathematics/octave-epstk/metadata.xml b/sci-mathematics/octave-epstk/metadata.xml
new file mode 100644
index 000000000..963198591
--- /dev/null
+++ b/sci-mathematics/octave-epstk/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>
+ <maintainer>
+ <email>lucas.chiesa@gmail.com</email>
+ <name>Lucas Chiesa</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/sci-mathematics/octave-epstk/octave-epstk-2.1.ebuild b/sci-mathematics/octave-epstk/octave-epstk-2.1.ebuild
new file mode 100644
index 000000000..37dca6956
--- /dev/null
+++ b/sci-mathematics/octave-epstk/octave-epstk-2.1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $
+
+inherit eutils
+
+MY_P=epstk21m
+MY_DIR=/usr/share/octave/site/m/${PN}
+
+DESCRIPTION="Graphical output functions for Matlab and Octave"
+HOMEPAGE="http://www.epstk.de"
+SRC_URI="http://epstk.sourceforge.net/down/${MY_P}.zip"
+
+LICENSE="GPL"
+KEYWORDS="~x86 ~amd64"
+SLOT="0"
+IUSE=""
+
+DEPEND="sci-mathematics/octave
+ app-text/gv
+ app-text/ghostscript-esp"
+
+src_unpack () {
+ unpack ${A}
+ epatch ${FILESDIR}/octave-epstk-2.1_PATCH1.patch
+}
+
+src_install () {
+ dodir ${MY_DIR}
+ cd ${WORKDIR}/epstk21/m
+ insinto ${MY_DIR}
+ doins *
+ cd ${WORKDIR}/epstk21/
+ dodoc License.txt
+}
+
+pkg_postinst () {
+ einfo "Package installed as octave-epstk."
+ einfo "To test epstk, run octave and execute the demo m files."
+ einfo "For example:"
+ einfo "octave:1> edemo1"
+}
+