summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerhard Bräunlich <wippbox@gmx.net>2016-09-01 22:52:50 +0200
committerDavid Seifert <soap@gentoo.org>2016-09-02 22:08:57 +0200
commitb451a42dd3357a2d8d00dba9b92b1032799a295e (patch)
treebb858d991b1654fe6c55cc16e98b74883138b7e8 /sci-astronomy/xfitsview/xfitsview-2.2-r2.ebuild
parentsci-astronomy/skycat: Deleted EAPI 4 ebuild (diff)
downloadgentoo-b451a42dd3357a2d8d00dba9b92b1032799a295e.tar.gz
gentoo-b451a42dd3357a2d8d00dba9b92b1032799a295e.tar.bz2
gentoo-b451a42dd3357a2d8d00dba9b92b1032799a295e.zip
sci-astronomy/xfitsview: revbump (EAPI 4 -> 6)
Package-Manager: portage-2.2.28 Closes: https://github.com/gentoo/gentoo/pull/2187 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'sci-astronomy/xfitsview/xfitsview-2.2-r2.ebuild')
-rw-r--r--sci-astronomy/xfitsview/xfitsview-2.2-r2.ebuild35
1 files changed, 35 insertions, 0 deletions
diff --git a/sci-astronomy/xfitsview/xfitsview-2.2-r2.ebuild b/sci-astronomy/xfitsview/xfitsview-2.2-r2.ebuild
new file mode 100644
index 000000000000..3ac2bd2e6b37
--- /dev/null
+++ b/sci-astronomy/xfitsview/xfitsview-2.2-r2.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+MY_PN=XFITSview
+MY_P=${MY_PN}${PV}
+
+DESCRIPTION="Viewer for astronomical images in FITS format"
+HOMEPAGE="http://www.nrao.edu/software/fitsview/"
+SRC_URI="ftp://ftp.cv.nrao.edu/fits/os-support/unix/xfitsview/${PN}${PV}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE=""
+
+DEPEND=">=x11-libs/motif-2.3:0"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/${MY_PN}
+
+DOCS=( README changes notes.text )
+PATCHES=( "${FILESDIR}"/${P}-build_system.patch )
+
+src_prepare() {
+ default
+ find "${S}" -name '*old.c' -delete || die
+}
+
+src_install() {
+ dobin XFITSview
+ einstalldocs
+}