maintainers {logtalk.org:pmoura @pmoura}
description GNU Prolog compiler
GNU Prolog is a free Prolog compiler with constraint \
solving over finite domains developed by Daniel Diaz. \
GNU Prolog accepts Prolog+constraint programs and \
produces native binaries (like gcc does from a C \
source). The obtained executable is then stand-alone. \
The size of this executable can be quite small since \
GNU Prolog can avoid linking the code of most unused \
built-in predicates. The performance of GNU Prolog is \
very encouraging (comparable to commercial systems). \
Beside native-code compilation, GNU Prolog offers a \
classical interactive interpreter (top-level) with a \
homepage http://gprolog.inria.fr/
master_sites http://www.gprolog.org/
rmd160 781c8fcffa180e63b821689589f5b02ab803135c \
sha256 bfdcf00e051e0628b4f9af9d6638d4fde6ad793401e58a5619d1cc6105618c7c \
worksrcdir ${name}-${version}/src
--prefix=${destroot}${prefix} \
--with-install-dir=${prefix}/lib/${name}-${version} \
--with-examples-dir=${prefix}/share/${name}-${version} \
--with-doc-dir=${prefix}/share/${name}-${version}
foreach cmd {fd2c gplc gprolog hexgplc ma2asm pl2wam wam2ma} {
system "ln -fs ../lib/${name}-${version}/bin/${cmd} ${destroot}${prefix}/bin/${cmd}"
file delete -force ${destroot}${prefix}/var
set resources ${workpath}/${name}-${version}.pkg/Contents/Resources/
file copy -force -- ${workpath}/${name}-${version}/COPYING ${resources}/License.txt
file copy -force -- ${workpath}/${name}-${version}/README ${resources}/ReadMe.txt