source: trunk/dports/lang/g77/Portfile @ 1104

Last change on this file since 1104 was 1104, checked in by michaelm, 18 years ago

fortran compiler

  • Property svn:eol-style set to native
File size: 1.0 KB
Line 
1PortSystem 1.0
2
3name            g77
4version         3.1-20020420
5
6description             gnu fortran 77 comiler
7categories              lang
8
9maintainers             mike+g77@gene-hacker.net
10
11master_sites            http://west.dl.sourceforge.net/sourceforge/fink/
12
13distname                gcc-3.1-20020420-1151
14worksrcdir              gcc3
15
16checksums               md5 62f378e83bc60942cbf664d17994eafe
17patchfiles              patch-configure.in
18
19configure.args  --enable-languages=f77 --infodir='${prefix}/share/info'
20
21pre-configure   {system "cd ${workpath} && mkdir darwin"}
22
23configure.dir   ${workpath}/darwin
24configure.cmd   ../gcc3/configure
25
26build.dir               ${workpath}/darwin
27build.target.all bootstrap-lean
28
29build.target.install install prefix=${prefix}
30
31
32post-install {  system "cd ${prefix}/bin && /bin/rm -f gcc gccbug cpp gcov powerpc-apple*"
33                                system "ln -s ${prefix}/lib/gcc-lib/powerpc-apple-darwin6.0/3.1/include/g2c.h ${prefix}/include/g2c.h"
34                                system "/bin/rm -rf ${prefix}/share/locale ${prefix}/man"
35                                system "/bin/rm -f ${prefix}/lib/charset.alias"
36                                system "/bin/rm -f ${prefix}/share/info/gcc* ${prefix}/share/info/cpp*"
37
38}
39
40include contents
Note: See TracBrowser for help on using the repository browser.