source: trunk/dports/lang/hugs98/Portfile

Last change on this file was 114325, checked in by ryandesign@…, 4 years ago

use eq and ne instead of == and != when comparing ${os.platform} and ${os.subplatform}

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# $Id: Portfile 114325 2013-12-05 09:20:31Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name                hugs98
6version             plus-Sep2006
7revision            2
8categories          lang
9maintainers         mww
10platforms           darwin
11license             BSD
12description         The HUGS Haskell Interpreter
13long_description    \
14        Hugs 98 is a functional programming system based \
15        on Haskell 98, the de facto standard for non-strict \
16        functional programming languages. Hugs 98 provides an \
17        almost complete implementation of Haskell 98.
18
19homepage            http://www.haskell.org/hugs/
20master_sites        http://cvs.haskell.org/Hugs/downloads/2006-09/
21
22checksums           md5     e03e0ad79750d037237c47ebe33fa20e \
23                    sha1    1464a80c715bc5f786ea5a4e4257b2ff0dc7e1e9 \
24                    rmd160  4a7e744360a29fbf94f5ac86ea559e80f12205a5
25patchfiles          patch-configure.ac.diff
26
27depends_lib         port:libedit port:xorg-libX11
28
29if {${os.platform} eq "darwin" && ${os.major} >= 10} {
30    # This fixes the 'Undefined symbols: "_environ"' error
31    patchfiles-append patch-packages-base-include-HsBase.h.diff
32    # This fixes the 'Undefined symbols: "renameFile_17' and 'readdir_40' errors
33    patchfiles-append patch-libraries-tools-make-bootlib.diff
34}
35
36# This project's build system fails
37compiler.blacklist  *clang*
38
39use_autoconf        yes
40
41livecheck.type      none
42#livecheck.type      regex
43#livecheck.url       ${master_sites}
44#livecheck.regex     hugs98-\(plus-\[A-Za-z\]+200\[6-9\]\)\.tar.gz
Note: See TracBrowser for help on using the repository browser.