mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
sci-astronomy/cdsclient: update EAPI 6 -> 8
Signed-off-by: David Seifert <soap@gentoo.org>
This commit is contained in:
@@ -1,41 +1,31 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit versionator
|
||||
EAPI=8
|
||||
|
||||
# upstream versioning wrong: 3.71 is really 3.7.1
|
||||
MYP="${PN}-$(delete_version_separator 2)"
|
||||
MYP="${PN}-$(ver_rs 2 '')"
|
||||
|
||||
DESCRIPTION="Collection of scripts to access the CDS databases"
|
||||
HOMEPAGE="http://cdsweb.u-strasbg.fr/doc/cdsclient.html"
|
||||
SRC_URI="ftp://cdsarc.u-strasbg.fr/pub/sw/${MYP}.tar.gz"
|
||||
S="${WORKDIR}/${MYP}"
|
||||
|
||||
LICENSE="all-rights-reserved"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE=""
|
||||
|
||||
RESTRICT="mirror bindist"
|
||||
DEPEND=""
|
||||
|
||||
RDEPEND="app-shells/tcsh"
|
||||
|
||||
S="${WORKDIR}/${MYP}"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${PN}-makefile.patch" )
|
||||
src_prepare() {
|
||||
default
|
||||
# remove non standard "mantex" page
|
||||
sed -e 's/aclient.tex//' -i configure || die
|
||||
}
|
||||
PATCHES=( "${FILESDIR}"/${PN}-makefile.patch )
|
||||
|
||||
src_install() {
|
||||
local bindir="${EPREFIX}/usr/bin/${PN}"
|
||||
emake DESTDIR="${D}" SHSDIR="${D}${bindir}" install
|
||||
cat <<-EOF > 99${PN}
|
||||
PATH=${bindir}
|
||||
ROOTPATH=${bindir}
|
||||
|
||||
newenvd - 99${PN} <<-EOF
|
||||
PATH="${bindir}"
|
||||
ROOTPATH="${bindir}"
|
||||
EOF
|
||||
doenvd 99${PN}
|
||||
}
|
||||
@@ -1,5 +1,19 @@
|
||||
--- cdsclient-3.81/Makefile.in.orig 2016-02-26 17:33:14.217750589 +0000
|
||||
+++ cdsclient-3.81/Makefile.in 2016-02-26 17:38:22.463875411 +0000
|
||||
- remove non standard "mantex" page
|
||||
- respect user flags
|
||||
|
||||
--- a/configure
|
||||
+++ b/configure
|
||||
@@ -3938,7 +3938,7 @@
|
||||
|
||||
|
||||
EXPORT_SOURCE_FILE="aclient.c wwwget.c skio.c skclient.c sk.h"
|
||||
-EXPORT_MAN_FILE="sk.3 aclient.1 wwwget.1 aclient.tex"
|
||||
+EXPORT_MAN_FILE="sk.3 aclient.1 wwwget.1 "
|
||||
EXPORT_MAN_TEX="man.tex"
|
||||
CASE="dev"
|
||||
|
||||
--- a/Makefile.in
|
||||
+++ b/Makefile.in
|
||||
@@ -31,17 +31,17 @@
|
||||
#################################################################
|
||||
#PREFIX = /usr/local
|
||||
|
||||
Reference in New Issue
Block a user