[45941] trunk/dports/devel/hs-bytestring-lexing/Portfile

blb at macports.org blb at macports.org
Sun Jan 25 14:44:07 PST 2009


Revision: 45941
          http://trac.macports.org/changeset/45941
Author:   blb at macports.org
Date:     2009-01-25 14:44:06 -0800 (Sun, 25 Jan 2009)
Log Message:
-----------
hs-bytestring-lexing - switch to haskell port group, take open maintainership (no functional changes)

Modified Paths:
--------------
    trunk/dports/devel/hs-bytestring-lexing/Portfile

Modified: trunk/dports/devel/hs-bytestring-lexing/Portfile
===================================================================
--- trunk/dports/devel/hs-bytestring-lexing/Portfile	2009-01-25 22:16:14 UTC (rev 45940)
+++ trunk/dports/devel/hs-bytestring-lexing/Portfile	2009-01-25 22:44:06 UTC (rev 45941)
@@ -1,51 +1,25 @@
 # $Id$
 
-PortSystem 1.0
+PortSystem          1.0
+PortGroup           haskell 1.0
+haskell.setup       bytestring-lexing 0.1.2
+revision            1
+maintainers         blb openmaintainer
+description         Parse literals efficiently from ByteStrings
+long_description \
+   Parse literals efficiently from GHC's ByteString type.  At the moment, \
+   only Doubles are supported.  Reading Ints and Integers is supported by \
+   GHC's included ByteString module.
 
-name		hs-bytestring-lexing
-set canonicalname	bytestring-lexing
-version		0.1.2
-revision	1
-categories	devel haskell
-maintainers	nomaintainer
-platforms	darwin
+platforms           darwin
 
-description	Parse literals efficiently from ByteStrings
-long_description	\
-		Parse literals efficiently from GHC's ByteString	\
-		type.  At the moment, only Doubles are supported.	\
-		Reading Ints and Integers is supported by GHC's		\
-		included ByteString module.
+checksums           md5     6ce7957ee178f146f1c86e3d64ebc21f \
+                    sha1    35fc64a173f34ac9f35c773eb2d61bfac61a072c \
+                    rmd160  2524caf891e15e398ce1713313be7dcbe1146e39
 
-homepage	http://code.haskell.org/~dons/code/${canonicalname}
-master_sites	http://hackage.haskell.org/packages/archive/${canonicalname}/${version}
-distname	${canonicalname}-${version}
+depends_build-append   port:alex
 
-checksums	md5     6ce7957ee178f146f1c86e3d64ebc21f		\
-		sha1    35fc64a173f34ac9f35c773eb2d61bfac61a072c	\
-		rmd160  2524caf891e15e398ce1713313be7dcbe1146e39
+configure.args-append   --enable-library-profiling
 
-depends_build	port:ghc	\
-		port:alex
+build.args-append   -v
 
-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" }
-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090125/5c26b0c8/attachment.html>


More information about the macports-changes mailing list