Skip to content
Permalink
Browse files

formating cleaned up, email changed over

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@2111 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Michael Maibaum
Michael Maibaum committed Mar 1, 2003
1 parent d2556fe commit 5b40b40cb8e0c3f35203caae7bc1114b5c43ac46
Showing with 24 additions and 33 deletions.
  1. +24 −33 lang/g77/Portfile
@@ -1,41 +1,32 @@
PortSystem 1.0

name g77
version 3.1-20020420

description gnu fortran 77 comiler
platforms darwin
categories lang

maintainers mike+g77@gene-hacker.net

name g77
version 3.1-20020420
description gnu fortran 77 comiler
platforms darwin
categories lang
maintainers michaelm@opendarwin.org
master_sites http://distfiles.opendarwin.org/ \
http://darwinports.gene-hacker.net/files/ \
http://west.dl.sourceforge.net/sourceforge/fink/

distname gcc-3.1-20020420-1151
worksrcdir gcc3

checksums md5 62f378e83bc60942cbf664d17994eafe
patchfiles patch-configure.in

configure.args --enable-languages=f77 --infodir='${prefix}/share/info'

pre-configure {system "cd ${workpath} && mkdir -p darwin"}

configure.dir ${workpath}/darwin
configure.cmd ../gcc3/configure

build.dir ${workpath}/darwin
http://darwinports.gene-hacker.net/files/ \
http://west.dl.sourceforge.net/sourceforge/fink/

distname gcc-3.1-20020420-1151
worksrcdir gcc3
checksums md5 62f378e83bc60942cbf664d17994eafe
patchfiles patch-configure.in
pre-configure { system "cd ${workpath} && mkdir -p darwin"}
configure.dir ${workpath}/darwin
configure.cmd ../gcc3/configure
configure.args --enable-languages=f77 --infodir='${prefix}/share/info'
build.dir ${workpath}/darwin
build.target bootstrap-lean

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


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*"
}
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*"
}

0 comments on commit 5b40b40

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