source: trunk/dports/lang/f2c/Portfile

Last change on this file was 94859, checked in by mww@…, 5 years ago

f2c: add license

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 94859 2012-07-01 21:00:39Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                f2c
7version             20110816
8categories          lang
9platforms           darwin
10license             BSD
11maintainers         ryandesign
12
13description         Fortran to C converter
14
15long_description    ${name} is a ${description}.
16
17homepage            http://www.netlib.org/f2c/
18master_sites        http://www.ryandesign.com/macports/distfiles/${name}
19use_bzip2           yes
20
21checksums           rmd160  c984a9bfe6d0f5da6e4325c80b6880af733591d8 \
22                    sha256  418dc57b98598c8a538931f2704ec30ff7bf78aaa395bb3820f8e4530cf88409
23
24depends_run         port:libf2c
25
26post-extract {
27    # For case-sensitive filesystems. When building the next version of the
28    # archive, I should ensure it contains README not readme, since readme is
29    # never used (?) but README is.
30    if {![file exists ${worksrcpath}/README]} {
31        ln -s readme ${worksrcpath}/README
32    }
33}
34
35use_configure       no
36
37variant universal {}
38
39build.args          -f makefile.u \
40                    CC="${configure.cc} [get_canonical_archflags cc]" \
41                    CFLAGS="${configure.cflags}"
42
43destroot {
44    xinstall ${worksrcpath}/f2c ${destroot}${prefix}/bin
45    xinstall -m 644 ${worksrcpath}/f2c.1t ${destroot}${prefix}/share/man/man1/f2c.1
46}
47
48livecheck.type      none
Note: See TracBrowser for help on using the repository browser.