Skip to content

Commit

Permalink
sci-astronomy/xfitsview: revbump (EAPI 4 -> 6)
Browse files Browse the repository at this point in the history
Package-Manager: portage-2.2.28
Closes: gentoo#2187

Signed-off-by: David Seifert <[email protected]>
  • Loading branch information
g-braeunlich authored and SoapGentoo committed Sep 2, 2016
1 parent 6ab7555 commit b451a42
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

http://bugs.gentoo.org/show_bug.cgi?id=337479

--- Makefile.in
+++ Makefile.in
--- a/Makefile.in
+++ b/Makefile.in
@@ -61,26 +61,26 @@
LIBDIR = lib/$(ARCH)/
CFLAGS = -Iinclude -Ifitssubs @MOTIF_CPPFLAGS@ @X_CFLAGS@ \
Expand Down Expand Up @@ -41,8 +41,8 @@ http://bugs.gentoo.org/show_bug.cgi?id=337479

# make gzipped tar backup of directory
backup:
--- fitssubs/Makefile.in
+++ fitssubs/Makefile.in
--- a/fitssubs/Makefile.in
+++ b/fitssubs/Makefile.in
@@ -69,7 +69,7 @@


Expand Down
35 changes: 35 additions & 0 deletions sci-astronomy/xfitsview/xfitsview-2.2-r2.ebuild
Original file line number Diff line number Diff line change
@@ -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
}

0 comments on commit b451a42

Please sign in to comment.