[97017] users/cal/ports/devel/hs-platform-alex

cal at macports.org cal at macports.org
Fri Aug 24 11:04:22 PDT 2012


Revision: 97017
          https://trac.macports.org/changeset/97017
Author:   cal at macports.org
Date:     2012-08-24 11:04:22 -0700 (Fri, 24 Aug 2012)
Log Message:
-----------
hs-platform-alex: update to 3.0.1

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

Removed Paths:
-------------
    users/cal/ports/devel/hs-platform-alex/files/

Modified: users/cal/ports/devel/hs-platform-alex/Portfile
===================================================================
--- users/cal/ports/devel/hs-platform-alex/Portfile	2012-08-24 18:03:32 UTC (rev 97016)
+++ users/cal/ports/devel/hs-platform-alex/Portfile	2012-08-24 18:04:22 UTC (rev 97017)
@@ -1,50 +1,21 @@
+# -*- 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-alex
-set canonicalname	alex
-version		2.3.1
-categories	devel haskell
-license		BSD
-maintainers	gwright
-platforms	darwin
-description	A Lexical Analyzer Generator for Haskell (platform version)
-long_description	\
-		Alex is a tool for generating lexical analysers		\
-		in Haskell, given a description of the tokens to be	\
-		recognised in the form of regular expressions.		\
-		It is similar to the tools lex or flex for C/C++.
+haskellplatform.setup   alex 3.0.1 no
+checksums               rmd160  fdfd935281800678605573db8025583b40459894 \
+                        sha256  727235cee46396537c2b53b4a0fae0ec25cffb9e982ce899816e92fcfe4cfaf0
 
-homepage	http://www.haskell.org/${canonicalname}/
-master_sites	http://hackage.haskell.org/packages/archive/${canonicalname}/${version}
-distname	${canonicalname}-${version}
+license                 BSD
+maintainers             cal openmaintainer
+platforms               darwin
 
-checksums       md5     a8c26af3370388297cee4b8c767d72d9 \
-                sha1    0dbd9d34849602f9b59d30122b27727d6f79fc4f \
-                rmd160  cee02283325638fc9929ca6ae40c153b626d4b69
+depends_lib-append      port:hs-platform-quickcheck
 
-depends_build	port:ghc
-
-universal_variant	no
-
-patchfiles	patch-alex.cabal.diff
-
-# Since alex is an application I can't use the conveniences of the
-# haskell PortGroup.  Just need to do everything by hand:
-
-configure       {
-                  system "cd ${worksrcpath} && runhaskell Setup configure -v --ghc --with-gcc=${configure.cc} --prefix=${prefix}"
-                }
-
-build           {
-                  system "cd ${worksrcpath} && runhaskell Setup build -v"
-                }
-
-destroot        {
-                  system "cd ${worksrcpath} && runhaskell Setup copy --copy-prefix=${destroot}${prefix}"
-                }
-
-# Haskell Platform components should not be livecheck'ed.
-livecheck.type	none
-
+description             \
+    Alex is a tool for generating lexical analysers in Haskell, given \
+    a description of the tokens to be recognised in the form of regular \
+    expressions. It is similar to the tool lex or flex for C/C++.
+long_description        ${description}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120824/ae9f9ce0/attachment.html>


More information about the macports-changes mailing list