summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Grozin <grozin@gentoo.org>2008-05-10 21:41:51 +0000
committerAndrey Grozin <grozin@gentoo.org>2008-05-10 21:41:51 +0000
commit722375607152992c314f470eda680f3a73b3846d (patch)
tree87dce51b9d68905697af694a56ada66dc9eafa9b /sci-visualization
parentFix building with USE=-spell #221219 by Jan. (diff)
downloadgentoo-2-722375607152992c314f470eda680f3a73b3846d.tar.gz
gentoo-2-722375607152992c314f470eda680f3a73b3846d.tar.bz2
gentoo-2-722375607152992c314f470eda680f3a73b3846d.zip
One example patched. Unwanted files are no longer installed.
(Portage version: 2.1.4.4)
Diffstat (limited to 'sci-visualization')
-rw-r--r--sci-visualization/extrema/ChangeLog6
-rw-r--r--sci-visualization/extrema/extrema-4.3.5.ebuild12
-rw-r--r--sci-visualization/extrema/files/extrema-4.3.5.patch10
3 files changed, 24 insertions, 4 deletions
diff --git a/sci-visualization/extrema/ChangeLog b/sci-visualization/extrema/ChangeLog
index 7f3b4f010b95..83710c7fee96 100644
--- a/sci-visualization/extrema/ChangeLog
+++ b/sci-visualization/extrema/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sci-visualization/extrema
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-visualization/extrema/ChangeLog,v 1.1 2008/05/03 18:08:28 grozin Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/extrema/ChangeLog,v 1.2 2008/05/10 21:41:50 grozin Exp $
+
+ 11 May 2008; Andrey Grozin <grozin@gentoo.org> +files/extrema-4.3.5.patch,
+ extrema-4.3.5.ebuild:
+ One example patched. Unwanted files are no longer installed.
*extrema-4.3.5 (04 May 2008)
diff --git a/sci-visualization/extrema/extrema-4.3.5.ebuild b/sci-visualization/extrema/extrema-4.3.5.ebuild
index 6287eed28e26..0abf71dc3691 100644
--- a/sci-visualization/extrema/extrema-4.3.5.ebuild
+++ b/sci-visualization/extrema/extrema-4.3.5.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-visualization/extrema/extrema-4.3.5.ebuild,v 1.1 2008/05/03 18:08:28 grozin Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/extrema/extrema-4.3.5.ebuild,v 1.2 2008/05/10 21:41:50 grozin Exp $
WX_GTK_VER="2.8"
inherit eutils fdo-mime wxwidgets
@@ -15,6 +15,12 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
DEPEND=">=x11-libs/wxGTK-2.8.7
dev-util/desktop-file-utils"
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}.patch
+}
+
src_compile() {
# extrema cannot be compiled with versions of minuit
# available in portage
@@ -36,13 +42,13 @@ src_install() {
dodoc AUTHORS ChangeLog || die "dodoc failed"
if use doc; then
insinto /usr/share/doc/${PF}
- doins doc/*
+ doins doc/*.pdf
fi
if use examples; then
dodir /usr/share/doc/${PF}/examples
insinto /usr/share/doc/${PF}/examples
- doins Scripts/*
+ doins Scripts/*.pcm Scripts/*.dat
fi
}
diff --git a/sci-visualization/extrema/files/extrema-4.3.5.patch b/sci-visualization/extrema/files/extrema-4.3.5.patch
new file mode 100644
index 000000000000..dfed80a3011d
--- /dev/null
+++ b/sci-visualization/extrema/files/extrema-4.3.5.patch
@@ -0,0 +1,10 @@
+diff -U2 -r extrema-4.3.5.orig/Scripts/waterpipes.pcm extrema-4.3.5/Scripts/waterpipes.pcm
+--- extrema-4.3.5.orig/Scripts/waterpipes.pcm 2007-11-02 03:48:32.000000000 +0600
++++ extrema-4.3.5/Scripts/waterpipes.pcm 2008-05-11 12:18:25.000000000 +0700
+@@ -24,5 +24,5 @@
+ !
+ !
+-FILE = 'HOUSES.DAT'
++FILE = 'houses.dat'
+ LENGTH_GOAL = 5 ! try to achieve this goal
+ READ\-MESSAGES FILE X Y ! read in the house positions