source: trunk/dports/lang/yap-devel/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.6 KB
Line 
1# $Id: Portfile 114328 2013-12-05 10:21:52Z ryandesign@macports.org $
2
3PortSystem      1.0
4
5name            yap-devel
6conflicts       yap
7version         6.0.7
8categories      lang
9license         Artistic-2   
10maintainers     logtalk.org:pmoura
11platforms       darwin
12description     YAP Prolog compiler
13
14long_description        \
15                YAP is a high-performance Prolog compiler developed at    \
16                CRACS/Universidade do Porto and at COPPE Sistemas/UFRJ.   \
17                Its Prolog engine is based in the WAM (Warren Abstract    \
18                Machine), with several optimizations for better           \
19                performance. YAP follows the Edinburgh tradition, and     \
20                is largely compatible with the ISO-Prolog standard and    \
21                with Quintus and SICStus Prolog.
22
23homepage        http://www.dcc.fc.up.pt/~vsc/Yap/
24
25fetch.type          git
26git.url             git://yap.dcc.fc.up.pt/yap-6
27git.branch          8ee9cc2d492f7b085104798d5a34bd9545a4844b
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-java=/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.