Skip to content

Commit

Permalink
Version bump to 5.6.0. Thanks to Jan Wielemaker!
Browse files Browse the repository at this point in the history
Bug:
Submitted by:
Reviewed by:
Approved by:
Obtained from:

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@15637 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Gregory Wright committed Dec 29, 2005
1 parent 3867914 commit 559b212
Showing 1 changed file with 27 additions and 35 deletions.
62 changes: 27 additions & 35 deletions lang/swi-prolog/Portfile
@@ -1,64 +1,56 @@
# $Id: Portfile,v 1.17 2005/04/04 10:08:37 jkh Exp $
# $Id: Portfile,v 1.18 2005/12/29 21:54:05 gwright Exp $

PortSystem 1.0
PortSystem 1.0
name swi-prolog
version 5.4.7
version 5.6.0
epoch 20051223

categories lang
maintainers pmoura@mac.com
maintainers wielemak@science.uva.nl
platforms darwin
description SWI-Prolog compiler plus extra packages
description SWI-Prolog compiler plus extra packages (stable version)

long_description \
ISO/Edinburgh-style Prolog compiler including modules, \
ISO/Edinburgh-style Prolog compiler including modules, \
autoload, libraries, Garbage-collector, stack-expandor, \
C/C++-interface, Multiple threads, GNU-readline interface, \
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 \
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://gollem.science.uva.nl/cgi-bin/nph-download/SWI-Prolog/

checksums md5 5c57c9a752bd3c6f56e4ae506ab23726
checksums md5 ffc656404053b29f34a249fcd44b3807

depends_lib lib:libreadline.5:readline \
lib:libjpeg.62:jpeg \
lib:libmcrypt.4:libmcrypt \
lib:libX11.6:XFree86
depends_lib \
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}
worksrcdir pl-${version}/packages

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 \
--without-jpl
configure.args --prefix=${prefix} \
--mandir=${prefix}/share/man \
--with-world

post-extract {
if {[variant_isset mt]} {
system "\
cd ${workpath}/${distname}/src && \
LDFLAGS=-L${prefix}/lib CFLAGS=-I${prefix}/include CPPFLAGS=-I${prefix}/include CIFLAGS=-I${prefix}/include \
./configure --prefix=${destroot}/${prefix} --mandir=${destroot}/${prefix}/share/man --enable-mt && \
make && make install"
}
if {[variant_isset st]} {
system "\
cd ${workpath}/${distname}/src && \
LDFLAGS=-L${prefix}/lib CFLAGS=-I${prefix}/include CPPFLAGS=-I${prefix}/include CIFLAGS=-I${prefix}/include \
./configure --prefix=${destroot}/${prefix} --mandir=${destroot}/${prefix}/share/man --disable-mt && \
make && make install"
}
}
build.env LDFLAGS=-L${prefix}/lib \
CFLAGS=-I${prefix}/include \
CPPFLAGS=-I${prefix}/include \
CIFLAGS=-I${prefix}/include

default_variants +mt

Expand Down

0 comments on commit 559b212

Please sign in to comment.