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

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

destrooted

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