[64956] trunk/dports/devel/hs-hslogger/Portfile
gwright at macports.org
gwright at macports.org
Thu Mar 18 07:15:57 PDT 2010
Revision: 64956
http://trac.macports.org/changeset/64956
Author: gwright at macports.org
Date: 2010-03-18 07:15:54 -0700 (Thu, 18 Mar 2010)
Log Message:
-----------
Version bump to 1.0.10 and use PortGroup haskell.
Modified Paths:
--------------
trunk/dports/devel/hs-hslogger/Portfile
Modified: trunk/dports/devel/hs-hslogger/Portfile
===================================================================
--- trunk/dports/devel/hs-hslogger/Portfile 2010-03-18 13:47:18 UTC (rev 64955)
+++ trunk/dports/devel/hs-hslogger/Portfile 2010-03-18 14:15:54 UTC (rev 64956)
@@ -2,50 +2,36 @@
PortSystem 1.0
-name hs-hslogger
-set canonicalname hslogger
-version 1.0.6
-categories devel haskell
-maintainers gwright
+PortGroup haskell 1.0
+haskell.setup hslogger 1.0.10
+maintainers nomaintainer
platforms darwin
-description A logging framework for Haskell
+description Versatile logging framework for haskell
long_description \
- hslogger lets each log message have a priority \
- and source be associated with it. The programmer \
- can then define global handlers that route or filter \
- messages based on the priority and source. hslogger \
- also has a syslog handler built in.
+ hslogger is a logging framework for Haskell, roughly similar \
+ to Python's logging module. \
+ \
+ hslogger lets each log message have a priority and source be \
+ associated with it. The programmer can then define global \
+ handlers that route or filter messages based on the priority \
+ and source. hslogger also has a syslog handler built in.
-homepage http://software.complete.org/${canonicalname}
-master_sites http://hackage.haskell.org/packages/archive/${canonicalname}/${version}
+checksums md5 f65a5326d28f9cdad6887a32525d70dc \
+ sha1 53310e45737fc177456e0b413383632cfe3b24b2 \
+ rmd160 c5be1e190b55b8850c97a38e948b6ff68f4140d3
-distname ${canonicalname}-${version}
+depends_lib port:ghc \
+ port:hs-platform-network \
+ port:hs-platform-mtl \
+ port:hs-platform-time
-checksums md5 73d8eb588ba354b18ba7b29b427fa18c \
- sha1 4fd505df81d5d8938e7c6af7b9ec771d219d9d10 \
- rmd160 bf60235ad6f2bda0126f3a027448298b64582fa6
+universal_variant no
-depends_build port:ghc
+configure.args-append -v --enable-library-profiling \
+ --with-gcc=${configure.cc}
-configure { system "cd ${worksrcpath} && runhaskell Setup configure --ghc --prefix=${prefix} --with-compiler=${prefix}/bin/ghc --enable-library-profiling"
- }
+build.args-append -v
-build { system "cd ${worksrcpath} && runhaskell Setup build -v"
- }
+livecheck.type none
-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" }
-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100318/79c26e78/attachment.html>
More information about the macports-changes
mailing list