[97022] users/cal/ports/devel/hs-platform-cabal/Portfile

cal at macports.org cal at macports.org
Fri Aug 24 12:00:50 PDT 2012


Revision: 97022
          https://trac.macports.org/changeset/97022
Author:   cal at macports.org
Date:     2012-08-24 12:00:49 -0700 (Fri, 24 Aug 2012)
Log Message:
-----------
hs-platform-cabal: update to 0.14.0

Modified Paths:
--------------
    users/cal/ports/devel/hs-platform-cabal/Portfile

Modified: users/cal/ports/devel/hs-platform-cabal/Portfile
===================================================================
--- users/cal/ports/devel/hs-platform-cabal/Portfile	2012-08-24 18:58:56 UTC (rev 97021)
+++ users/cal/ports/devel/hs-platform-cabal/Portfile	2012-08-24 19:00:49 UTC (rev 97022)
@@ -1,48 +1,26 @@
+# -*- 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
+PortSystem              1.0
+PortGroup               haskellplatform 1.0
 
-name		hs-platform-cabal
-set canonicalname	cabal-install
-version		0.6.2
-categories	devel haskell
-maintainers	gwright
-platforms	darwin
+haskellplatform.setup   cabal-install 0.14.0 no
+name                    hs-platform-cabal
+checksums               rmd160  a0e1e0f0d189abbb984d968f8650280632027769 \
+                        sha256  f4f2b50269ff59d67b5f3d82d50f7706b6bad1117295a7c81f32bbe72add5bd8
 
-description	User interface to the Cabal build system (platform version).
-long_description	\
-		Cabal is a system for building and packaging Haskell	\
-		libraries and programs It defines a common interface	\
-		for package authors and distributors to easily build	\
-		their applications in a portable way. Cabal is part of	\
-		a larger infrastructure for distributing, organizing,	\
-		and cataloging Haskell libraries and programs.
+license                 BSD
+maintainers             cal openmaintainer
+platforms               darwin
 
-homepage	http://www.haskell.org/cabal
-master_sites	http://hackage.haskell.org/packages/archive/${canonicalname}/${version}
-distname	${canonicalname}-${version}
+depends_lib-append      port:hs-platform-http \
+                        port:hs-platform-mtl \
+                        port:hs-platform-network \
+                        port:hs-platform-random \
+                        port:hs-platform-zlib
 
-checksums	md5     8cb1c19233a9a114faf0eea7c46cb23e		\
-		sha1    415bdf6ae7029b488b99c2da288af10634024ac7	\
-		rmd160  f7ae2a8155b28ee1b736e9abf00c32fe55e7c80f
-
-# Since cabal is an application, and the Haskell libraries are statically
-# linked, the following are build dependencies and not lib dependencies:
-depends_build	port:ghc			\
-		port:hs-platform-zlib		\
-		port:hs-platform-HTTP
-
-universal_variant	no
-
-configure	{ system "cd ${worksrcpath} && runhaskell Setup configure -v --ghc --prefix=${prefix} --with-gcc=${configure.cc}"
-		}
-
-build		{ system "cd ${worksrcpath} && runhaskell Setup build -v"
-		}
-
-destroot	{ system "cd ${worksrcpath} && runhaskell Setup copy --copy-prefix=${destroot}${prefix}"
-                }
-
-# platform components should not be livecheck'ed.
-livecheck.type	none
-
+description             \
+    The 'cabal' command-line program simplifies the process of managing Haskell \
+    software by automating the fetching, configuration, compilation and \
+    installation of Haskell libraries and programs.
+long_description        ${description}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120824/12cff449/attachment.html>


More information about the macports-changes mailing list