[53594] trunk/dports/devel/darcs

gwright at macports.org gwright at macports.org
Thu Jul 9 07:02:49 PDT 2009


Revision: 53594
          http://trac.macports.org/changeset/53594
Author:   gwright at macports.org
Date:     2009-07-09 07:02:46 -0700 (Thu, 09 Jul 2009)
Log Message:
-----------
Version bump to 2.2.1; use new cabal build in preparation for 2.3.

Modified Paths:
--------------
    trunk/dports/devel/darcs/Portfile

Removed Paths:
-------------
    trunk/dports/devel/darcs/files/

Modified: trunk/dports/devel/darcs/Portfile
===================================================================
--- trunk/dports/devel/darcs/Portfile	2009-07-09 11:53:20 UTC (rev 53593)
+++ trunk/dports/devel/darcs/Portfile	2009-07-09 14:02:46 UTC (rev 53594)
@@ -1,56 +1,42 @@
 # $Id$
 
 PortSystem 1.0
-
-name            darcs
-version         2.2.0
-revision	1
-categories      devel
-maintainers     gwright
-description     David's Advanced Revision Control System
-long_description \
-                David's Advanced Revision Control System is yet		\
-                another replacement for CVS. It is written in Haskell,	\
-                and has been tested on Linux and Mac OS X. Darcs	\
-                includes a cgi script, which can be used to view the	\
+name		darcs
+version		2.2.1
+categories	devel haskell
+maintainers	gwright
+platforms	darwin
+description	A distributed, interactive, smart revision control system
+long_description	\
+                David's Advanced Revision Control System is yet         \
+                another replacement for CVS. It is written in Haskell,  \
+                and has been tested on Linux and Mac OS X. Darcs        \
+                includes a cgi script, which can be used to view the    \
                 contents of your repository.
 
-homepage        http://darcs.net/
-platforms       darwin
-master_sites    ${homepage}
+homepage	http://darcs.net
+master_sites	http://hackage.haskell.org/packages/archive/${name}/${version}
 
-checksums	md5     8f0a5eba5971e7cf324c63664cde59e2		\
-		sha1    a932ee14efc57490a4304958ab391ad7c86030f0	\
-		rmd160  86186f0dc64580c099f815b511eb84ee6387b7b0
+checksums	md5     99d79036c031185c9e2d48eb7d195ea7		\
+		sha1    9bf214898f895c72e5a9ba36b5d6f7e7ceb5d6dc 	\
+		rmd160  c26d27fa40efee05436b7f6c5ff7495175bb8f65
 
-depends_build   port:ghc
-depends_lib     port:curl	\
+depends_build	port:ghc
+depends_lib	port:curl	\
 		port:ncurses	\
-                port:gmp
+		port:gmp
 
-patchfiles	patch-configure.diff
+configure       {
+                  system "cd ${worksrcpath} && runhaskell Setup configure --ghc --prefix=${prefix}"
+                }
 
-configure.args  --mandir=${prefix}/share/man	\
-		--without-manual
+build           {
+                  system "cd ${worksrcpath} && runhaskell Setup build"
+                }
 
-test.run	yes
-test.target	check
+destroot        {
+                  system "cd ${worksrcpath} && runhaskell Setup copy --copy-prefix=${destroot}${prefix}"
+                }
 
-variant docs description {Generate a printable manual} {
-		depends_build-append	port:latex2html
-
-		configure.args-delete	--without-manual
-		configure.args-append	--with-manual
-}
-
-variant profiling description {Build darcs with runtime profiling enabled} {
-		configure.args-append	--enable-profile
-		patchfiles-append	patch-GNUmakefile.diff
-}
-
-variant nolibcurl description {Build darcs without libcurl} {
-		configure.args-append	--without-libcurl
-		depends_lib-delete	port:curl
-		depends_run-append	port:wget
-}
-
+livecheck.check regex
+livecheck.regex "version (.+) released"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090709/9b262274/attachment.html>


More information about the macports-changes mailing list