diff options
author | Keri Harris <keri@gentoo.org> | 2006-06-14 10:10:24 +0000 |
---|---|---|
committer | Keri Harris <keri@gentoo.org> | 2006-06-14 10:10:24 +0000 |
commit | 8c89a28400bc6774f8479c5392a5e82aec37330a (patch) | |
tree | 8d4459f77fbd9a92e8f4533c6543d4d5d72e0fdf /dev-lang/swi-prolog | |
parent | Add src_test support for default libgrade. (diff) | |
download | gentoo-2-8c89a28400bc6774f8479c5392a5e82aec37330a.tar.gz gentoo-2-8c89a28400bc6774f8479c5392a5e82aec37330a.tar.bz2 gentoo-2-8c89a28400bc6774f8479c5392a5e82aec37330a.zip |
Version bump.
(Portage version: 2.1)
Diffstat (limited to 'dev-lang/swi-prolog')
-rw-r--r-- | dev-lang/swi-prolog/ChangeLog | 8 | ||||
-rw-r--r-- | dev-lang/swi-prolog/files/digest-swi-prolog-5.6.14 | 3 | ||||
-rw-r--r-- | dev-lang/swi-prolog/swi-prolog-5.6.13.ebuild | 4 | ||||
-rw-r--r-- | dev-lang/swi-prolog/swi-prolog-5.6.14.ebuild | 140 |
4 files changed, 152 insertions, 3 deletions
diff --git a/dev-lang/swi-prolog/ChangeLog b/dev-lang/swi-prolog/ChangeLog index a52b983c4f8a..02e576bcd3aa 100644 --- a/dev-lang/swi-prolog/ChangeLog +++ b/dev-lang/swi-prolog/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-lang/swi-prolog # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/ChangeLog,v 1.15 2006/06/11 18:16:34 grobian Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/ChangeLog,v 1.16 2006/06/14 10:10:24 keri Exp $ + +*swi-prolog-5.6.14 (14 Jun 2006) + + 14 Jun 2006; Keri Harris <keri@gentoo.org> swi-prolog-5.6.13.ebuild, + +swi-prolog-5.6.14.ebuild: + Version bump. 11 Jun 2006; Fabian Groffen <grobian@gentoo.org> swi-prolog-5.6.12.ebuild: Marked ~ppc-macos (bug #135585) diff --git a/dev-lang/swi-prolog/files/digest-swi-prolog-5.6.14 b/dev-lang/swi-prolog/files/digest-swi-prolog-5.6.14 new file mode 100644 index 000000000000..ab6121e7fe32 --- /dev/null +++ b/dev-lang/swi-prolog/files/digest-swi-prolog-5.6.14 @@ -0,0 +1,3 @@ +MD5 113be208737f4ce31286318d621c7dcd pl-5.6.14.tar.gz 10627249 +RMD160 ff2ee973e84b78bb1114655592cb8ce6dc1cdad8 pl-5.6.14.tar.gz 10627249 +SHA256 4a55a8a5f006e59bbbb144861c099acf1e024b1cb41753aed9cff9966337e819 pl-5.6.14.tar.gz 10627249 diff --git a/dev-lang/swi-prolog/swi-prolog-5.6.13.ebuild b/dev-lang/swi-prolog/swi-prolog-5.6.13.ebuild index ff3a7cacc217..5f981b6bcbb2 100644 --- a/dev-lang/swi-prolog/swi-prolog-5.6.13.ebuild +++ b/dev-lang/swi-prolog/swi-prolog-5.6.13.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/swi-prolog-5.6.13.ebuild,v 1.1 2006/06/08 11:04:22 keri Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/swi-prolog-5.6.13.ebuild,v 1.2 2006/06/14 10:10:24 keri Exp $ inherit autotools eutils flag-o-matic @@ -10,7 +10,7 @@ SRC_URI="http://gollem.science.uva.nl/cgi-bin/nph-download/SWI-Prolog/pl-${PV}.t LICENSE="LGPL-2.1" SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86" +KEYWORDS="~amd64 ~ppc ~ppc-macos ~x86" IUSE="berkdb doc gmp java minimal odbc readline ssl static tetex threads X" DEPEND="!dev-lang/swi-prolog-lite diff --git a/dev-lang/swi-prolog/swi-prolog-5.6.14.ebuild b/dev-lang/swi-prolog/swi-prolog-5.6.14.ebuild new file mode 100644 index 000000000000..77a53e0b6b7a --- /dev/null +++ b/dev-lang/swi-prolog/swi-prolog-5.6.14.ebuild @@ -0,0 +1,140 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/swi-prolog-5.6.14.ebuild,v 1.1 2006/06/14 10:10:24 keri Exp $ + +inherit autotools eutils flag-o-matic + +DESCRIPTION="free, small, and standard compliant Prolog compiler" +HOMEPAGE="http://www.swi-prolog.org/" +SRC_URI="http://gollem.science.uva.nl/cgi-bin/nph-download/SWI-Prolog/pl-${PV}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc-macos ~x86" +IUSE="berkdb doc gmp java minimal odbc readline ssl static tetex threads X" + +DEPEND="!dev-lang/swi-prolog-lite + sys-libs/ncurses + odbc? ( dev-db/unixODBC ) + berkdb? ( sys-libs/db ) + readline? ( sys-libs/readline ) + gmp? ( dev-libs/gmp ) + ssl? ( dev-libs/openssl ) + java? ( virtual/jdk ) + X? ( media-libs/jpeg + || ( ( + x11-libs/libX11 + x11-libs/libXft + x11-libs/libXpm + x11-libs/libXt + x11-libs/libICE + x11-libs/libSM + x11-proto/xproto ) + virtual/x11 ) )" + +S="${WORKDIR}/pl-${PV}" + +src_unpack() { + unpack ${A} + cd "${S}" + + sed -i -e "s/man boot library/boot library/" src/Makefile.in + epatch "${FILESDIR}"/${PN}-CFLAGS.patch + epatch "${FILESDIR}"/${PN}-PLBASE.patch + epatch "${FILESDIR}"/${PN}-test.patch + + if ! use minimal ; then + epatch "${FILESDIR}"/${PN}-packages-portage.patch + epatch "${FILESDIR}"/${PN}-packages-cppproxy.patch + epatch "${FILESDIR}"/${PN}-packages-db-db4.patch + epatch "${FILESDIR}"/${PN}-packages-jpl-arch.patch + epatch "${FILESDIR}"/${PN}-packages-ltx2htm.patch + epatch "${FILESDIR}"/${PN}-packages-test-r1.patch + fi +} + +src_compile() { + append-flags -fno-strict-aliasing + + einfo "Building SWI-Prolog compiler" + + local threadconf + if use java && ! use minimal || use threads ; then + threadconf="--enable-mt" + else + threadconf="--disable-mt" + fi + + cd "${S}"/src + econf \ + --libdir=/usr/$(get_libdir) \ + ${threadconf} \ + $(use_enable gmp) \ + $(use_enable readline) \ + $(use_enable !static shared) \ + --disable-custom-flags \ + || die "econf failed" + emake -j1 || die "emake failed" + + if ! use minimal ; then + einfo "Building SWI-Prolog additional packages" + + for package in clib cppproxy db jpl ltx2htm nlp odbc semweb sgml ssl table xpce/src + do + cd "${S}/packages/${package}" + eautoreconf + done + + cd "${S}/packages" + econf \ + --libdir=/usr/$(get_libdir) \ + ${threadconf} \ + $(use_enable !static shared) \ + --without-C-sicstus \ + --with-chr \ + --with-clib \ + --with-clpqr \ + --with-cpp \ + --with-cppproxy \ + $(use_with berkdb db) \ + --with-http \ + --without-jasmine \ + $(use_with java jpl) \ + $(use_with tetex ltx2htm) \ + --with-nlp \ + $(use_with odbc) \ + --with-semweb \ + --with-sgml \ + --with-sgml/RDF \ + $(use_with ssl) \ + --with-table \ + $(use_with X xpce) \ + || die "packages econf failed" + + emake -j1 || die "packages emake failed" + fi +} + +src_install() { + make -C src DESTDIR="${D}" install || die "install src failed" + + if ! use minimal ; then + make -C packages DESTDIR="${D}" install || die "install packages failed" + if use doc ; then + make -C packages DESTDIR="${D}" html-install || die "html-install failed" + make -C packages/cppproxy DESTDIR="${D}" install-examples || die "install-examples failed" + fi + fi + + dodoc ANNOUNCE ChangeLog INSTALL INSTALL.notes PORTING README README.GUI VERSION +} + +src_test() { + cd "${S}/src" + make check || die "make check failed. See above for details." + + if ! use minimal ; then + cd "${S}/packages" + make check || die "make check failed. See above for details." + fi +} |