# $Id: Portfile,v 1.8 2004/02/24 23:13:51 gwright Exp $ PortSystem 1.0 name swi-prolog version 5.2.13 revision 1 categories lang maintainers pmoura@mac.com platforms darwin description SWI-Prolog compiler long_description \ ISO/Edinburgh-style Prolog compiler including modules, \ autoload, libraries, Garbage-collector, stack-expandor, \ C/C++-interface, Multiple threads, GNU-readline interface, \ very fast compiler. Including packages clib (Unix process \ control, sockets, MIME), cpp (C++ interface), sgml (reading \ XML/SGML), sgml/RDF (reading RDF into triples), ODBC \ interface and XPCE (Graphics UI toolkit, integrated editor \ (Emacs-clone) and graphical debugger). homepage http://www.swi-prolog.org/ master_sites http://www.swi.psy.uva.nl/cgi-bin/nph-download/SWI-Prolog checksums md5 38122b7f4c3bc3961f7c58ae96b4d811 depends_lib lib:libreadline.4.3:readline platform darwin 6 { depends_lib-append lib:libdl:dlcompat } distname pl-${version} worksrcdir pl-${version} configure.env LDFLAGS=-L${prefix}/lib \ CFLAGS=-I${prefix}/include \ CPPFLAGS=-I${prefix}/include\ CIFLAGS=-I${prefix}/include configure.args --prefix=${destroot}/${prefix} \ --mandir=${destroot}/${prefix}/share/man variant packages { depends_lib-append lib:libjpeg.62:jpeg lib:libX11.6:XFree86 configure.args-append --with-world } variant st { configure.args-append --disable-mt } pre-fetch { if { [variant_isset packages] } { ui_msg "*************************************************************" ui_msg "* If you use the +packages variant, you must build *" ui_msg "* SWI-Prolog using the command line interface in an *" ui_msg "* xterm (or have the DISPLAY environment variable set *" ui_msg "* and be running an X server). This is because the *" ui_msg "* configuration process tries to connect to the X server. *" ui_msg "* Needless to say, this precludes building a binary *" ui_msg "* package that uses the +packages variant. *" ui_msg "*************************************************************" } }