aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-libs/fox')
-rw-r--r--sci-libs/fox/Manifest2
-rw-r--r--sci-libs/fox/files/4.1.2-r2-install-customizations.patch10
-rw-r--r--sci-libs/fox/fox-4.1.2-r2.ebuild23
3 files changed, 18 insertions, 17 deletions
diff --git a/sci-libs/fox/Manifest b/sci-libs/fox/Manifest
index f7d246555..24834d5f8 100644
--- a/sci-libs/fox/Manifest
+++ b/sci-libs/fox/Manifest
@@ -1,5 +1,5 @@
DIST FoX-4.1.2-dom.tar.gz 225371 BLAKE2B 7c04239ed22b8a4efa6e8c1ce1ede46c2bee4a114ce7f05c05b9af18533b60932fbc8f1eb14d04f16fe4268ab81aa588d8af4a4bee1ac4ca92e06647761034c2 SHA512 de846d40ad442d2fff33dda17793f7334a87065d760920f17605926d4f91624cb134515b6c77392aa77a17532275e256301bdefa157eecbb0c13887bcaa7fe4c
-DIST FoX-4.1.2-full.tar.gz 1025375 SHA256 99f660a3d3cf9b9eb50e36d67dac3b80cfac92473462c3d6f3b340ba8d7c9b24 SHA512 bfd994768f4b8067cf2859949d51723c851521c444ba6a342901ae5e6ae86ed2832d59eac5f29048e1c2e5b27af6d1be4e7f026062832d650d894a865f1827c1 WHIRLPOOL 4f665380ae0e3c69efa5b9448d32d866efda6fa6e853bf1016088c45f704cafaa389cf0342041d0e07461ea32622fe967f3626668e153b316f2b162e08f0195d
+DIST FoX-4.1.2-full.tar.gz 1025375 BLAKE2B bd0b27396d4871add2324ed8b0b40b39fee9f6770f49b05f1987c0091de5a78b5fd40bc0a31206da6edce6475fd3b1b9039fc5e006fec40b84b5b445ac325e03 SHA512 bfd994768f4b8067cf2859949d51723c851521c444ba6a342901ae5e6ae86ed2832d59eac5f29048e1c2e5b27af6d1be4e7f026062832d650d894a865f1827c1
DIST FoX-4.1.2-sax.tar.gz 164451 BLAKE2B 68ea97172c504694aab2f5d16dd9a1968350d4e0071ba3dc1570764ee1b2943d8fc799ac926ec27b3b1b721848a08a4ce5020325ba68381cd4190867848dc8a8 SHA512 7391ed23c70b52cd4155da0fbef60fda8a628e682b93b9340478d0a7bef0e9bd0016610fb45141b54063c001a5031baeb8ec66239e5b763cdc226fb5680f3de2
DIST FoX-4.1.2-wcml.tar.gz 163504 BLAKE2B 968ad348268315f521dee7d8e3621d6bff1bdc2539010e70b9560bf00f52c25ee4a26d2559d0be187f53bc66814783f21744388d3d0d5237697903b884f919f0 SHA512 32a1bea6e52926958ec7ca24256dd824bf97f84ae1ce691d01d607b4f7fc4e1c811ead36a9f1260aa4696aeba964d9b3db1673a011b5a8f1d1b9c96590be8ffb
DIST FoX-4.1.2-wkml.tar.gz 207539 BLAKE2B 7f59bc87249d827efa804cfc6f84e11bb63d7d61805e9ac020b57d61982e10b27f1e35b5478a2788245c95989738f1e7c92cf2310c1eb2b3082aedcfd4db7151 SHA512 1f3e0f2750e8a500e4c8c1d6f03f8a52615cea1448c69d35750ea8bd06bdcb02ac136a34ba1af07a363dfe018cf6bf28e54f7ce19e6d06cc554391219525f1f3
diff --git a/sci-libs/fox/files/4.1.2-r2-install-customizations.patch b/sci-libs/fox/files/4.1.2-r2-install-customizations.patch
index 15bb837f0..901a14042 100644
--- a/sci-libs/fox/files/4.1.2-r2-install-customizations.patch
+++ b/sci-libs/fox/files/4.1.2-r2-install-customizations.patch
@@ -1,6 +1,6 @@
-diff -Naur tmp-old/Makefile tmp-new/Makefile
---- Makefile 2009-03-07 22:44:12.000000000 +0000
-+++ Makefile 2009-03-07 22:42:59.000000000 +0000
+diff -Naur a/Makefile b/Makefile
+--- a/Makefile 2009-03-07 22:44:12.000000000 +0000
++++ b/Makefile 2009-03-07 22:42:59.000000000 +0000
@@ -9,9 +9,9 @@
mkdir -p objs/lib objs/finclude
#
@@ -14,8 +14,8 @@ diff -Naur tmp-old/Makefile tmp-new/Makefile
#
examples_build:
diff -Naur tmp-old/arch.make.in tmp-new/arch.make.in
---- arch.make.in 2009-03-07 22:44:19.000000000 +0000
-+++ arch.make.in 2009-03-07 22:43:07.000000000 +0000
+--- a/arch.make.in 2009-03-07 22:44:19.000000000 +0000
++++ b/arch.make.in 2009-03-07 22:43:07.000000000 +0000
@@ -5,7 +5,7 @@
VPATH=@VPATH@
diff --git a/sci-libs/fox/fox-4.1.2-r2.ebuild b/sci-libs/fox/fox-4.1.2-r2.ebuild
index 64518b4ce..a8900c153 100644
--- a/sci-libs/fox/fox-4.1.2-r2.ebuild
+++ b/sci-libs/fox/fox-4.1.2-r2.ebuild
@@ -1,37 +1,38 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=7
-inherit eutils
+inherit fortran-2
MY_PN="FoX"
MY_P="${MY_PN}-${PV}"
DESCRIPTION="A library designed to allow the easy use of XML from Fortran"
-HOMEPAGE="http://www1.gly.bris.ac.uk/~walker/FoX/"
+HOMEPAGE="https://homepages.see.leeds.ac.uk/~earawa/FoX//"
LICENSE="BSD ZLIB"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux"
IUSE="debug doc +dom +fast +sax +wcml +wkml +wxml"
-SRC_URI=" doc? ( http://www1.gly.bris.ac.uk/~walker/FoX/source/${MY_P}-full.tar.gz )
+SRC_URI="
+ doc? ( http://www1.gly.bris.ac.uk/~walker/FoX/source/${MY_P}-full.tar.gz )
!doc? ( http://www1.gly.bris.ac.uk/~walker/FoX/source/${MY_P}.tar.gz
dom? ( http://www1.gly.bris.ac.uk/~walker/FoX/source/${MY_P}-dom.tar.gz )
sax? ( http://www1.gly.bris.ac.uk/~walker/FoX/source/${MY_P}-sax.tar.gz )
wcml? ( http://www1.gly.bris.ac.uk/~walker/FoX/source/${MY_P}-wcml.tar.gz )
wkml? ( http://www1.gly.bris.ac.uk/~walker/FoX/source/${MY_P}-wkml.tar.gz )
- wxml? ( http://www1.gly.bris.ac.uk/~walker/FoX/source/${MY_P}-wxml.tar.gz ) )"
+ wxml? ( http://www1.gly.bris.ac.uk/~walker/FoX/source/${MY_P}-wxml.tar.gz ) )
+"
S="${WORKDIR}/${MY_P}"
FORTRAN_STANDARD=90
-src_prepare() {
- epatch "${FILESDIR}"/4.1.2-r2-install-customizations.patch
-}
-
+PATCHES=(
+ "${FILESDIR}"/4.1.2-r2-install-customizations.patch
+)
src_configure() {
econf --prefix="${EPREFIX}/usr" \
$(use_enable debug) \
@@ -63,6 +64,6 @@ src_install() {
dodoc README.FoX.txt
if use doc; then
dodoc Changelog
- dohtml -r DoX/
+ dodoc -r DoX/
fi
}