Ticket #25558: Portfile.3

File Portfile.3, 1.4 KB (added by kitchen.andy@…, 12 years ago)

GHC bootstrap portfile

Line 
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
4PortSystem          1.0
5
6name                ghc-bootstrap
7set canonicalname       ghc
8version             7.0.4
9categories              lang haskell
10maintainers             auastro
11license                 BSD
12platforms               darwin
13supported_archs     x86_64
14
15description     The Glorious Glasgow Haskell Compilation System
16long_description        \
17                This is a package that installs a binary \
18                bootstrap ghc compiler.
19
20homepage            http://haskell.org/${canonicalname}
21master_sites    ${homepage}/dist/${version}/
22distname        ${canonicalname}-${version}-x86_64-apple-darwin
23worksrcdir      ${canonicalname}-${version}
24prefix          ${prefix}/share/ghc-bootstrap
25
26checksums       rmd160  14f4c6a044eaa3d04f1645324f9255eebff9a49d \
27                sha256  74580b919b5205007901d15da88635e4b2dcc887086fb16d238eeb7011a255d4
28
29use_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
34configure.compiler llvm-gcc-4.2
35
36pre-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
44build {}
45
46# TODO don't install documentation