summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-01-02 21:14:13 +0000
committerSam James <sam@gentoo.org>2021-01-02 21:14:13 +0000
commit970eb4a14d6fe35eb35e0f2bd905c46cad58893e (patch)
tree9acab4ee99580f37965e2ce3afca03d79fa6512b /sci-libs/cfitsio
parentvirtual/gnustep-back: Stabilize 0.28.0 amd64, #761070 (diff)
downloadgentoo-970eb4a14d6fe35eb35e0f2bd905c46cad58893e.tar.gz
gentoo-970eb4a14d6fe35eb35e0f2bd905c46cad58893e.tar.bz2
gentoo-970eb4a14d6fe35eb35e0f2bd905c46cad58893e.zip
sci-libs/cfitsio: fix DeprecatedInsinto
Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sci-libs/cfitsio')
-rw-r--r--sci-libs/cfitsio/cfitsio-3.360.ebuild9
-rw-r--r--sci-libs/cfitsio/cfitsio-3.410.ebuild8
-rw-r--r--sci-libs/cfitsio/cfitsio-3.490.ebuild6
3 files changed, 12 insertions, 11 deletions
diff --git a/sci-libs/cfitsio/cfitsio-3.360.ebuild b/sci-libs/cfitsio/cfitsio-3.360.ebuild
index 365477171540..e15c94647d91 100644
--- a/sci-libs/cfitsio/cfitsio-3.360.ebuild
+++ b/sci-libs/cfitsio/cfitsio-3.360.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -48,9 +48,10 @@ src_install() {
use fortran && dodoc docs/fitsio.doc
use doc && dodoc docs/{quick,cfitsio,fpackguide}.pdf
use doc && use fortran && dodoc docs/fitsio.pdf
+
if use examples; then
- insinto /usr/share/doc/${PF}/examples
- doins cookbook.c testprog.c speed.c smem.c
- use fortran && doins cookbook.f testf77.f
+ docinto examples
+ dodoc cookbook.c testprog.c speed.c smem.c
+ use fortran && dodoc cookbook.f testf77.f
fi
}
diff --git a/sci-libs/cfitsio/cfitsio-3.410.ebuild b/sci-libs/cfitsio/cfitsio-3.410.ebuild
index 640d3bb018f4..46253f61ff40 100644
--- a/sci-libs/cfitsio/cfitsio-3.410.ebuild
+++ b/sci-libs/cfitsio/cfitsio-3.410.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -50,9 +50,9 @@ multilib_src_install_all() {
use doc && dodoc docs/{quick,cfitsio,fpackguide}.pdf
use doc && use fortran && dodoc docs/fitsio.pdf
if use examples; then
- insinto /usr/share/doc/${PF}/examples
- doins cookbook.c testprog.c speed.c smem.c
- use fortran && doins cookbook.f testf77.f
+ dodoc examples
+ docinto cookbook.c testprog.c speed.c smem.c
+ use fortran && docinto cookbook.f testf77.f
fi
prune_libtool_files --all
}
diff --git a/sci-libs/cfitsio/cfitsio-3.490.ebuild b/sci-libs/cfitsio/cfitsio-3.490.ebuild
index 419ec07c9084..c7edd5a328a8 100644
--- a/sci-libs/cfitsio/cfitsio-3.490.ebuild
+++ b/sci-libs/cfitsio/cfitsio-3.490.ebuild
@@ -65,9 +65,9 @@ multilib_src_install_all() {
dodoc docs/{quick,cfitsio,fpackguide}.pdf
dodoc docs/fitsio.pdf
- insinto /usr/share/doc/${PF}/examples
- doins cookbook.c testprog.c speed.c smem.c
- doins cookbook.f testf77.f
+ docinto examples
+ dodoc cookbook.c testprog.c speed.c smem.c
+ dodoc cookbook.f testf77.f
# Remove static libs
find "${ED}" -name '*.a' -delete || die