Opened 13 years ago

Closed 13 years ago

Last modified 11 years ago

#13257 closed enhancement (duplicate)

Updated portfile for SWI-Prolog 5.6.46

Reported by: pmoura (Paulo Moura) Owned by: ryandesign (Ryan Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.5.0
Keywords: Cc:


# $Id: Portfile 30587 2007-10-31 21:25:56Z ryandesign@… $

PortSystem 1.0 name swi-prolog version 5.6.46 epoch 20051223

categories lang maintainers wielemak@… pmoura@… platforms darwin description SWI-Prolog compiler plus extra packages (stable version)

long_description \

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 master_sites

checksums md5 b61740083d84fdf0ebf732697033ae29

depends_build port:gawk \


depends_lib \

port:readline \ lib:libreadline:readline \ lib:libncursesw:ncurses \ lib:libjpeg:jpeg \ lib:libmcrypt:libmcrypt \ lib:libX11.6:XFree86 \ lib:libgmp:gmp

platform darwin 6 { depends_lib-append lib:libdl:dlcompat }

distname pl-${version}

configure.env \

LIBRARY_PATH=/usr/lib:/usr/X11R6/lib:${prefix}/lib \ CPATH=/usr/include:/usr/X11R6/include:${prefix}/include \ JUNIT=${prefix}/share/java/junit.jar

configure.args --prefix=${prefix} \

--mandir=${prefix}/share/man \ --with-world

build.env \

LIBRARY_PATH=/usr/lib:/usr/X11R6/lib:${prefix}/lib \ CPATH=/usr/include:/usr/X11R6/include:${prefix}/include \ JUNIT=${prefix}/share/java/junit.jar

default_variants +mt

variant st { configure.args-append --disable-mt}

variant mt { configure.args-append --enable-mt}

post-build {

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/


post-pkg {

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


post-mpkg {

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


Change History (2)

comment:1 Changed 13 years ago by nox@…

Resolution: duplicate
Status: newclosed

comment:2 Changed 11 years ago by (none)

Milestone: Port Enhancements

Milestone Port Enhancements deleted

Note: See TracTickets for help on using tickets.