public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sergei Trofimovich" <slyfox@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-biology/phylip/
Date: Thu, 15 Feb 2018 23:23:22 +0000 (UTC)	[thread overview]
Message-ID: <1518736995.0c014a7762f9b51e602420690a6388d33aefce01.slyfox@gentoo> (raw)

commit:     0c014a7762f9b51e602420690a6388d33aefce01
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 15 23:22:45 2018 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Thu Feb 15 23:23:15 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c014a77

sci-biology/phylip: block against dev-lang/elixir, bug #537514

Reported-by: Toralf Förster
Bug: https://bugs.gentoo.org/537514
Package-Manager: Portage-2.3.24, Repoman-2.3.6

 sci-biology/phylip/phylip-3.696-r2.ebuild | 55 +++++++++++++++++++++++++++++++
 1 file changed, 55 insertions(+)

diff --git a/sci-biology/phylip/phylip-3.696-r2.ebuild b/sci-biology/phylip/phylip-3.696-r2.ebuild
new file mode 100644
index 00000000000..c19085ed6cf
--- /dev/null
+++ b/sci-biology/phylip/phylip-3.696-r2.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit toolchain-funcs
+
+DESCRIPTION=" The PHYLogeny Inference Package"
+HOMEPAGE="http://evolution.genetics.washington.edu/phylip.html"
+SRC_URI="http://evolution.gs.washington.edu/${PN}/download/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="BSD-2"
+IUSE=""
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+# 'mix' tool collides with dev-lang/elixir, bug #537514
+RDEPEND="x11-libs/libXaw
+	!!dev-lang/elixir"
+DEPEND="${RDEPEND}
+	x11-proto/xproto"
+
+S="${WORKDIR}/${P}/src"
+
+src_prepare() {
+	mv Makefile.unx Makefile || die
+	sed \
+		-e "/ -o /s:\(\$(CC)\):\1 ${LDFLAGS}:g" \
+		-i Makefile || die "Patching Makefile failed."
+	mkdir ../fonts || die
+}
+
+src_compile() {
+	emake -j1 \
+		CC="$(tc-getCC)" \
+		DC="$(tc-getCC)" \
+		CFLAGS="${CFLAGS} -Wno-unused-result" \
+		all put
+}
+
+src_install() {
+	cd "${WORKDIR}/${P}" || die
+
+	mv exe/font* fonts || die "Font move failed."
+	mv exe/factor exe/factor-${PN} || die "Renaming factor failed."
+
+	dolib.so exe/*so && rm exe/*so || die
+	dobin exe/*
+
+	dodoc "${FILESDIR}"/README.Gentoo
+
+	dohtml -r phylip.html doc
+
+	insinto /usr/share/${PN}/
+	doins -r fonts
+}


             reply	other threads:[~2018-02-15 23:23 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-15 23:23 Sergei Trofimovich [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-03-05 20:27 [gentoo-commits] repo/gentoo:master commit in: sci-biology/phylip/ Sam James
2020-10-27 20:56 David Seifert
2019-12-28 13:56 Ulrich Müller
2018-05-22  1:19 Matt Turner
2015-12-07  7:15 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=1518736995.0c014a7762f9b51e602420690a6388d33aefce01.slyfox@gentoo \
    --to=slyfox@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