1 | # $Id: Portfile 70397 2010-08-08 07:24:38Z gwright@macports.org $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | name darcs |
---|
5 | version 2.5 |
---|
6 | revision 1 |
---|
7 | categories devel haskell |
---|
8 | maintainers gwright |
---|
9 | platforms darwin |
---|
10 | description A distributed, interactive, smart revision control system |
---|
11 | long_description \ |
---|
12 | David's Advanced Revision Control System is yet \ |
---|
13 | another replacement for CVS. It is written in Haskell, \ |
---|
14 | and has been tested on Linux and Mac OS X. Darcs \ |
---|
15 | includes a cgi script, which can be used to view the \ |
---|
16 | contents of your repository. |
---|
17 | |
---|
18 | homepage http://darcs.net |
---|
19 | master_sites ${homepage}/releases/ |
---|
20 | |
---|
21 | checksums md5 7de8b352d8b0ed50d71ac0c32d3b6d5c \ |
---|
22 | sha1 e76d36741099211b8721001f8eb6ea33eb54197f \ |
---|
23 | rmd160 cbf7acf836f18d3e5b3bbdaf114095083e488061 |
---|
24 | |
---|
25 | depends_build port:hs-platform-mtl \ |
---|
26 | port:hs-platform-html \ |
---|
27 | port:hs-platform-parsec \ |
---|
28 | port:hs-platform-regex-compat \ |
---|
29 | port:hs-haskeline \ |
---|
30 | port:hs-hashed-storage \ |
---|
31 | port:hs-utf8-string \ |
---|
32 | port:hs-zlib \ |
---|
33 | port:hs-tar \ |
---|
34 | port:hs-HTTP |
---|
35 | depends_lib port:gmp |
---|
36 | |
---|
37 | configure { |
---|
38 | system "cd ${worksrcpath} && runhaskell Setup configure -v --ghc --prefix=${prefix} --with-gcc=${configure.cc}" |
---|
39 | } |
---|
40 | |
---|
41 | build { |
---|
42 | system "cd ${worksrcpath} && runhaskell Setup build -v" |
---|
43 | } |
---|
44 | |
---|
45 | destroot { |
---|
46 | system "cd ${worksrcpath} && runhaskell Setup copy --copy-prefix=${destroot}${prefix}" |
---|
47 | } |
---|
48 | |
---|
49 | livecheck.type regex |
---|
50 | livecheck.regex "version (.+) released" |
---|