public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Justin Lecher" <jlec@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-mathematics/netgen/
Date: Mon, 21 Sep 2015 19:05:44 +0000 (UTC)	[thread overview]
Message-ID: <1442861657.55066272be3a52a2cb2c012c201537c6ee4782cd.jlec@gentoo> (raw)

commit:     55066272be3a52a2cb2c012c201537c6ee4782cd
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 21 18:54:17 2015 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Mon Sep 21 18:54:17 2015 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=55066272

sci-mathematics/netgen: Add subslot operators

Package-Manager: portage-2.2.20.1
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>

 sci-mathematics/netgen/netgen-4.9.13.ebuild | 21 +++++++++++----------
 sci-mathematics/netgen/netgen-5.0.0.ebuild  | 14 +++++++-------
 2 files changed, 18 insertions(+), 17 deletions(-)

diff --git a/sci-mathematics/netgen/netgen-4.9.13.ebuild b/sci-mathematics/netgen/netgen-4.9.13.ebuild
index 2a0d501..fac506b 100644
--- a/sci-mathematics/netgen/netgen-4.9.13.ebuild
+++ b/sci-mathematics/netgen/netgen-4.9.13.ebuild
@@ -1,27 +1,28 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI="2"
+EAPI=5
 
 inherit eutils flag-o-matic multilib versionator
 
-DESCRIPTION="NETGEN is an automatic 3d tetrahedral mesh generator"
+DESCRIPTION="Automatic 3d tetrahedral mesh generator"
 HOMEPAGE="http://www.hpfem.jku.at/netgen/"
 SRC_URI="mirror://sourceforge/netgen-mesher/${P}.tar.gz"
 
+SLOT="0"
 LICENSE="LGPL-2.1"
 KEYWORDS="~amd64 ~x86"
 IUSE="-ffmpeg jpeg -mpi opencascade"
-SLOT="0"
 
-DEPEND="dev-tcltk/tix
+DEPEND="
+	dev-tcltk/tix
 	dev-tcltk/togl:1.7
 	virtual/opengl
 	x11-libs/libXmu
-	opencascade? ( sci-libs/opencascade )
+	opencascade? ( sci-libs/opencascade:* )
 	ffmpeg? ( media-video/ffmpeg )
-	jpeg? ( virtual/jpeg )
+	jpeg? ( virtual/jpeg:0= )
 	mpi? ( virtual/mpi ) "
 RDEPEND="${DEPEND}"
 # Note, MPI has not be tested.
@@ -60,12 +61,12 @@ src_install() {
 	echo -e "NETGENDIR=${NETGENDIR} \nLDPATH=/usr/$(get_libdir)/Togl1.7" > ./99netgen
 	doenvd 99netgen
 
-	emake DESTDIR="${D}" install || die "make install failed"
+	default
 	mv "${D}"/usr/bin/{*.tcl,*.ocf} "${D}${NETGENDIR}"
 
 	# Install icon and .desktop for menu entry
-	doicon "${FILESDIR}"/${PN}.png || die "doicon failed"
-	domenu "${FILESDIR}"/${PN}.desktop || die "domenu failed"
+	doicon "${FILESDIR}"/${PN}.png
+	domenu "${FILESDIR}"/${PN}.desktop
 }
 
 pkg_postinst() {

diff --git a/sci-mathematics/netgen/netgen-5.0.0.ebuild b/sci-mathematics/netgen/netgen-5.0.0.ebuild
index 071a89b..96434c2 100644
--- a/sci-mathematics/netgen/netgen-5.0.0.ebuild
+++ b/sci-mathematics/netgen/netgen-5.0.0.ebuild
@@ -12,24 +12,24 @@ DESCRIPTION="NETGEN is an automatic 3d tetrahedral mesh generator"
 HOMEPAGE="http://www.hpfem.jku.at/netgen/"
 SRC_URI="mirror://sourceforge/project/${MY_PN}/${MY_PN}/${MY_PV}/${P}.tar.gz"
 
+SLOT="0"
 LICENSE="LGPL-2.1"
 KEYWORDS="~amd64 ~x86"
 IUSE="-ffmpeg jpeg -mpi opencascade"
-SLOT="0"
 
-DEPEND="dev-tcltk/tix
+DEPEND="
+	dev-tcltk/tix
 	dev-tcltk/togl:1.7
 	virtual/opengl
 	x11-libs/libXmu
-	opencascade? ( sci-libs/opencascade )
+	opencascade? ( sci-libs/opencascade:* )
 	ffmpeg? ( media-video/ffmpeg )
-	jpeg? ( virtual/jpeg )
+	jpeg? ( virtual/jpeg:0= )
 	mpi? ( virtual/mpi ( || ( sci-libs/parmetis sci-libs/metis ) ) ) "
 RDEPEND="${DEPEND}"
 # Note, MPI has not be tested.
 
-src_prepare()
-{
+src_prepare() {
 	# Adapted from http://sourceforge.net/projects/netgen-mesher/forums/forum/905307/topic/5422824
 	epatch "${FILESDIR}/${PN}-5.x-compile-against-occ-6.5.x.patch"
 	epatch "${FILESDIR}/${PN}-5.x-missing-define.patch"
@@ -72,7 +72,7 @@ src_install() {
 	echo -e "NETGENDIR=${NETGENDIR} \nLDPATH=/usr/$(get_libdir)/Togl1.7" > ./99netgen
 	doenvd 99netgen
 
-	emake DESTDIR="${D}" install
+	default
 	mv "${D}"/usr/bin/{*.tcl,*.ocf} "${D}${NETGENDIR}" || die
 
 	# Install icon and .desktop for menu entry


             reply	other threads:[~2015-09-21 19:06 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-21 19:05 Justin Lecher [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-12-16 10:57 [gentoo-commits] proj/sci:master commit in: sci-mathematics/netgen/ Andrew Ammerlaan
2021-02-25 15:06 Andrew Ammerlaan
2021-01-28 19:26 Andrew Ammerlaan
2021-01-19 15:56 Andrew Ammerlaan
2016-02-22  8:38 Justin Lecher
2016-02-22  8:38 Justin Lecher
2016-02-22  8:38 Justin Lecher
2016-02-22  8:38 Justin Lecher
2016-02-22  8:38 Justin Lecher
2016-02-22  8:38 Justin Lecher
2015-06-08 12:19 Justin Lecher
2015-05-04 14:02 Justin Lecher
2015-05-04 14:02 Justin Lecher
2015-05-04 14:02 Justin Lecher
2015-05-04 14:02 Justin Lecher
2015-05-04 14:02 Justin Lecher
2015-05-03 20:43 Andrew Savchenko
2011-06-24 17:09 Justin Lecher
2011-03-14 10:16 Justin Lecher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1442861657.55066272be3a52a2cb2c012c201537c6ee4782cd.jlec@gentoo \
    --to=jlec@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox