Skip to content
Permalink
Browse files

destrooted

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@1901 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Michael Maibaum
Michael Maibaum committed Jan 27, 2003
1 parent 7910ee6 commit 2b67f6fd16e65129fa3493a2cb455a4564dd66d3
Showing with 9 additions and 9 deletions.
  1. +9 −9 lang/g77/Portfile
@@ -9,7 +9,9 @@ categories lang

maintainers mike+g77@gene-hacker.net

master_sites http://west.dl.sourceforge.net/sourceforge/fink/
master_sites http://www.opendarwin.org/~michaelm/ \
http://darwinports.gene-hacker.net/files/ \
http://west.dl.sourceforge.net/sourceforge/fink/

distname gcc-3.1-20020420-1151
worksrcdir gcc3
@@ -27,15 +29,13 @@ configure.cmd ../gcc3/configure
build.dir ${workpath}/darwin
build.target bootstrap-lean

install.target install prefix=${prefix}
install.target install prefix=${destroot}${prefix}


post-install { system "cd ${prefix}/bin && /bin/rm -f gcc gccbug cpp gcov powerpc-apple*"
system "ln -s ${prefix}/lib/gcc-lib/powerpc-apple-darwin6.0/3.1/include/g2c.h ${prefix}/include/g2c.h"
system "/bin/rm -rf ${prefix}/share/locale ${prefix}/man"
system "/bin/rm -f ${prefix}/lib/charset.alias"
system "/bin/rm -f ${prefix}/share/info/gcc* ${prefix}/share/info/cpp*"

post-install { system "cd ${destroot}${prefix}/bin && /bin/rm -f gcc gccbug cpp gcov powerpc-apple*"
system "ln -s ${destroot}${prefix}/lib/gcc-lib/powerpc-apple-darwin6.0/3.1/include/g2c.h ${destroot}${prefix}/include/g2c.h"
system "/bin/rm -rf ${destroot}${prefix}/share/locale ${destroot}${prefix}/man"
system "/bin/rm -f ${destroot}${prefix}/lib/charset.alias"
system "/bin/rm -f ${destroot}${prefix}/share/info/gcc* ${destroot}${prefix}/share/info/cpp*"
}

include contents

0 comments on commit 2b67f6f

Please sign in to comment.
You can’t perform that action at this time.