source: trunk/dports/devel/hs-EdisonAPI/Portfile @ 18222

Last change on this file since 18222 was 18222, checked in by gwright, 11 years ago

Version bump to 1.2 release.

  • Property svn:eol-style set to native
File size: 1.7 KB
Line 
1# $Id: Portfile,v 1.2 2006/06/03 19:49:37 gwright Exp $
2
3PortSystem 1.0
4name            hs-EdisonAPI
5set shortname   edison-api
6version         1.2
7categories      devel
8maintainers     gwright@opendarwin.org
9platforms       darwin
10
11description     A library of purely functional data structures for Haskell
12long_description        \
13                Edison is a library of purely function data structures  \
14                for Haskell originally written by Chris Okasaki.        \
15                Conceptually, it consists of two things:                \
16                                                                        \
17                        1. A set of type classes defining data the      \
18                           following data structure abstractions:       \
19                           sequences, collections and associative       \
20                           collections,                                 \
21                        2. Multiple concrete implementations of each    \
22                           of the abstractions.
23
24#
25# This portfile installs the Edison API package, which defines the Edison
26# interface.  It is a prerequisite for the installation of the Edison
27# package itself.
28#
29# This port downloads the same file as the Edison port, beacuse Edison
30# is unusually packaged, with two separate packages in the same tarball.
31#
32
33homepage        http://www.eecs.tufts.edu/~rdocki01/edison.html
34master_sites    http://www.eecs.tufts.edu/~rdocki01/projects
35distname        ${shortname}-${version}-source
36
37checksums       md5 f07dd6557dfceb18d5616b29d13466b8
38
39depends_build   port:ghc
40
41pre-configure   { cd ${worksrcpath}/edison-api
42                  system "ghc -o Setup Setup.hs -package Cabal"
43                }
44
45configure       { cd ${worksrcpath}/edison-api
46                  system "./Setup configure --ghc --prefix=${prefix}"
47                }
48
49build           { cd ${worksrcpath}/edison-api
50                  system "./Setup build -v"
51                }
52
53destroot        { cd ${worksrcpath}/edison-api
54                  system "./Setup copy --copy-prefix=${destroot}${prefix}"
55                }
56
57post-activate   { cd ${worksrcpath}/edison-api
58                  catch {system "./Setup unregister"}
59                  system "./Setup register"
60                }
61
Note: See TracBrowser for help on using the repository browser.