source: trunk/dports/lang/swi-prolog-devel/Portfile @ 11593

Last change on this file since 11593 was 11593, checked in by jkh, 15 years ago

The disposition of the dlopen() and poll() routines has evolved over 3 releases. Properly
conditionalize usage of this in the ports that need it to ensure that builds on Jaguar, Panther
and Tiger all work.

  • Property svn:eol-style set to native
File size: 1.4 KB
Line 
1# $Id: Portfile,v 1.11 2005/04/04 10:08:37 jkh Exp $
2
3PortSystem      1.0
4name            swi-prolog-devel
5version         5.5.11
6
7categories      lang
8maintainers     pmoura@mac.com
9platforms       darwin
10description     SWI-Prolog compiler plus extra packages (development version)
11
12long_description        \
13                ISO/Edinburgh-style Prolog compiler including modules,          \
14                autoload, libraries, Garbage-collector, stack-expandor,         \
15                C/C++-interface, Multiple threads, GNU-readline interface,      \
16                very fast compiler. Including packages clib (Unix process       \
17                control, sockets, MIME), cpp (C++ interface), sgml (reading \
18                XML/SGML), sgml/RDF (reading RDF into triples), ODBC            \
19                interface and XPCE (Graphics UI toolkit, integrated editor      \
20                (Emacs-clone) and graphical debugger).
21
22homepage        http://www.swi-prolog.org/
23master_sites    http://gollem.science.uva.nl/cgi-bin/nph-download/SWI-Prolog/BETA/
24
25checksums       md5     7bd3612425c9834e587f0fabfa29fb2c
26
27depends_lib     lib:libreadline.5:readline      \
28                lib:libjpeg.62:jpeg             \
29                lib:libmcrypt.4:libmcrypt       \
30                lib:libX11.6:XFree86
31
32platform darwin 6 { depends_lib-append lib:libdl:dlcompat }
33
34distname        pl-${version}
35
36configure.env   LDFLAGS=-L${prefix}/lib         \
37                CFLAGS=-I${prefix}/include      \
38                CPPFLAGS=-I${prefix}/include    \
39                CIFLAGS=-I${prefix}/include
40
41configure.args  --prefix=${prefix}      \
42                --mandir=${prefix}/share/man \
43                --with-world
44
45default_variants +mt
46
47variant st      { configure.args-append --disable-mt}
48
49variant mt      { configure.args-append --enable-mt}
50
Note: See TracBrowser for help on using the repository browser.