source: trunk/dports/devel/hat/Portfile

Last change on this file was 131201, checked in by cal@…, 3 years ago

revbump all haskell ports, follows r131199, #44891

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# $Id: Portfile 131201 2015-01-06 19:52:47Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name            hat
6version         2.05
7revision        1
8categories      devel
9license         GPL
10maintainers     nomaintainer
11platforms       darwin
12
13description     hat is the Haskell Tracer
14long_description        \
15                Hat is a source-level tracer for Haskell 98, the        \
16                standard lazy functional programming language. Hat is   \
17                a tool that gives the user access to otherwise          \
18                invisible information about a computation.              \
19                                                                        \
20                Hat is portable between compilers: it works with both   \
21                ghc and nhc98. It also supports various language        \
22                extensions, such as the FFI, multi-parameter type       \
23                classes, functional dependencies, and hierarchical      \
24                module namespaces.
25
26homepage        http://www.cs.york.ac.uk/fp/hat/
27master_sites    ${homepage}
28
29checksums       md5 027a74fe438f51529bc781d4dfc8ff40
30
31depends_build   port:ghc \
32                port:hmake
33
34depends_lib     lib:libglib.1:glib1
35
36depends_run     port:xterm
37
38notes   "Despite being compatible with both nhc98 and ghc, the\
39port depends on the more featureful ghc."
40
41configure.args  --mandir=${prefix}/share/man/man1
42
43post-destroot   { file delete ${destroot}${prefix}/bin/harch }
44
45post-activate   { set ghcversion [ exec ghc --version | sed "s|^.*version ||" ]
46
47                  reinplace "s|${destroot}${prefix}|${prefix}|g" ${prefix}/lib/ghc-${ghcversion}/package.conf
48
49                  ui_msg "hat requires that you add ${x11prefix}/bin to your PATH"
50                }
51
52
53post-deactivate { system "ghc-pkg unregister ${name}-${version}" }
54
55livecheck.type  regex
56livecheck.url   ${homepage}download.html
57livecheck.regex ${name}-(\[0-9.\]+)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.