Ticket #27633: Portfile.2

File Portfile.2, 1.6 KB (added by rinkevichjm@…, 13 years ago)

darcs/Portfile

Line 
1# $Id: Portfile 70397 2010-08-08 07:24:38Z gwright@macports.org $
2
3PortSystem 1.0
4name            darcs
5version         2.5
6revision        1
7categories      devel haskell
8maintainers     gwright
9platforms       darwin
10description     A distributed, interactive, smart revision control system
11long_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
18homepage        http://darcs.net
19master_sites    ${homepage}/releases/
20
21checksums           md5     7de8b352d8b0ed50d71ac0c32d3b6d5c \
22                    sha1    e76d36741099211b8721001f8eb6ea33eb54197f \
23                    rmd160  cbf7acf836f18d3e5b3bbdaf114095083e488061
24
25depends_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
35depends_lib     port:gmp
36
37configure       {
38                  system "cd ${worksrcpath} && runhaskell Setup configure -v --ghc --prefix=${prefix} --with-gcc=${configure.cc}"
39                }
40
41build           {
42                  system "cd ${worksrcpath} && runhaskell Setup build -v"
43                }
44
45destroot        {
46                  system "cd ${worksrcpath} && runhaskell Setup copy --copy-prefix=${destroot}${prefix}"
47                }
48
49livecheck.type  regex
50livecheck.regex "version (.+) released"