1 | # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 |
---|
2 | # $Id$ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name ghc-bootstrap |
---|
7 | set canonicalname ghc |
---|
8 | version 7.0.4 |
---|
9 | categories lang haskell |
---|
10 | maintainers auastro |
---|
11 | license BSD |
---|
12 | platforms darwin |
---|
13 | supported_archs x86_64 |
---|
14 | |
---|
15 | description The Glorious Glasgow Haskell Compilation System |
---|
16 | long_description \ |
---|
17 | This is a package that installs a binary \ |
---|
18 | bootstrap ghc compiler. |
---|
19 | |
---|
20 | homepage http://haskell.org/${canonicalname} |
---|
21 | master_sites ${homepage}/dist/${version}/ |
---|
22 | distname ${canonicalname}-${version}-x86_64-apple-darwin |
---|
23 | worksrcdir ${canonicalname}-${version} |
---|
24 | prefix ${prefix}/share/ghc-bootstrap |
---|
25 | |
---|
26 | checksums rmd160 14f4c6a044eaa3d04f1645324f9255eebff9a49d \ |
---|
27 | sha256 74580b919b5205007901d15da88635e4b2dcc887086fb16d238eeb7011a255d4 |
---|
28 | |
---|
29 | use_bzip2 yes |
---|
30 | |
---|
31 | # TODO it doesn't really matter what compiler is used |
---|
32 | # here so long as it's not clang add some code to set |
---|
33 | # this up automatically |
---|
34 | configure.compiler llvm-gcc-4.2 |
---|
35 | |
---|
36 | pre-configure { |
---|
37 | # OK so because this binary has been prebuilt for libraries |
---|
38 | # in /usr/lib we search these before macports stuff so (hopefully) |
---|
39 | # weird things don't happen |
---|
40 | configure.ldflags -L/usr/lib |
---|
41 | configure.cppflags -I/usr/include |
---|
42 | } |
---|
43 | |
---|
44 | build {} |
---|
45 | |
---|
46 | # TODO don't install documentation |
---|