[64935] trunk/dports/devel/hs-bytestring-csv/Portfile

gwright at macports.org gwright at macports.org
Wed Mar 17 16:23:35 PDT 2010


Revision: 64935
          http://trac.macports.org/changeset/64935
Author:   gwright at macports.org
Date:     2010-03-17 16:23:34 -0700 (Wed, 17 Mar 2010)
Log Message:
-----------
Set universal_variant no.

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

Modified: trunk/dports/devel/hs-bytestring-csv/Portfile
===================================================================
--- trunk/dports/devel/hs-bytestring-csv/Portfile	2010-03-17 23:22:09 UTC (rev 64934)
+++ trunk/dports/devel/hs-bytestring-csv/Portfile	2010-03-17 23:23:34 UTC (rev 64935)
@@ -2,45 +2,26 @@
 
 PortSystem 1.0
 
-name		hs-bytestring-csv
-set canonicalname	bytestring-csv
-version		0.1.2
-categories	devel haskell
+PortGroup	haskell 1.0
+haskell.setup	bytestring-csv 0.1.2
 maintainers	nomaintainer
 platforms	darwin
 
 description	Parse CSV formatted data efficiently
 long_description	\
-		Parse CSV data from a bytestring.
+		Parse CSV formatted data efficiently
 
-homepage	http://code.haskell.org/~dons/code/bytestring-csv
-master_sites	http://hackage.haskell.org/packages/archive/${canonicalname}/${version}
-distname	${canonicalname}-${version}
-
 checksums	md5     45adcabc345af6bc8201e254a7de0683		\
 		sha1    fbcd2e6cb980133ec259f492246cd23cef339574	\
 		rmd160  24eb8ddc311b2643ab9b56cd15b060481c9e1b6a
 
-depends_build	port:ghc
+depends_lib	port:hs-bytestring	\
+		port:hs-dlist
 
-configure       { system "cd ${worksrcpath} && runhaskell Setup configure --ghc --prefix=${prefix} --with-compiler=${prefix}/bin/ghc --enable-library-profiling"
-                }
+universal_variant	no
 
-build           { system "cd ${worksrcpath} && runhaskell Setup build -v"
-                }
+configure.args-append	-v --enable-library-profiling \
+			--with-gcc=${configure.cc}
 
-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"
+build.args-append	-v
 
-                  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/20100317/d87b688d/attachment.html>


More information about the macports-changes mailing list