aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordavide <davide@macbook.(none)>2009-05-17 16:17:07 +0200
committerdavide <davide@macbook.(none)>2009-05-17 16:17:07 +0200
commit9e9df5ee6c5dfc59a08532a19282ebe4595bc6ec (patch)
treecda8706d0acfe32331c50516ae476a86a92e74f5 /sci-mathematics/freefem++
parentapp-vim/freefem++-syntax: cleanup, fix copyright notice and Manifest (diff)
downloadsci-9e9df5ee6c5dfc59a08532a19282ebe4595bc6ec.tar.gz
sci-9e9df5ee6c5dfc59a08532a19282ebe4595bc6ec.tar.bz2
sci-9e9df5ee6c5dfc59a08532a19282ebe4595bc6ec.zip
sci-mathematics/freefem++: cleanup, fix copyright notice and Manifest
Diffstat (limited to 'sci-mathematics/freefem++')
-rw-r--r--sci-mathematics/freefem++/ChangeLog4
-rw-r--r--sci-mathematics/freefem++/Manifest5
-rw-r--r--sci-mathematics/freefem++/freefem++-2.24.2-r2.ebuild134
-rw-r--r--sci-mathematics/freefem++/freefem++-2.24.2-r3.ebuild2
4 files changed, 7 insertions, 138 deletions
diff --git a/sci-mathematics/freefem++/ChangeLog b/sci-mathematics/freefem++/ChangeLog
index 54a9314fe..0defcc94e 100644
--- a/sci-mathematics/freefem++/ChangeLog
+++ b/sci-mathematics/freefem++/ChangeLog
@@ -2,6 +2,10 @@
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 17 May 2009; David Radice <david.e.pi.3.14@gmail.com>
+ -freefem++-2.24.2-r2.ebuild:
+ Cleanup.
+
12 Apr 2009; David Radice <david.e.pi.3.14@gmail.com>
+files/freefem++-texlive2008.patch, +freefem++-2.24.2-r3.ebuild,
-freefem++-2.24.2-r1.ebuild, -freefem++-2.24.2.ebuild:
diff --git a/sci-mathematics/freefem++/Manifest b/sci-mathematics/freefem++/Manifest
index 2a6e26561..11e1594b4 100644
--- a/sci-mathematics/freefem++/Manifest
+++ b/sci-mathematics/freefem++/Manifest
@@ -4,7 +4,6 @@ AUX freefem++-gcc43.patch 6566 RMD160 5d8dcb917ec2e5367eb04ddc25e083f6fbb36cfe S
AUX freefem++-no-x11r6-dir.patch 401 RMD160 e655fee7b078162aa04e08289e8aceaa6663b884 SHA1 bbe3e6b32573abcb45e75b2a9844a5ee175d6694 SHA256 867136ede23c25a8e7ea61fa542e589c1f35a3d6a8a37658da0ced8a25d4bb26
AUX freefem++-texlive2008.patch 984 RMD160 b22bc9a810b23b784e576658d4a971414cc3e190 SHA1 537fe8e3b5612424ed1b3d5e4335521560690419 SHA256 b84db5990298efa28b801a17493f2e75cd418f7921cc970ff5d46d11fcace698
DIST freefem++-2.24-2.tar.gz 10974055 RMD160 db4ce51f42eabd00b0f85f37c0a3c9e1f126c17c SHA1 ea5968f49d4c9b682a6e09998c7bc254187de422 SHA256 58865bf6679c78c21448abd3c824b511f152e360e4c436368f36a9c54c0aeaf1
-EBUILD freefem++-2.24.2-r2.ebuild 3480 RMD160 4208d316f1545a6172a54bb3ec33e184e95cf185 SHA1 b400d10c1711fe06fe851ca420f550616862625a SHA256 fd26d8f4582230a69691b62d57cc16aa54e88876554fb5d09773856991091001
-EBUILD freefem++-2.24.2-r3.ebuild 3585 RMD160 0ecc4ad73cd024b7fb8a1587c241b5fb534700cc SHA1 6aa6be921ae1e052f88db834b2899bd4f427d9bb SHA256 982b31e2763bf6a586d6fa22a8b1c1eae66058e68f462e2f29e6e6f7946c099c
-MISC ChangeLog 1539 RMD160 dc7adb94a312221e1da9de052532fac119c41691 SHA1 e6b404c64a317fb124c4c7feb7d8f327a25f847c SHA256 da05e550087a78b0a497aab28ce011fa9e4f5d812bea81dcf443c45b758b691c
+EBUILD freefem++-2.24.2-r3.ebuild 3585 RMD160 2ef387a12052df4248d9202a43b7cffd552174df SHA1 b453e77d841c19f16e483b0b9f7bfa1c327f6595 SHA256 ca322e94b12c872ad6f5987b3d37839aee5615e0ed4fa0525a035ed6ef863b23
+MISC ChangeLog 1884 RMD160 ade933881f470fdc378f70e8d2d3898121589a79 SHA1 cb8bc312af38a74ebdc071537d38fde936ccdadb SHA256 118a6d1046289aa2e7fb5372275d0c4e4e581f7a974f8e903690695269188b7e
MISC metadata.xml 381 RMD160 17dca0ed77bf65c0d2d8aa2148243f67c4a05edf SHA1 f583b125502b06a151f200849e2892bd08dbc70e SHA256 d7569d977d779a55533651e01e4d45e5ae7a1ada36b634e8b988ae4db86cdb83
diff --git a/sci-mathematics/freefem++/freefem++-2.24.2-r2.ebuild b/sci-mathematics/freefem++/freefem++-2.24.2-r2.ebuild
deleted file mode 100644
index 905f4e532..000000000
--- a/sci-mathematics/freefem++/freefem++-2.24.2-r2.ebuild
+++ /dev/null
@@ -1,134 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-inherit eutils autotools versionator flag-o-matic
-
-MY_PV=$(replace_version_separator 2 '-')
-
-DESCRIPTION="Solve PDEs using FEM on 2d domains"
-HOMEPAGE="http://www.freefem.org/ff++/"
-SRC_URI="http://www.freefem.org/ff%2B%2B/ftp/${PN}-${MY_PV}.tar.gz"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="doc examples fltk mpi vim-syntax X"
-
-RDEPEND="sci-libs/fftw
- virtual/cblas
- virtual/lapack
- sci-libs/umfpack
- >=sci-libs/arpack-96-r2
- vim-syntax? ( app-vim/freefem++-syntax )
- X? (
- x11-libs/libXpm
- fltk? ( x11-libs/fltk )
- )
- mpi? ( virtual/mpi )"
-
-DEPEND="${RDEPEND}
- dev-util/pkgconfig
- doc? ( virtual/latex-base media-gfx/imagemagick )"
-
-S="${WORKDIR}/${PN}-${MY_PV}"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- # acoptim.m4 forced -O2 removal
- epatch "${FILESDIR}"/${PN}-acoptim.patch
- # build an X11 version even if there is not an X11R6 directory
- epatch "${FILESDIR}"/${PN}-no-x11r6-dir.patch
- # fix building with gcc-4.3 (thanks to Dominik 'Rathann' Mierzejewsk)
- epatch "${FILESDIR}"/${PN}-gcc43.patch
- # backport a fix to a problem with P1 fespace
- epatch "${FILESDIR}"/${PN}-P1-fix.patch
-
- eautoreconf
-}
-
-src_compile() {
- local myconf
-
- if use mpi; then
- if has_version sys-cluster/mpich2 ; then
- myconf="${myconf} --with-mpi=mpicxx"
- else
- myconf="${myconf} --with-mpi=mpiCC"
- fi
- else
- myconf="--without-mpi"
- fi
-
- use fltk && append-cppflags $(fltk-config --cflags)
-
- econf \
- --disable-download \
- --disable-optim \
- --enable-generic \
- --with-blas="$(pkg-config --libs blas)" \
- --with-lapack="$(pkg-config --libs lapack)" \
- $(use_with fltk) \
- $(use_with X x) \
- ${myconf} \
- || die "econf failed"
-
- emake || die "emake failed"
-
- if use doc; then
- emake documentation || die "emake documentation failed"
- fi
-}
-
-src_test() {
- if use mpi; then
- # This may depend on the used MPI implementation. It is needed
- # with mpich2, but should not be needed with lam-mpi or mpich
- # (if the system is configured correctly).
- ewarn "Please check that your MPI root ring is on before running"
- ewarn "the test phase. Failing to start it before that phase may"
- ewarn "result in a failing emerge."
- epause
- fi
- emake -j1 check || die "check test failed"
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
-
- if use fltk; then
- einfo "\"FreeFem++-ide\" is not intended for user use."
- einfo "Use the \"FreeFem++-cs\" command to access the IDE."
- einfo
- fi
-
- insinto /usr/share/doc/${PF}
- if use doc; then
- doins DOC/freefem++doc.pdf || die
- fi
-
- if use examples; then
- einfo "Installing examples..."
-
- # Remove compiled examples:
- emake clean || die "emake clean failed"
-
- einfo "Some of the installed examples assumes that the user has write"
- einfo "permissions in the working directory and other will look for"
- einfo "data files in the working directory. For this reason in order to"
- einfo "run the examples it's better to temporary copy them somewhere"
- einfo "in the user folder. For example to run the tutorial examples"
- einfo "it's better to copy the entire examples++-tutorial folder into"
- einfo "the user directory."
- doins regtests.sh
-
- # Install the needed headers with examples++-load
- tar -xzhf examples++-load/include.tar.gz -C examples++-load
- rm -f examples++-load/._*
- rm examples++-load/include.tar.gz
-
- rm -f examples*/Makefile*
- doins -r examples*
- fi
-}
diff --git a/sci-mathematics/freefem++/freefem++-2.24.2-r3.ebuild b/sci-mathematics/freefem++/freefem++-2.24.2-r3.ebuild
index 869f6c918..6f5328e2c 100644
--- a/sci-mathematics/freefem++/freefem++-2.24.2-r3.ebuild
+++ b/sci-mathematics/freefem++/freefem++-2.24.2-r3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $