[97012] users/cal/ports/devel/hs-platform-happy/Portfile

cal at macports.org cal at macports.org
Fri Aug 24 10:44:34 PDT 2012


Revision: 97012
          https://trac.macports.org/changeset/97012
Author:   cal at macports.org
Date:     2012-08-24 10:44:33 -0700 (Fri, 24 Aug 2012)
Log Message:
-----------
hs-platform-happy: update to 1.18.9

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

Modified: users/cal/ports/devel/hs-platform-happy/Portfile
===================================================================
--- users/cal/ports/devel/hs-platform-happy/Portfile	2012-08-24 17:21:15 UTC (rev 97011)
+++ users/cal/ports/devel/hs-platform-happy/Portfile	2012-08-24 17:44:33 UTC (rev 97012)
@@ -1,54 +1,53 @@
+# -*- 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
 
-name		hs-platform-happy
-set canonicalname	happy
-version		1.18.4
-categories	devel
-license		BSD
-maintainers	gwright
-platforms	darwin
-description	The Parser Generator for Haskell (platform version)
-long_description	\
-		Happy is a parser generator system for Haskell,		\
-		similar to the tool `yacc' for C. Like `yacc', it	\
-		takes a file containing an annotated BNF specification	\
-		of a grammar and produces a Haskell module containing	\
-		a parser for the grammar.				\
-									\
-		Happy is flexible: you can have several Happy parsers	\
-		in the same program, and several entry points to a	\
-		single grammar. Happy can work in conjunction with a	\
-		lexical analyser supplied by the user (either		\
-		hand-written or generated by another program), or it	\
-		can parse a stream of characters directly (but this	\
-		isn't practical in most cases).
+# can't use the haskellplatform port group because of the (un)?register.sh scripts
+# basically, the following is the spelled-out haskellplatform port group
 
-homepage	http://haskell.org/${canonicalname}/
-master_sites	http://hackage.haskell.org/packages/archive/${canonicalname}/${version}/
-distname	${canonicalname}-${version}
+name                    hs-platform-happy
+version                 1.18.9
+checksums               rmd160  adfe119ffd485953fe7f8a81575191cdfea5a7f5 \
+                        sha256  7d34c512b8aecbc135f6b4c43bc18044ff50ae6d5afdd0d2570228dccecb618a
+categories              devel haskell
+homepage                http://hackage.haskell.org/package/happy
+master_sites            http://hackage.haskell.org/packages/archive/happy/${version}
+distname                happy-${version}
 
-checksums	md5     614e3ef9623dbeefc4c8ca699912efb4 \
-		sha1    86c6a61ed8b3909c476c27343f41cb12971d52bd \
-		rmd160  846d90e2962c6053acae03ace90de3656ce271b5
+configure.args          Setup configure \
+                        --prefix=${prefix} \
+                        --with-compiler=${prefix}/bin/ghc \
+                        -v \
+						--with-gcc=${configure.cc}
+configure.cmd           runhaskell
+configure.pre_args
+build.cmd               ${configure.cmd}
+build.args              Setup build -v
+build.target
+destroot.cmd            ${configure.cmd}
+destroot.destdir
+destroot.target         Setup copy --destdir=${destroot}
 
-depends_build	port:ghc
+universal_variant       no
 
-universal_variant	no
+livecheck.type          none
 
-configure       {
-                  system "cd ${worksrcpath} && runhaskell Setup configure -v --ghc --with-gcc=${configure.cc} --prefix=${prefix}"
-                }
+license                 BSD
+maintainers             cal openmaintainer
+platforms               darwin
 
-build           {
-                  system "cd ${worksrcpath} && runhaskell Setup build -v"
-                }
+depends_lib             port:hs-platform-ghc \
+                        port:hs-platform-mtl
 
-destroot        {
-                  system "cd ${worksrcpath} && runhaskell Setup copy --copy-prefix=${destroot}${prefix}"
-                }
-
-# Haskell Platform components should not be livecheck'ed.
-livecheck.type	none
-
+description             \
+    Happy is a parser generator system for Haskell, similar to the tool `yacc' \
+    for C. Like `yacc', it takes a file containing an annotated BNF \
+    specification of a grammar and produces a Haskell module containing \
+    a parser for the grammar.
+long_description        ${description} \
+    Happy is flexible: you can have several Happy parsers in the same program, \
+    and several entry points to a single grammar. Happy can work in conjunction \
+    with a lexical analyser supplied by the user (either hand-written or \
+    generated by another program), or it can parse a stream of characters \
+    directly (but this isn't practical in most cases).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120824/d6c4fe35/attachment.html>


More information about the macports-changes mailing list