source: trunk/dports/devel/hmake/Portfile

Last change on this file was 139469, checked in by jmr@…, 2 years ago

ncurses: update to 6.0, rev bump dependents due to new ABI

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# $Id: Portfile 139469 2015-08-18 01:10:17Z ryandesign@macports.org $
2
3PortSystem              1.0
4
5name                    hmake
6version                 3.14
7revision                4
8categories              devel
9license                 GPL
10maintainers             nomaintainer
11platforms               darwin
12description             A Make Tool for Haskell Programs
13long_description        hmake is a compilation manager for Haskell programs.
14
15homepage                http://www.haskell.org/hmake/
16master_sites            ${homepage}
17
18checksums               md5 7fb58d8e5c257869200d87cff19d7b15 \
19                        sha1 c88e61a86053c2e2f600e534d1c323131b925e12 \
20                        rmd160 b9f88e2ee4ed4bb6cc2df3d644864eb5e60c4a60
21
22patchfiles              patch-configure.diff \
23                        patch-ghc-pkg.diff
24
25configure.args          --mandir=${prefix}/share/man/man1
26
27variant ghc conflicts nhc98 description {Build with ghc} {
28    depends_build port:ghc
29    depends_lib port:gmp \
30                port:ncurses \
31                port:readline
32    configure.args-append --buildwith=ghc
33}
34
35variant nhc98 conflicts ghc description {Build with nhc98} {
36    depends_build port:nhc98
37    configure.args-append --buildwith=nhc98
38}
39
40if {![variant_isset nhc98]} {
41    default_variants +ghc
42}
43
44post-patch {
45    reinplace "s|-lreadline|-I${prefix}/include -L${prefix}/lib -lreadline|g" ${worksrcpath}/configure
46}
Note: See TracBrowser for help on using the repository browser.