summaryrefslogtreecommitdiff
path: root/dev-util/ftnchek
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-03-03 13:42:34 +0000
committerV3n3RiX <venerix@redcorelinux.org>2019-03-03 13:42:34 +0000
commit066d27181e9a797ad9f8fc43b49fc9a10ff2f707 (patch)
tree3cb05783d73b2c33589ba305144a31c718e123cd /dev-util/ftnchek
parent16449a80e28af2209916cc66d19c9a44ca2b90d9 (diff)
gentoo resync : 03.03.2019
Diffstat (limited to 'dev-util/ftnchek')
-rw-r--r--dev-util/ftnchek/Manifest3
-rw-r--r--dev-util/ftnchek/ftnchek-3.3.1-r1.ebuild6
-rw-r--r--dev-util/ftnchek/ftnchek-3.3.1-r2.ebuild47
3 files changed, 52 insertions, 4 deletions
diff --git a/dev-util/ftnchek/Manifest b/dev-util/ftnchek/Manifest
index b3dd1fe652a8..6f6afe144625 100644
--- a/dev-util/ftnchek/Manifest
+++ b/dev-util/ftnchek/Manifest
@@ -1,3 +1,4 @@
DIST ftnchek-3.3.1.tar.gz 1048638 BLAKE2B 4d9e49a826a192ac8ce9ad443fcff3aba03173915130d1e197c4e78cc5c874b509c1772c28e4a3e5c4a911e77d562ae07fa44c728a94c9ac0c16b5e7d0bc174d SHA512 14c698a6d936ffcd1966822f3b307fc2a70ffd5d58dcff27e10a9491562cff12ef75d98c0e67a7053e106df4f6b4d920e8164950778c5e13e7c15543fa2ecc41
-EBUILD ftnchek-3.3.1-r1.ebuild 864 BLAKE2B 4ec242a6c5f435b3dc47773f2be2f7d9dea4823d81cb7fda6f93c538de739420f01d936b6cd563855469d5b60eb746b08418f398024a5fc7f4edd3fa65a73cba SHA512 a08994f17f3dae52992f706aff405ae38ff98f23220dae493400c5e8b7af03d1841876ac55d2311588c3eab68cc63e748735415145970f8eb67400bb5ff2d3fc
+EBUILD ftnchek-3.3.1-r1.ebuild 863 BLAKE2B 15ce7f950bafc528c4c80e44c4a4c69311e643b8c9110b1f0f5c7414552810dd3582b98f7119e50b8fbef7924444db61d432a8879c2724eef8da8d55f5a0dc55 SHA512 dfa049b79d60e81dc38bf8e695a5f36b96d4bc48d7f7f9c9cc763ba3c1c3a712d29de6a9a9f839aaaf307e79787dc0e91070eed3d893ad6ab277b2387128bc95
+EBUILD ftnchek-3.3.1-r2.ebuild 966 BLAKE2B 2fae737d96da25f6619434d74deac675c69a26dbadfa238716f201306f908df0318322e2b3b9c137b5a7fca9bd2000319d97aac52f3b1a3b71c06d56b0b9dded SHA512 ab7ee510a061a91cb6cd47ba0cc677f6f862e193890f04427dd4bddf20c189a8726dae1e6dcf471f4ca7bf2da138c9533a9a78ef61fcaa746ebab3ab7ab0b94d
MISC metadata.xml 166 BLAKE2B c254f1fb642881aba57637be14fb0a89b10384f91a128feaec3a8c870d76efc2cbacb92caccc0dee2dd19a5ac5eaf8643080dafa05c4e2ac96a68568927e5afd SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84
diff --git a/dev-util/ftnchek/ftnchek-3.3.1-r1.ebuild b/dev-util/ftnchek/ftnchek-3.3.1-r1.ebuild
index 10f581a6233e..9ef2be707e2d 100644
--- a/dev-util/ftnchek/ftnchek-3.3.1-r1.ebuild
+++ b/dev-util/ftnchek/ftnchek-3.3.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="2"
@@ -6,8 +6,8 @@ EAPI="2"
inherit autotools
DESCRIPTION="Static analyzer a la 'lint' for Fortran 77"
-HOMEPAGE="http://www.dsm.fordham.edu/~ftnchek/"
-SRC_URI="http://www.dsm.fordham.edu/~${PN}/download/${P}.tar.gz"
+HOMEPAGE="https://www.dsm.fordham.edu/~ftnchek/"
+SRC_URI="https://www.dsm.fordham.edu/~${PN}/download/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
diff --git a/dev-util/ftnchek/ftnchek-3.3.1-r2.ebuild b/dev-util/ftnchek/ftnchek-3.3.1-r2.ebuild
new file mode 100644
index 000000000000..8543e828e991
--- /dev/null
+++ b/dev-util/ftnchek/ftnchek-3.3.1-r2.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools
+
+DESCRIPTION="Static analyzer a la 'lint' for Fortran 77"
+HOMEPAGE="https://www.dsm.fordham.edu/~ftnchek/"
+SRC_URI="https://www.dsm.fordham.edu/~${PN}/download/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+src_prepare() {
+ default
+ mv configure.{in,ac} || die
+ mv dcl2inc.{man,1} || die
+
+ #1 Do not strip
+ #2 CFLAGS is used internally, so append to it
+ sed -i Makefile.in \
+ -e '/-$(STRIP)/d' \
+ -e 's|CFLAGS\([[:space:]]*\)=|CFLAGS\1+=|' \
+ || die "sed Makefile.in"
+
+ #1 Respect CFLAGS
+ #2 Respect LDFLAGS
+ sed -i configure.ac \
+ -e 's|OPT=".*"|OPT=""|g' \
+ -e '/^LDFLAGS=/d' \
+ || die "sed configure.ac"
+
+ eautoreconf
+}
+
+src_install() {
+ dobin ${PN} dcl2inc
+ doman ${PN}.1 dcl2inc.1
+ insinto /usr/share/${PN}
+ doins dcl2inc.awk
+ doins -r test
+ dodoc FAQ PATCHES README ToDo
+ docinto html
+ dodoc -r html/*
+}