/[gentoo-x86]/dev-util/ftnchek/ftnchek-3.3.1-r1.ebuild
Gentoo

Contents of /dev-util/ftnchek/ftnchek-3.3.1-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Thu Feb 16 18:38:18 2012 UTC (2 years, 5 months ago) by phajdan.jr
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +3 -3 lines
x86 stable wrt bug #397019

(Portage version: 2.1.10.44/cvs/Linux i686)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-util/ftnchek/ftnchek-3.3.1-r1.ebuild,v 1.1 2010/09/20 19:32:56 jer Exp $
4
5 EAPI="2"
6
7 inherit autotools
8
9 DESCRIPTION="Static analyzer a la 'lint' for Fortran 77"
10 HOMEPAGE="http://www.dsm.fordham.edu/~ftnchek/"
11 SRC_URI="http://www.dsm.fordham.edu/~${PN}/download/${P}.tar.gz"
12
13 LICENSE="MIT"
14 SLOT="0"
15 KEYWORDS="~amd64 ~ppc x86"
16 IUSE=""
17
18 src_prepare() {
19 #1 Do not strip
20 #2 CFLAGS is used internally, so append to it
21 sed -i Makefile.in \
22 -e '/-$(STRIP)/d' \
23 -e 's|CFLAGS\([[:space:]]*\)=|CFLAGS\1+=|' \
24 || die "sed Makefile.in"
25
26 #1 Respect CFLAGS
27 #2 Respect LDFLAGS
28 sed -i configure.in \
29 -e 's|OPT=".*"|OPT=""|g' \
30 -e '/^LDFLAGS=/d' \
31 || die "sed configure.in"
32
33 eautoreconf
34 }
35
36 src_install() {
37 einstall || die
38 dodoc FAQ PATCHES README ToDo
39 dohtml html/*
40 dodir /usr/share/${PN}
41 cp -r test "${D}"/usr/share/${PN}
42 }

  ViewVC Help
Powered by ViewVC 1.1.20