Ticket #841: Portfile.2

File Portfile.2, 1.2 KB (added by pmoura@…, 21 years ago)

Updated portfile for SWI-Prolog 5.2.8

Line 
1# $Id: $
2
3PortSystem      1.0
4name            swi-prolog
5version         5.2.8
6
7categories      lang
8maintainers     pmoura@mac.com
9platforms       darwin
10description     SWI-Prolog compiler
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://www.swi.psy.uva.nl/cgi-bin/nph-download/SWI-Prolog
24
25checksums       md5     a7709a102778c24216b6fafb9724e019
26
27depends_lib     lib:libreadline.4.3:readline lib:libdl.1:dlcompat
28
29distname        pl-${version}
30worksrcdir      pl-${version}
31
32configure.env   LDFLAGS=-L${prefix}/lib         \
33                                CFLAGS=-I${prefix}/include      \
34                                CPPFLAGS=-I${prefix}/include\
35                                CIFLAGS=-I${prefix}/include
36
37configure.args  --prefix=${destroot}/${prefix}
38
39variant all {
40        depends_lib-append lib:libjpeg.62:jpeg lib:libX11.6:XFree86
41        configure.args-append --with-world }
42
43variant st {
44        configure.args-append --disable-mt }