Changeset 1901


Ignore:
Timestamp:
Jan 27, 2003, 10:05:57 PM (18 years ago)
Author:
michaelm
Message:

destrooted

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/lang/g77/Portfile

    r1678 r1901  
    1010maintainers             mike+g77@gene-hacker.net
    1111
    12 master_sites            http://west.dl.sourceforge.net/sourceforge/fink/
     12master_sites    http://www.opendarwin.org/~michaelm/ \
     13                http://darwinports.gene-hacker.net/files/ \
     14                http://west.dl.sourceforge.net/sourceforge/fink/
    1315
    1416distname                gcc-3.1-20020420-1151
     
    2830build.target    bootstrap-lean
    2931
    30 install.target  install prefix=${prefix}
     32install.target  install prefix=${destroot}${prefix}
    3133
    3234
    33 post-install {  system "cd ${prefix}/bin && /bin/rm -f gcc gccbug cpp gcov powerpc-apple*"
    34                                 system "ln -s ${prefix}/lib/gcc-lib/powerpc-apple-darwin6.0/3.1/include/g2c.h ${prefix}/include/g2c.h"
    35                                 system "/bin/rm -rf ${prefix}/share/locale ${prefix}/man"
    36                                 system "/bin/rm -f ${prefix}/lib/charset.alias"
    37                                 system "/bin/rm -f ${prefix}/share/info/gcc* ${prefix}/share/info/cpp*"
    38 
     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*"
    3940}
    4041
    41 include contents
Note: See TracChangeset for help on using the changeset viewer.