mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-util/ftnchek: Drop old
Signed-off-by: Mikle Kolyada <zlogene@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11
This commit is contained in:
@@ -1,41 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="2"
|
||||
|
||||
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"
|
||||
IUSE=""
|
||||
|
||||
src_prepare() {
|
||||
#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.in \
|
||||
-e 's|OPT=".*"|OPT=""|g' \
|
||||
-e '/^LDFLAGS=/d' \
|
||||
|| die "sed configure.in"
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_install() {
|
||||
einstall || die
|
||||
dodoc FAQ PATCHES README ToDo
|
||||
dohtml html/*
|
||||
dodir /usr/share/${PN}
|
||||
cp -r test "${D}"/usr/share/${PN}
|
||||
}
|
||||
Reference in New Issue
Block a user