source: trunk/dports/lang/swi-prolog-lite/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.23 2005/04/04 10:08:37 jkh Exp $
2
3PortSystem      1.0
4name            swi-prolog-lite
5version         5.4.7
6
7categories      lang
8maintainers     pmoura@mac.com
9platforms       darwin
10description     SWI-Prolog compiler (without extra packages)
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/
24
25checksums       md5     5c57c9a752bd3c6f56e4ae506ab23726       
26
27depends_lib     lib:libreadline.5:readline
28
29platform darwin 6 { depends_lib-append lib:libdl:dlcompat }
30
31distname        pl-${version}
32worksrcdir      pl-${version}/src
33
34configure.env   LDFLAGS=-L${prefix}/lib         \
35                CFLAGS=-I${prefix}/include      \
36                CPPFLAGS=-I${prefix}/include\
37                CIFLAGS=-I${prefix}/include
38
39configure.args  --prefix=${destroot}/${prefix} \
40                --mandir=${destroot}/${prefix}/share/man
41
42default_variants +mt
43
44variant st      { configure.args-append --disable-mt }
45
46variant mt      { configure.args-append --enable-mt }
47
Note: See TracBrowser for help on using the repository browser.