# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
conflicts swi-prolog swi-prolog-devel
maintainers {uva.nl:J.Wielemaker @JanWielemaker} {logtalk.org:pmoura @pmoura}
description SWI-Prolog compiler (without extra packages)
ISO/Edinburgh-style Prolog compiler including modules, \
autoload, libraries, Garbage-collector, stack-expandor, \
C/C++-interface, Multiple threads, GNU-readline interface, \
coroutining, constraint programming, global variables, \
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-prolog.org/download/stable/src
md5 faeb7ade8da9832f113e6748ba6cab03 \
sha1 f0bb08d00162165b23fe3372d0b1fd3967cfc311 \
rmd160 907ee5445b977167d5db508254675648f5d8633c
worksrcdir pl-${version}/src
LIBRARY_PATH=/usr/lib:${prefix}/lib \
CPATH=/usr/include:${prefix}/include
--mandir=${prefix}/share/man \
LIBRARY_PATH=/usr/lib:${prefix}/lib \
CPATH=/usr/include:${prefix}/include \
file mkdir ${workpath}/macosx
file copy -force -- ${workpath}/pl-${version}/man/macosx/License.html ${workpath}/macosx/
file copy -force -- ${workpath}/pl-${version}/man/macosx/macosx.html ${workpath}/macosx/
file copy -force -- ${workpath}/pl-${version}/man/macosx/Welcome.html ${workpath}/macosx/
set resources ${workpath}/${name}-${version}.pkg/Contents/Resources/
file copy -force -- ${workpath}/macosx/License.html ${resources}
file copy -force -- ${workpath}/macosx/macosx.html ${resources}
file copy -force -- ${workpath}/macosx/Welcome.html ${resources}
file rename ${resources}/macosx.html ${resources}/ReadMe.html
file delete -force -- ${resources}/Welcome.rtf
set resources ${workpath}/${name}-${version}.mpkg/Contents/Resources/
file copy -force -- ${workpath}/macosx/License.html ${resources}
file copy -force -- ${workpath}/macosx/macosx.html ${resources}
file copy -force -- ${workpath}/macosx/Welcome.html ${resources}
file rename ${resources}/macosx.html ${resources}/ReadMe.html
file delete -force -- ${resources}/Welcome.rtf
if {![variant_isset st]} {