source: trunk/dports/lang/ftidy/Portfile

Last change on this file was 109663, checked in by jeremyhu@…, 4 years ago

ftidy: Remove implied dependencies

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.9 KB
Line 
1# $Id: Portfile 109663 2013-08-19 16:20:34Z ryandesign@macports.org $
2
3PortSystem              1.0
4
5name                    ftidy
6version                 7.2
7revision                1
8categories              lang
9platforms               darwin
10license                 Noncommercial
11maintainers             nomaintainer
12homepage                http://www.unb.ca/fredericton/science/chem/ajit/tidy/
13master_sites            ${homepage}
14distname                tidy72sc
15use_zip                 yes
16extract.mkdir           yes
17build.args              tidy.for -o ftidy
18use_configure           no
19universal_variant       no
20description             Fortran Tidy
21
22long_description \
23    TIDY v${version} (ftidy) is a highly configurable FORTRAN program \
24    to indent and renumber statements, selectively change case \
25    of keywords or non-keywords, and do various other clean-up \
26    tasks on FORTRAN-77 source programs.
27
28checksums \
29    md5 f940dfa793408368f92af6aab535619b \
30    sha1 200e4531f172355cde49c455e2f7e9df8f1f8404
31
32patchfiles              tidy.for.patch
33
34if { ![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc45] && ![variant_isset gcc46] } {
35    default_variants    +gcc47
36}
37
38variant gcc43 conflicts gcc44 gcc45 gcc46 gcc47 description {Build using gcc43} {
39    configure.compiler  macports-gcc-4.3
40}
41
42variant gcc44 conflicts gcc43 gcc45 gcc46 gcc47 description {Build using gcc44} {
43    configure.compiler  macports-gcc-4.4
44}
45
46variant gcc45 conflicts gcc43 gcc44 gcc46 gcc47 description {Build using gcc45} {
47    configure.compiler  macports-gcc-4.5
48}
49
50variant gcc46 conflicts gcc43 gcc44 gcc45 gcc47 description {Build using gcc46} {
51    configure.compiler  macports-gcc-4.6
52}
53
54variant gcc47 conflicts gcc43 gcc44 gcc45 gcc46 description {Build using gcc47} {
55    configure.compiler  macports-gcc-4.7
56}
57
58build.pre_args        ${configure.fflags} ${configure.f77_archflags}
59pre-build {
60    build.cmd         ${configure.f77}
61}
62
63destroot {
64    xinstall -m 755 -W ${worksrcpath} ftidy ${destroot}${prefix}/bin
65}
Note: See TracBrowser for help on using the repository browser.