[96892] trunk/dports/lang

cal at macports.org cal at macports.org
Mon Aug 20 15:58:47 PDT 2012


Revision: 96892
          https://trac.macports.org/changeset/96892
Author:   cal at macports.org
Date:     2012-08-20 15:58:46 -0700 (Mon, 20 Aug 2012)
Log Message:
-----------
ghc-bootstrap: new port needed as dependency of ghc

Added Paths:
-----------
    trunk/dports/lang/ghc-bootstrap/
    trunk/dports/lang/ghc-bootstrap/Portfile

Added: trunk/dports/lang/ghc-bootstrap/Portfile
===================================================================
--- trunk/dports/lang/ghc-bootstrap/Portfile	                        (rev 0)
+++ trunk/dports/lang/ghc-bootstrap/Portfile	2012-08-20 22:58:46 UTC (rev 96892)
@@ -0,0 +1,46 @@
+# -*- 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
+# $Id$
+
+PortSystem          1.0
+
+name                ghc-bootstrap
+set canonicalname	ghc
+version             7.0.4
+categories	        lang haskell
+maintainers	        auastro
+license		        BSD
+platforms	        darwin
+supported_archs     x86_64
+
+description	The Glorious Glasgow Haskell Compilation System
+long_description	\
+                This is a package that installs a binary \
+                bootstrap ghc compiler.
+
+homepage	    http://haskell.org/${canonicalname}
+master_sites	${homepage}/dist/${version}/
+distname        ${canonicalname}-${version}-x86_64-apple-darwin
+worksrcdir      ${canonicalname}-${version}
+prefix          ${prefix}/share/ghc-bootstrap
+
+checksums       rmd160  14f4c6a044eaa3d04f1645324f9255eebff9a49d \
+                sha256  74580b919b5205007901d15da88635e4b2dcc887086fb16d238eeb7011a255d4
+
+use_bzip2	    yes
+
+# TODO it doesn't really matter what compiler is used
+# here so long as it's not clang add some code to set
+# this up automatically
+configure.compiler llvm-gcc-4.2
+
+pre-configure {
+    # OK so because this binary has been prebuilt for libraries
+    # in /usr/lib we search these before macports stuff so (hopefully)
+    # weird things don't happen
+    configure.ldflags  -L/usr/lib
+    configure.cppflags -I/usr/include
+}
+
+build {}
+
+# TODO don't install documentation


Property changes on: trunk/dports/lang/ghc-bootstrap/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120820/0f38d90a/attachment.html>


More information about the macports-changes mailing list