source: trunk/dports/lang/yap/Portfile

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

use eq and ne instead of == and != when comparing ${os.arch}, ${configure.build_arch}, ${build_arch}, and some port-specific variables for referring to architectures

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1# $Id: Portfile 114328 2013-12-05 10:21:52Z ryandesign@macports.org $
2
3PortSystem      1.0
4
5name            yap
6conflicts       yap-devel
7version         6.0.5
8revision        1
9categories      lang
10license         Artistic-2
11maintainers     logtalk.org:pmoura
12platforms       darwin
13description     YAP Prolog compiler
14
15long_description        \
16                YAP is a high-performance Prolog compiler developed at    \
17                CRACS/Universidade do Porto and at COPPE Sistemas/UFRJ.   \
18                Its Prolog engine is based in the WAM (Warren Abstract    \
19                Machine), with several optimizations for better           \
20                performance. YAP follows the Edinburgh tradition, and     \
21                is largely compatible with the ISO-Prolog standard and    \
22                with Quintus and SICStus Prolog.
23
24homepage        http://www.dcc.fc.up.pt/~vsc/Yap/
25master_sites    ${homepage}
26checksums               sha1 1084b1630b48a430d60d6aee8e31914ecc6d5369 \
27                rmd160 b35264a7911c73d095426fb3790a104d41d44157
28
29depends_lib             port:readline port:gmp
30
31worksrcdir      yap-6
32
33configure.args  --with-gmp=${prefix} \
34                --with-readline=${prefix}
35
36if {${os.platform} eq "darwin" && ${build_arch} eq "x86_64"} {
37    configure.args-append --build=${build_arch}-apple-${os.platform}${os.version}
38}
39
40default_variants +java
41
42variant tabling {
43    configure.args-append --enable-tabling
44}
45
46variant java {
47    configure.args-append --with-jpl=/Library/Java/Home
48}
49
50variant condor {
51    configure.args-append --enable-condor
52}
53
54variant threads {
55    configure.args-append --enable-threads
56    configure.args-append --enable-pthread-locking
57    configure.args-append --enable-or-parallelism
58}
59
60variant debug {
61    configure.args-append --enable-debug-yap
62    configure.args-append --enable-low-level-tracer
63}
64
65livecheck.url   ${homepage}downloads.html
66livecheck.regex {yap-([0-9.]+)}
Note: See TracBrowser for help on using the repository browser.