[97004] trunk/dports/devel/hs-cabal/Portfile

cal at macports.org cal at macports.org
Fri Aug 24 09:03:09 PDT 2012


Revision: 97004
          https://trac.macports.org/changeset/97004
Author:   cal at macports.org
Date:     2012-08-24 09:03:09 -0700 (Fri, 24 Aug 2012)
Log Message:
-----------
hs-cabal: add modeline, unify whitespace, use upstream description

Modified Paths:
--------------
    trunk/dports/devel/hs-cabal/Portfile

Modified: trunk/dports/devel/hs-cabal/Portfile
===================================================================
--- trunk/dports/devel/hs-cabal/Portfile	2012-08-24 15:59:16 UTC (rev 97003)
+++ trunk/dports/devel/hs-cabal/Portfile	2012-08-24 16:03:09 UTC (rev 97004)
@@ -1,47 +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
+PortSystem          1.0
 
 # hs-cabal installs an executable, not a library, so PortGroup haskell
 # is inappropriate.
 
-name		hs-cabal
-set canonicalname	cabal-install
-version		0.14.0
-categories	devel haskell
-maintainers	gwright
-platforms	darwin
-license		BSD
+name                hs-cabal
+set canonicalname   cabal-install
+version             0.14.0
+categories          devel haskell
+maintainers         gwright
+platforms           darwin
+license             BSD
 
-description	User interface to Haskell's Cabal build system (development 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.
+description         User interface to Haskell's Cabal build system.
+long_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.
 
-homepage	http://www.haskell.org/cabal
-master_sites	http://hackage.haskell.org/packages/archive/${canonicalname}/${version}
-distname	${canonicalname}-${version}
+homepage            http://www.haskell.org/cabal
+master_sites        http://hackage.haskell.org/packages/archive/${canonicalname}/${version}
+distname            ${canonicalname}-${version}
 
-checksums	sha256  f4f2b50269ff59d67b5f3d82d50f7706b6bad1117295a7c81f32bbe72add5bd8 \
-		rmd160  a0e1e0f0d189abbb984d968f8650280632027769
+checksums           sha256  f4f2b50269ff59d67b5f3d82d50f7706b6bad1117295a7c81f32bbe72add5bd8 \
+                    rmd160  a0e1e0f0d189abbb984d968f8650280632027769
 
-universal_variant	no
+universal_variant   no
 
-depends_lib	port:hs-zlib		\
-		port:hs-HTTP            \
-		port:hs-random
+depends_lib         port:hs-zlib \
+                    port:hs-HTTP \
+                    port:hs-random
 
-configure	{ system "cd ${worksrcpath} && runhaskell Setup configure -v --ghc --prefix=${prefix} --with-gcc=${configure.cc} --program-suffix=\"-${version}\""
-		}
+configure {
+    system "cd ${worksrcpath} && runhaskell Setup configure -v --ghc --prefix=${prefix} --with-gcc=${configure.cc} --program-suffix=\"-${version}\""
+}
 
-build		{ system "cd ${worksrcpath} && runhaskell Setup build -v"
-		}
+build {
+    system "cd ${worksrcpath} && runhaskell Setup build -v"
+}
 
-destroot	{ system "cd ${worksrcpath} && runhaskell Setup copy -v --destdir=${destroot}"
-                }
-
-
+destroot {
+    system "cd ${worksrcpath} && runhaskell Setup copy -v --destdir=${destroot}"
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120824/6af61ef1/attachment-0001.html>


More information about the macports-changes mailing list