[106877] trunk/dports/devel/hs-chunks/Portfile
cal at macports.org
cal at macports.org
Sun Jun 9 06:44:14 PDT 2013
Revision: 106877
https://trac.macports.org/changeset/106877
Author: cal at macports.org
Date: 2013-06-09 06:44:13 -0700 (Sun, 09 Jun 2013)
Log Message:
-----------
hs-chunks: switch to haskell portgroup, revbump to rebuild with new GHC
Port is currently broken, seems to be upstream problem, but no update is available.
Modified Paths:
--------------
trunk/dports/devel/hs-chunks/Portfile
Modified: trunk/dports/devel/hs-chunks/Portfile
===================================================================
--- trunk/dports/devel/hs-chunks/Portfile 2013-06-09 13:37:41 UTC (rev 106876)
+++ trunk/dports/devel/hs-chunks/Portfile 2013-06-09 13:44:13 UTC (rev 106877)
@@ -1,47 +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 haskell 1.0
-name hs-chunks
-version 2007.4.18
-distname chunks-${version}
-categories devel haskell
-license LGPL-2.1+
-maintainers nomaintainer
-platforms darwin
+haskell.setup chunks 2007.4.18
+revision 1
+checksums rmd160 d41f3f2fa38da0263a084271f65de94ca5e1c0de \
+ sha256 7f3a9042423f7ed4484cdc2d8fe25e7af33f4de38c16a3defba5db053f8dbc61
-description The chunks library for Haskell
-long_description \
- This library supports templates inspired by the Perl \
- HTML::Chunks module, but this Haskell implementation \
- checks at compile time that the templates used exist and \
- are used correctly. The templates are combined within the \
- compiled Haskell, removing the dependency on the external \
- template file.
+license LGPL-2.1+
+maintainers nomaintainer
+platforms darwin
-homepage http://www.wellquite.org/chunks/
-master_sites http://hackage.haskell.org/packages/archive/chunks/${version}
-checksums md5 783cd887026c2a096aac448ce8bd714b
-
-depends_build port:ghc
-
-configure { system "cd ${worksrcpath} && runhaskell Setup configure --ghc --prefix=${prefix} --with-compiler=${prefix}/bin/ghc --enable-library-profiling"
- }
-
-build { system "cd ${worksrcpath} && runhaskell Setup build -v"
- }
-
-destroot { system "cd ${worksrcpath} && runhaskell Setup copy --copy-prefix=${destroot}${prefix}"
- system "cd ${worksrcpath} && runhaskell Setup register --gen-script"
- system "cd ${worksrcpath} && runhaskell Setup unregister --gen-script"
-
- file mkdir ${destroot}${prefix}/libexec/${name}
- file copy ${worksrcpath}/register.sh \
- ${destroot}${prefix}/libexec/${name}
- file copy ${worksrcpath}/unregister.sh \
- ${destroot}${prefix}/libexec/${name}
- }
-
-post-activate { system "${prefix}/libexec/${name}/register.sh" }
-
-pre-deactivate { system "${prefix}/libexec/${name}/unregister.sh" }
+description Simple template library with static safety
+long_description \
+ This library supports templates inspired by the Perl HTML::Chunks module, \
+ but this Haskell implementation checks at compile time that the templates \
+ used exist and are used correctly. The templates are combined within the \
+ compiled Haskell, removing the dependency on the external template file.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130609/dff846a4/attachment.html>
More information about the macports-changes
mailing list