summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-lang/swi-prolog/ChangeLog9
-rw-r--r--dev-lang/swi-prolog/Manifest36
-rw-r--r--dev-lang/swi-prolog/swi-prolog-5.6.64.ebuild131
-rw-r--r--dev-lang/swi-prolog/swi-prolog-5.8.0.ebuild131
-rw-r--r--dev-lang/swi-prolog/swi-prolog-5.8.1.ebuild131
-rw-r--r--dev-lang/swi-prolog/swi-prolog-5.8.2.ebuild131
-rw-r--r--dev-lang/swi-prolog/swi-prolog-5.9.10.ebuild135
-rw-r--r--dev-lang/swi-prolog/swi-prolog-5.9.11.ebuild137
-rw-r--r--dev-lang/swi-prolog/swi-prolog-5.9.7.ebuild131
-rw-r--r--dev-lang/swi-prolog/swi-prolog-5.9.9.ebuild135
10 files changed, 9 insertions, 1098 deletions
diff --git a/dev-lang/swi-prolog/ChangeLog b/dev-lang/swi-prolog/ChangeLog
index 2b21df481be6..07ece013259f 100644
--- a/dev-lang/swi-prolog/ChangeLog
+++ b/dev-lang/swi-prolog/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-lang/swi-prolog
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/ChangeLog,v 1.223 2010/05/26 18:14:19 pacho Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/ChangeLog,v 1.224 2010/05/27 07:39:18 keri Exp $
+
+ 27 May 2010; <keri@gentoo.org> -swi-prolog-5.6.64.ebuild,
+ -swi-prolog-5.8.0.ebuild, -swi-prolog-5.8.1.ebuild,
+ -swi-prolog-5.8.2.ebuild, -swi-prolog-5.9.7.ebuild,
+ -swi-prolog-5.9.9.ebuild, -swi-prolog-5.9.10.ebuild,
+ -swi-prolog-5.9.11.ebuild:
+ Remove old versions
26 May 2010; Pacho Ramos <pacho@gentoo.org> swi-prolog-5.8.3.ebuild:
stable amd64, bug 305963
diff --git a/dev-lang/swi-prolog/Manifest b/dev-lang/swi-prolog/Manifest
index dee53f921594..7e27d3f7fb6c 100644
--- a/dev-lang/swi-prolog/Manifest
+++ b/dev-lang/swi-prolog/Manifest
@@ -1,48 +1,14 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
DIST pl-5.10.0.tar.gz 12722848 RMD160 50f44fed83d55462574420e78bd48530efc1929c SHA1 0115ec399b59848879e9053fbefeec209477f7c7 SHA256 fa744ed9cb433dc2a02878bc6db1740d36698605b2205505a00a32651da2fe8e
DIST pl-5.11.0.tar.gz 12882832 RMD160 0075c16c82b3c4f0ff37de0b5ca5e7061bfecad5 SHA1 be355025bfcbf19f58e652973695506b49c1160d SHA256 41710e5d7d1ab115a6c9b79b12062a783bb6b72aff7085fd5adec6f7ba3e6c12
DIST pl-5.11.1.tar.gz 12883406 RMD160 1d766be8dea63e880bd9888944014514bdce4523 SHA1 e5f0d6739e705cc1e695f97a25af040d81987c76 SHA256 50644f28a8a3fe52f9d3e551390b0b5a5e3fe70aedbdad72edbff9be10c24be5
-DIST pl-5.6.64.tar.gz 12019903 RMD160 cb7877456163762c91f118e81f43ce188c2aa38d SHA1 7fd5a27fef1d94644d7d2ea255a414986b3a1d83 SHA256 b0e70c3c02b7753ed440359746e7729d21c93e42689c1f0f32b148167b1b2c66
-DIST pl-5.8.0.tar.gz 12695999 RMD160 b9128bee3957d3c75ae41f9898b5ba250b021e29 SHA1 76f52f6b79226985d09e2f5a42014477971f17f4 SHA256 8f2c46632d698cafe02dbacfb165830f8ef634845bc0547185c88f7769d3fb76
-DIST pl-5.8.1.tar.gz 12927688 RMD160 b79bc29d52f4add7a5a1c797d324a3be35738c69 SHA1 f3466d14cb791dfdb023020a982139a44fdb89d3 SHA256 1b267249edee85ad1379f74c57694f8b68500f85baab4316b60f2b28433356fe
-DIST pl-5.8.2.tar.gz 12934300 RMD160 e8b3a46c5498608e9b0407d4275f33f4987ef8d8 SHA1 1e2d98a7b9f5ffba6c34724c9757d46a662ff4c5 SHA256 09b5407300859e3d99f066ae9acf559a59db0107502027b37cadaeb26e7a3ee4
DIST pl-5.8.3.tar.gz 12954831 RMD160 907ee5445b977167d5db508254675648f5d8633c SHA1 f0bb08d00162165b23fe3372d0b1fd3967cfc311 SHA256 0e7e523f0d83f39a9cf8bb128a776767b48318047894e08168172fcae532fc83
-DIST pl-5.9.10.tar.gz 13152579 RMD160 cf1ebbb457d1b00c9a05b6378ffc7fb44f396e5f SHA1 38c2bdfb8b9c1d1e7fa4ca4f13881567bcb6ffc7 SHA256 29fc72f6faec0dc48fd81b5b52cec4b99765c5181a628c820d4b0633b204c8cd
-DIST pl-5.9.11.tar.gz 12872326 RMD160 5d73db8f296606085d88f34d8f829ecfb8b66cbf SHA1 1cab42c9834704ffabecb772b76e507d1031eeb2 SHA256 1f69b152aacb7c19bec15a46578dcd91a6756afeb0f15041c1a3937d67fd18a7
-DIST pl-5.9.7.tar.gz 13077112 RMD160 720637581faa4c3bf1a96340956ec220de845db0 SHA1 50d163bb2a24f83d1ee7811434f31266e2aaf44e SHA256 e43246dfa2dcf0b5846f5ca30d71c2d96b01994182c4011e31ce797369a0c255
-DIST pl-5.9.9.tar.gz 13068939 RMD160 aa11fefa29d32d16a2ae044a29bd9f0e277fb90b SHA1 a1130741f5dbf28891af3900cf260a5cc1a366b4 SHA256 6853e7b99a819169523701bcef93441d6dfa58a2456377b4281d2e9238fd053b
DIST swi-prolog-5.10.0-gentoo-patchset-1.tar.gz 5162 RMD160 8925ef82600e8b35b332de54b384135b10b9d516 SHA1 5560a9b81ea9094c77607c55ecd42c9e7a6f36b3 SHA256 aa0dc886bb10e947b1754fc7553010696262f3847e3d1949081c7c1953e28888
DIST swi-prolog-5.11.0-gentoo-patchset-0.tar.gz 5044 RMD160 ff53d618553f47d1dc02c5743a5dbecace1a8282 SHA1 2f5e13f8c2684d77ae98b8c7a53c3239b5adced8 SHA256 0dc264aa0234ca9005b610dee98be68fcfb54f12fe1b182722a5e1547140c261
DIST swi-prolog-5.11.1-gentoo-patchset-2.tar.gz 5283 RMD160 8a44ed1cbe8fa3e8f78b1813186610b686d7c6ae SHA1 08e958e0bc9a7769007813fbf3b34517b3f4085b SHA256 6e968d1ed6631e0cdaa43de12d8b2d5e8ed8cb1779b6aa3852c79419baddff8c
-DIST swi-prolog-5.6.64-gentoo-patchset-6.tar.gz 7850 RMD160 f058fb68ce6257c17fbc548ca4433f098cddf713 SHA1 abf8f65384ee3a22b106e715d0e5b36f816fb85d SHA256 13cc18babc25fc1cdf4e6997612364cefa8d008784591d27346a836724eda6b2
-DIST swi-prolog-5.8.0-gentoo-patchset-0.tar.gz 4661 RMD160 64fd0ac16538edbfd2b584e0cdebb5b50cb9ea6e SHA1 67bd477773b09be243e55aaf1cf8c9877ff448a6 SHA256 7f5330775be2df33b0c613900010e902105855f93a2e312545091696f1ea71dc
-DIST swi-prolog-5.8.1-gentoo-patchset-0.tar.gz 4660 RMD160 20d996800cece05755af6e95fde38117fdc66914 SHA1 69895c694e0e04785a428cf88d59491394d70554 SHA256 63a52add24ca6237749d44ecb8c231d70fb1ec2f6e798080cb03f538961784f6
-DIST swi-prolog-5.8.2-gentoo-patchset-0.tar.gz 4660 RMD160 681eb92a3703792149ed7f25d75222453099ae16 SHA1 64ba73f275cd2fc02289fb935f7eb4eecdd06138 SHA256 3b28f7442a234bc7b218e73d754929087068097440fe75d8d29eae07c8dca3b4
DIST swi-prolog-5.8.3-gentoo-patchset-6.tar.gz 8841 RMD160 8f114336d495fb4943f822c9f1ab72b7bff054eb SHA1 fdde22cf1021452382f8ea348b52e99657d7012e SHA256 faf451aa660a33b5c81d458dd0fd5b63eb008451aecc05ef3a34bc7168744c61
-DIST swi-prolog-5.9.10-gentoo-patchset-0.tar.gz 5042 RMD160 b52cd4abd6585fafb0e8e419af04fa315ec0cf9a SHA1 4417972da27decdf1d0f9b8d03a9cdab6b8ebd33 SHA256 d4282abb0f763fd33402744d8910538609f73f5aa82b7dabb81a829209e2006d
-DIST swi-prolog-5.9.11-gentoo-patchset-0.tar.gz 5051 RMD160 38cfee8daa3de7b65b3c18f21babec40a5ff22b8 SHA1 e92c1028fbe6bd6c80372cc7ead6e042cf91f416 SHA256 235588c4a6e66d4d801ede2e922b65ab28b328987f73a815fb6ad55820f5c769
-DIST swi-prolog-5.9.7-gentoo-patchset-2.tar.gz 5056 RMD160 17ebd1a48c4727d3e5b07912c0e7b4a63fd6ee65 SHA1 9e0a4dce5fc3dbd697b877b3142c706fe1749838 SHA256 804d081acbe614df284e9c93349bcdfc94305eaece467f287a0d5e25a4fd954f
-DIST swi-prolog-5.9.9-gentoo-patchset-1.tar.gz 5012 RMD160 4b1cfe614319e296fb779962556aaa4f2bf0d892 SHA1 5192e21ce19ab3acb88cdeca35a77129cc9f1b9d SHA256 6264e5be14601a80db0081f1cd3922b82ae9c4e90f5f9f4f331554afee042f6e
EBUILD swi-prolog-5.10.0.ebuild 3311 RMD160 d740f747aa1c0679d84900f87506244379f5048f SHA1 654ad3e9a91dc85f7ce558abcf534cc6503d50dc SHA256 916cc5a3cefa8d98c26205f2d9793e16d475f8aa56ec7c8c2f3011b461243493
EBUILD swi-prolog-5.11.0.ebuild 3332 RMD160 f87d1fbbcee01f1d844be634adae464e8a82e11d SHA1 5ae784a88016b5527e068187f570b941a38e7f81 SHA256 d4540d0b32ea16dc5f708130418b51cbf35995ad09b20b68b442f10dad7dba55
EBUILD swi-prolog-5.11.1.ebuild 3332 RMD160 268dbdf2978f2e823e7b546a4fc527d716edb6d1 SHA1 2ebd90f8cfea2191bcac92a2fd4b917ba9f21bd0 SHA256 78c3bef5034cef6bcdc8178a403565643d265bcec45790eee9bb087acad4d449
-EBUILD swi-prolog-5.6.64.ebuild 3139 RMD160 2f2918b0da31f580f8e89f88b5247874cad3b29d SHA1 feb8faacc45a779ccca275bafe5d8d7f37080b41 SHA256 7aaf48352d8ce7d5ad4c79e8bd0a1cb08145a97fc7bae623f482399802c16dac
-EBUILD swi-prolog-5.8.0.ebuild 3142 RMD160 37559de00ac40f97a64042647b4a53e1a71dd72c SHA1 6183f49e1a2e7018d8e2128587fad513c6e19903 SHA256 f7857959048a0a53c959ab7c779ae7eaa806430464079293e60214c87b886d19
-EBUILD swi-prolog-5.8.1.ebuild 3142 RMD160 816ba98c88f4bbee1c7898cca7cde680d585faec SHA1 f901e6586b1dd5075ac104f635b22429aca17136 SHA256 9ae6e1730c8824d4fae8fe461802bde9d99091b2b31196d403539ad3ecd0b383
-EBUILD swi-prolog-5.8.2.ebuild 3142 RMD160 134c9d6442fd2bda30cb832ca9cb262329081f20 SHA1 0d18470c3c921daa4c3cfed80a6fc8c52307621c SHA256 a529a9d29efc70c4a69c2fd966e43669e63f08b3dcf79a0b997799cb205cadde
EBUILD swi-prolog-5.8.3.ebuild 3148 RMD160 b6f938c79bd4d47465be9cb9150645b455cc0efa SHA1 ccf9dfce1a3ad2f1d03bf3aadfac27be12280759 SHA256 d249b9e955b43601576807051939078ce9097cf0289ef8afe60391c12eef5615
-EBUILD swi-prolog-5.9.10.ebuild 3279 RMD160 f4e084d77326eb27036fc6875531be92fdff0c83 SHA1 fc69d01ffe51191e3b8f3f079d01702b0ee943fa SHA256 c14213af05c1d88893a2a7ed9c528ff210edb17f96f47a8c7b21f01de4834af1
-EBUILD swi-prolog-5.9.11.ebuild 3310 RMD160 2f2257ce1a574731d52bafd4b0d107d137d19395 SHA1 d5ad6a7acf4e88e6ff1692e8e28a949abe0e11fc SHA256 4c1973f1f3c049898bafaa27d618591c5027ecf4133045215a42337c3a4fe2c3
-EBUILD swi-prolog-5.9.7.ebuild 3150 RMD160 1af6665c0e5a83947026a6d29e1f3ec96d5bb3a9 SHA1 d3d2725c67d66d357fa033b3bda9c2e2df2eb434 SHA256 be14337e8093736865b8f0560b4e73d08e86311feed504e5336fee9083eac1df
-EBUILD swi-prolog-5.9.9.ebuild 3278 RMD160 766c1ccc612b2adf338ee526974c45e36e223369 SHA1 85921300c18656464eafd5cebcfabc57c9b17f70 SHA256 2502e5c2733accfef52bdc460198324bd936c625f9d5b3ae6c652721fbc0192f
-MISC ChangeLog 35679 RMD160 68a1ebd03379609e1b9ec29d1e9a08391f9e1d56 SHA1 a15df9ec2207356b71cf1c622fff970888f59395 SHA256 0b22d4ace95247ac170b675c32968f398d36507d2e69ba9cbe16bce0f2bc7b1a
+MISC ChangeLog 35953 RMD160 ad65392edf31c0153e27e4e32634e87b916f9a2c SHA1 df1b120d689651f64054c580a0d81354eb71436a SHA256 a31a0ee20e1f3e1bb47123b81b38f7162e1bc3458f649b71aff32b7e803a88d5
MISC metadata.xml 159 RMD160 38d27fd1c5faabedefa5507dfd83cb4c952fbc8c SHA1 52b92682cf41e53e71bf432537a16215bd9546b1 SHA256 851bf218a4283a1d8ea6ef98af0119a40eaa78bfaaec49c2f3440437f52889ba
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.14 (GNU/Linux)
-
-iEYEARECAAYFAkv9ZQEACgkQCaWpQKGI+9RqCQCcC5SDGNfWTxM4Jx/XcyQ31rbP
-4dgAn3Jpz9MjVgqJe44utnfYgQYwmHE2
-=AD1t
------END PGP SIGNATURE-----
diff --git a/dev-lang/swi-prolog/swi-prolog-5.6.64.ebuild b/dev-lang/swi-prolog/swi-prolog-5.6.64.ebuild
deleted file mode 100644
index 2dee921455ae..000000000000
--- a/dev-lang/swi-prolog/swi-prolog-5.6.64.ebuild
+++ /dev/null
@@ -1,131 +0,0 @@
-# Copyright 1999-2009 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.64.ebuild,v 1.13 2009/05/26 18:45:22 keri Exp $
-
-inherit eutils flag-o-matic java-pkg-opt-2
-
-PATCHSET_VER="6"
-
-DESCRIPTION="free, small, and standard compliant Prolog compiler"
-HOMEPAGE="http://www.swi-prolog.org/"
-SRC_URI="http://www.swi-prolog.org/download/stable/src/pl-${PV}.tar.gz
- mirror://gentoo/${P}-gentoo-patchset-${PATCHSET_VER}.tar.gz"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="alpha amd64 ppc sparc x86"
-IUSE="berkdb debug doc gmp hardened java minimal odbc readline ssl static test zlib X"
-
-RDEPEND="!media-libs/ploticus
- sys-libs/ncurses
- zlib? ( sys-libs/zlib )
- odbc? ( dev-db/unixODBC )
- berkdb? ( sys-libs/db )
- readline? ( sys-libs/readline )
- gmp? ( dev-libs/gmp )
- ssl? ( dev-libs/openssl )
- java? ( >=virtual/jdk-1.4
- test? ( =dev-java/junit-3.8* ) )
- X? (
- media-libs/jpeg
- x11-libs/libX11
- x11-libs/libXft
- x11-libs/libXpm
- x11-libs/libXt
- x11-libs/libICE
- x11-libs/libSM )"
-
-DEPEND="${RDEPEND}
- X? ( x11-proto/xproto )"
-
-S="${WORKDIR}/pl-${PV}"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- EPATCH_FORCE=yes
- EPATCH_SUFFIX=patch
- epatch "${WORKDIR}"/${PV}
-}
-
-src_compile() {
- einfo "Building SWI-Prolog compiler"
-
- append-flags -fno-strict-aliasing
- use hardened && append-flags -fno-unit-at-a-time
- use debug && append-flags -DO_DEBUG
-
- cd "${S}"/src
- econf \
- --libdir=/usr/$(get_libdir) \
- $(use_enable gmp) \
- $(use_enable readline) \
- $(use_enable !static shared) \
- --enable-custom-flags COFLAGS="${CFLAGS}" \
- || die "econf failed"
- emake || die "emake failed"
-
- if ! use minimal ; then
- einfo "Building SWI-Prolog additional packages"
-
- local jpltestconf
- if use java && use test ; then
- jpltestconf="--with-junit=$(java-config --classpath junit)"
- fi
-
- cd "${S}/packages"
- econf \
- --libdir=/usr/$(get_libdir) \
- --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) \
- ${jpltestconf} \
- --with-nlp \
- $(use_with odbc) \
- --with-pldoc \
- --with-plunit \
- --with-semweb \
- --with-sgml \
- --with-sgml/RDF \
- $(use_with ssl) \
- --with-table \
- $(use_with X xpce) \
- $(use_with zlib) \
- COFLAGS='"${CFLAGS}"' \
- || die "packages econf failed"
-
- emake || die "packages emake failed"
- fi
-}
-
-src_install() {
- emake -C src DESTDIR="${D}" install || die "install src failed"
-
- if ! use minimal ; then
- emake -C packages DESTDIR="${D}" install || die "install packages failed"
- if use doc ; then
- emake -C packages DESTDIR="${D}" html-install || die "html-install failed"
- emake -C packages/cppproxy DESTDIR="${D}" install-examples || die "install-examples failed"
- fi
- fi
-
- dodoc ChangeLog INSTALL PORTING README VERSION
-}
-
-src_test() {
- cd "${S}/src"
- emake check || die "make check failed. See above for details."
-
- if ! use minimal ; then
- cd "${S}/packages"
- emake check || die "make check failed. See above for details."
- fi
-}
diff --git a/dev-lang/swi-prolog/swi-prolog-5.8.0.ebuild b/dev-lang/swi-prolog/swi-prolog-5.8.0.ebuild
deleted file mode 100644
index 0bd471286663..000000000000
--- a/dev-lang/swi-prolog/swi-prolog-5.8.0.ebuild
+++ /dev/null
@@ -1,131 +0,0 @@
-# Copyright 1999-2009 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.8.0.ebuild,v 1.1 2009/10/23 08:48:53 keri Exp $
-
-inherit eutils flag-o-matic java-pkg-opt-2
-
-PATCHSET_VER="0"
-
-DESCRIPTION="free, small, and standard compliant Prolog compiler"
-HOMEPAGE="http://www.swi-prolog.org/"
-SRC_URI="http://www.swi-prolog.org/download/stable/src/pl-${PV}.tar.gz
- mirror://gentoo/${P}-gentoo-patchset-${PATCHSET_VER}.tar.gz"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
-IUSE="berkdb debug doc gmp hardened java minimal odbc readline ssl static test zlib X"
-
-RDEPEND="!media-libs/ploticus
- sys-libs/ncurses
- zlib? ( sys-libs/zlib )
- odbc? ( dev-db/unixODBC )
- berkdb? ( sys-libs/db )
- readline? ( sys-libs/readline )
- gmp? ( dev-libs/gmp )
- ssl? ( dev-libs/openssl )
- java? ( >=virtual/jdk-1.4
- test? ( =dev-java/junit-3.8* ) )
- X? (
- media-libs/jpeg
- x11-libs/libX11
- x11-libs/libXft
- x11-libs/libXpm
- x11-libs/libXt
- x11-libs/libICE
- x11-libs/libSM )"
-
-DEPEND="${RDEPEND}
- X? ( x11-proto/xproto )"
-
-S="${WORKDIR}/pl-${PV}"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- EPATCH_FORCE=yes
- EPATCH_SUFFIX=patch
- epatch "${WORKDIR}"/${PV}
-}
-
-src_compile() {
- einfo "Building SWI-Prolog compiler"
-
- append-flags -fno-strict-aliasing
- use hardened && append-flags -fno-unit-at-a-time
- use debug && append-flags -DO_DEBUG
-
- cd "${S}"/src
- econf \
- --libdir=/usr/$(get_libdir) \
- $(use_enable gmp) \
- $(use_enable readline) \
- $(use_enable !static shared) \
- --enable-custom-flags COFLAGS="${CFLAGS}" \
- || die "econf failed"
- emake || die "emake failed"
-
- if ! use minimal ; then
- einfo "Building SWI-Prolog additional packages"
-
- local jpltestconf
- if use java && use test ; then
- jpltestconf="--with-junit=$(java-config --classpath junit)"
- fi
-
- cd "${S}/packages"
- econf \
- --libdir=/usr/$(get_libdir) \
- --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) \
- ${jpltestconf} \
- --with-nlp \
- $(use_with odbc) \
- --with-pldoc \
- --with-plunit \
- --with-semweb \
- --with-sgml \
- --with-sgml/RDF \
- $(use_with ssl) \
- --with-table \
- $(use_with X xpce) \
- $(use_with zlib) \
- COFLAGS='"${CFLAGS}"' \
- || die "packages econf failed"
-
- emake || die "packages emake failed"
- fi
-}
-
-src_install() {
- emake -C src DESTDIR="${D}" install || die "install src failed"
-
- if ! use minimal ; then
- emake -C packages DESTDIR="${D}" install || die "install packages failed"
- if use doc ; then
- emake -C packages DESTDIR="${D}" html-install || die "html-install failed"
- emake -C packages/cppproxy DESTDIR="${D}" install-examples || die "install-examples failed"
- fi
- fi
-
- dodoc ChangeLog INSTALL PORTING README VERSION
-}
-
-src_test() {
- cd "${S}/src"
- emake check || die "make check failed. See above for details."
-
- if ! use minimal ; then
- cd "${S}/packages"
- emake check || die "make check failed. See above for details."
- fi
-}
diff --git a/dev-lang/swi-prolog/swi-prolog-5.8.1.ebuild b/dev-lang/swi-prolog/swi-prolog-5.8.1.ebuild
deleted file mode 100644
index cf3049e2dc57..000000000000
--- a/dev-lang/swi-prolog/swi-prolog-5.8.1.ebuild
+++ /dev/null
@@ -1,131 +0,0 @@
-# Copyright 1999-2009 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.8.1.ebuild,v 1.1 2009/12/01 05:33:05 keri Exp $
-
-inherit eutils flag-o-matic java-pkg-opt-2
-
-PATCHSET_VER="0"
-
-DESCRIPTION="free, small, and standard compliant Prolog compiler"
-HOMEPAGE="http://www.swi-prolog.org/"
-SRC_URI="http://www.swi-prolog.org/download/stable/src/pl-${PV}.tar.gz
- mirror://gentoo/${P}-gentoo-patchset-${PATCHSET_VER}.tar.gz"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
-IUSE="berkdb debug doc gmp hardened java minimal odbc readline ssl static test zlib X"
-
-RDEPEND="!media-libs/ploticus
- sys-libs/ncurses
- zlib? ( sys-libs/zlib )
- odbc? ( dev-db/unixODBC )
- berkdb? ( sys-libs/db )
- readline? ( sys-libs/readline )
- gmp? ( dev-libs/gmp )
- ssl? ( dev-libs/openssl )
- java? ( >=virtual/jdk-1.4
- test? ( =dev-java/junit-3.8* ) )
- X? (
- media-libs/jpeg
- x11-libs/libX11
- x11-libs/libXft
- x11-libs/libXpm
- x11-libs/libXt
- x11-libs/libICE
- x11-libs/libSM )"
-
-DEPEND="${RDEPEND}
- X? ( x11-proto/xproto )"
-
-S="${WORKDIR}/pl-${PV}"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- EPATCH_FORCE=yes
- EPATCH_SUFFIX=patch
- epatch "${WORKDIR}"/${PV}
-}
-
-src_compile() {
- einfo "Building SWI-Prolog compiler"
-
- append-flags -fno-strict-aliasing
- use hardened && append-flags -fno-unit-at-a-time
- use debug && append-flags -DO_DEBUG
-
- cd "${S}"/src
- econf \
- --libdir=/usr/$(get_libdir) \
- $(use_enable gmp) \
- $(use_enable readline) \
- $(use_enable !static shared) \
- --enable-custom-flags COFLAGS="${CFLAGS}" \
- || die "econf failed"
- emake || die "emake failed"
-
- if ! use minimal ; then
- einfo "Building SWI-Prolog additional packages"
-
- local jpltestconf
- if use java && use test ; then
- jpltestconf="--with-junit=$(java-config --classpath junit)"
- fi
-
- cd "${S}/packages"
- econf \
- --libdir=/usr/$(get_libdir) \
- --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) \
- ${jpltestconf} \
- --with-nlp \
- $(use_with odbc) \
- --with-pldoc \
- --with-plunit \
- --with-semweb \
- --with-sgml \
- --with-sgml/RDF \
- $(use_with ssl) \
- --with-table \
- $(use_with X xpce) \
- $(use_with zlib) \
- COFLAGS='"${CFLAGS}"' \
- || die "packages econf failed"
-
- emake || die "packages emake failed"
- fi
-}
-
-src_install() {
- emake -C src DESTDIR="${D}" install || die "install src failed"
-
- if ! use minimal ; then
- emake -C packages DESTDIR="${D}" install || die "install packages failed"
- if use doc ; then
- emake -C packages DESTDIR="${D}" html-install || die "html-install failed"
- emake -C packages/cppproxy DESTDIR="${D}" install-examples || die "install-examples failed"
- fi
- fi
-
- dodoc ChangeLog INSTALL PORTING README VERSION
-}
-
-src_test() {
- cd "${S}/src"
- emake check || die "make check failed. See above for details."
-
- if ! use minimal ; then
- cd "${S}/packages"
- emake check || die "make check failed. See above for details."
- fi
-}
diff --git a/dev-lang/swi-prolog/swi-prolog-5.8.2.ebuild b/dev-lang/swi-prolog/swi-prolog-5.8.2.ebuild
deleted file mode 100644
index a4e70eb7b508..000000000000
--- a/dev-lang/swi-prolog/swi-prolog-5.8.2.ebuild
+++ /dev/null
@@ -1,131 +0,0 @@
-# Copyright 1999-2009 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.8.2.ebuild,v 1.1 2009/12/04 18:05:51 keri Exp $
-
-inherit eutils flag-o-matic java-pkg-opt-2
-
-PATCHSET_VER="0"
-
-DESCRIPTION="free, small, and standard compliant Prolog compiler"
-HOMEPAGE="http://www.swi-prolog.org/"
-SRC_URI="http://www.swi-prolog.org/download/stable/src/pl-${PV}.tar.gz
- mirror://gentoo/${P}-gentoo-patchset-${PATCHSET_VER}.tar.gz"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
-IUSE="berkdb debug doc gmp hardened java minimal odbc readline ssl static test zlib X"
-
-RDEPEND="!media-libs/ploticus
- sys-libs/ncurses
- zlib? ( sys-libs/zlib )
- odbc? ( dev-db/unixODBC )
- berkdb? ( sys-libs/db )
- readline? ( sys-libs/readline )
- gmp? ( dev-libs/gmp )
- ssl? ( dev-libs/openssl )
- java? ( >=virtual/jdk-1.4
- test? ( =dev-java/junit-3.8* ) )
- X? (
- media-libs/jpeg
- x11-libs/libX11
- x11-libs/libXft
- x11-libs/libXpm
- x11-libs/libXt
- x11-libs/libICE
- x11-libs/libSM )"
-
-DEPEND="${RDEPEND}
- X? ( x11-proto/xproto )"
-
-S="${WORKDIR}/pl-${PV}"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- EPATCH_FORCE=yes
- EPATCH_SUFFIX=patch
- epatch "${WORKDIR}"/${PV}
-}
-
-src_compile() {
- einfo "Building SWI-Prolog compiler"
-
- append-flags -fno-strict-aliasing
- use hardened && append-flags -fno-unit-at-a-time
- use debug && append-flags -DO_DEBUG
-
- cd "${S}"/src
- econf \
- --libdir=/usr/$(get_libdir) \
- $(use_enable gmp) \
- $(use_enable readline) \
- $(use_enable !static shared) \
- --enable-custom-flags COFLAGS="${CFLAGS}" \
- || die "econf failed"
- emake || die "emake failed"
-
- if ! use minimal ; then
- einfo "Building SWI-Prolog additional packages"
-
- local jpltestconf
- if use java && use test ; then
- jpltestconf="--with-junit=$(java-config --classpath junit)"
- fi
-
- cd "${S}/packages"
- econf \
- --libdir=/usr/$(get_libdir) \
- --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) \
- ${jpltestconf} \
- --with-nlp \
- $(use_with odbc) \
- --with-pldoc \
- --with-plunit \
- --with-semweb \
- --with-sgml \
- --with-sgml/RDF \
- $(use_with ssl) \
- --with-table \
- $(use_with X xpce) \
- $(use_with zlib) \
- COFLAGS='"${CFLAGS}"' \
- || die "packages econf failed"
-
- emake || die "packages emake failed"
- fi
-}
-
-src_install() {
- emake -C src DESTDIR="${D}" install || die "install src failed"
-
- if ! use minimal ; then
- emake -C packages DESTDIR="${D}" install || die "install packages failed"
- if use doc ; then
- emake -C packages DESTDIR="${D}" html-install || die "html-install failed"
- emake -C packages/cppproxy DESTDIR="${D}" install-examples || die "install-examples failed"
- fi
- fi
-
- dodoc ChangeLog INSTALL PORTING README VERSION
-}
-
-src_test() {
- cd "${S}/src"
- emake check || die "make check failed. See above for details."
-
- if ! use minimal ; then
- cd "${S}/packages"
- emake check || die "make check failed. See above for details."
- fi
-}
diff --git a/dev-lang/swi-prolog/swi-prolog-5.9.10.ebuild b/dev-lang/swi-prolog/swi-prolog-5.9.10.ebuild
deleted file mode 100644
index f0913dd261c4..000000000000
--- a/dev-lang/swi-prolog/swi-prolog-5.9.10.ebuild
+++ /dev/null
@@ -1,135 +0,0 @@
-# Copyright 1999-2010 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.9.10.ebuild,v 1.1 2010/03/18 07:58:40 keri Exp $
-
-inherit eutils flag-o-matic java-pkg-opt-2
-
-PATCHSET_VER="0"
-
-DESCRIPTION="free, small, and standard compliant Prolog compiler"
-HOMEPAGE="http://www.swi-prolog.org/"
-SRC_URI="http://www.swi-prolog.org/download/devel/src/pl-${PV}.tar.gz
- mirror://gentoo/${P}-gentoo-patchset-${PATCHSET_VER}.tar.gz"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
-IUSE="berkdb debug doc gmp hardened java minimal odbc readline ssl static test zlib X"
-
-RDEPEND="sys-libs/ncurses
- zlib? ( sys-libs/zlib )
- odbc? ( dev-db/unixODBC )
- berkdb? ( sys-libs/db )
- readline? ( sys-libs/readline )
- gmp? ( dev-libs/gmp )
- ssl? ( dev-libs/openssl )
- java? ( >=virtual/jdk-1.4 )
- X? (
- media-libs/jpeg
- x11-libs/libX11
- x11-libs/libXft
- x11-libs/libXpm
- x11-libs/libXt
- x11-libs/libICE
- x11-libs/libSM )"
-
-DEPEND="${RDEPEND}
- X? ( x11-proto/xproto )
- java? ( test? ( =dev-java/junit-3.8* ) )"
-
-S="${WORKDIR}/pl-${PV}"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- EPATCH_FORCE=yes
- EPATCH_SUFFIX=patch
- epatch "${WORKDIR}"/${PV}
-}
-
-src_compile() {
- append-flags -fno-strict-aliasing
- use hardened && append-flags -fno-unit-at-a-time
- use debug && append-flags -DO_DEBUG
-
- cd "${S}"/src
- econf \
- --libdir=/usr/$(get_libdir) \
- $(use_enable gmp) \
- $(use_enable readline) \
- $(use_enable !static shared) \
- --enable-custom-flags COFLAGS="${CFLAGS}" \
- || die "econf failed"
- emake || die "emake failed"
-
- if ! use minimal ; then
- local jpltestconf
- if use java && use test ; then
- jpltestconf="--with-junit=$(java-config --classpath junit)"
- fi
-
- cd "${S}/packages"
- econf \
- --libdir=/usr/$(get_libdir) \
- --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) \
- ${jpltestconf} \
- --with-nlp \
- $(use_with odbc) \
- --with-pldoc \
- --with-plunit \
- --with-RDF \
- --with-semweb \
- --with-sgml \
- $(use_with ssl) \
- --with-table \
- $(use_with X xpce) \
- $(use_with zlib) \
- COFLAGS='"${CFLAGS}"' \
- || die "packages econf failed"
-
- emake || die "packages emake failed"
- fi
-}
-
-src_install() {
- emake -C src DESTDIR="${D}" install || die "install src failed"
-
- if ! use minimal ; then
- emake -C packages DESTDIR="${D}" install || die "install packages failed"
- if use doc ; then
- emake -C packages DESTDIR="${D}" html-install || die "html-install failed"
- emake -C packages/cppproxy DESTDIR="${D}" install-examples || die "install-examples failed"
- fi
- fi
-
- dodoc ChangeLog INSTALL PORTING README VERSION
-}
-
-src_test() {
- cd "${S}/src"
- emake check || die "make check failed. See above for details."
-
- if ! use minimal ; then
- cd "${S}/packages"
- emake check || die "make check failed. See above for details."
- fi
-}
-
-pkg_postinst() {
- einfo "Please note that the following binaries have been renamed"
- einfo "from earlier versions:"
- einfo " pl -> swipl"
- einfo " plld -> swipl-ld"
- einfo " plrc -> swipl-rc"
- einfo " xpce -> <deleted>"
-}
diff --git a/dev-lang/swi-prolog/swi-prolog-5.9.11.ebuild b/dev-lang/swi-prolog/swi-prolog-5.9.11.ebuild
deleted file mode 100644
index 4c2f9762ad24..000000000000
--- a/dev-lang/swi-prolog/swi-prolog-5.9.11.ebuild
+++ /dev/null
@@ -1,137 +0,0 @@
-# Copyright 1999-2010 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.9.11.ebuild,v 1.1 2010/04/21 07:06:23 keri Exp $
-
-inherit eutils flag-o-matic java-pkg-opt-2
-
-PATCHSET_VER="0"
-
-DESCRIPTION="free, small, and standard compliant Prolog compiler"
-HOMEPAGE="http://www.swi-prolog.org/"
-SRC_URI="http://www.swi-prolog.org/download/devel/src/pl-${PV}.tar.gz
- mirror://gentoo/${P}-gentoo-patchset-${PATCHSET_VER}.tar.gz"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
-IUSE="berkdb debug doc gmp hardened java minimal odbc readline ssl static test zlib X"
-
-RDEPEND="sys-libs/ncurses
- zlib? ( sys-libs/zlib )
- odbc? ( dev-db/unixODBC )
- berkdb? ( sys-libs/db )
- readline? ( sys-libs/readline )
- gmp? ( dev-libs/gmp )
- ssl? ( dev-libs/openssl )
- java? ( >=virtual/jdk-1.4 )
- X? (
- media-libs/jpeg
- x11-libs/libX11
- x11-libs/libXft
- x11-libs/libXpm
- x11-libs/libXt
- x11-libs/libICE
- x11-libs/libSM )"
-
-DEPEND="${RDEPEND}
- X? ( x11-proto/xproto )
- java? ( test? ( =dev-java/junit-3.8* ) )"
-
-S="${WORKDIR}/pl-${PV}"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- EPATCH_FORCE=yes
- EPATCH_SUFFIX=patch
- epatch "${WORKDIR}"/${PV}
-}
-
-src_compile() {
- append-flags -fno-strict-aliasing
- use hardened && append-flags -fno-unit-at-a-time
- use debug && append-flags -DO_DEBUG
-
- cd "${S}"/src
- econf \
- --libdir=/usr/$(get_libdir) \
- $(use_enable gmp) \
- $(use_enable readline) \
- $(use_enable !static shared) \
- --enable-custom-flags COFLAGS="${CFLAGS}" \
- || die "econf failed"
- emake || die "emake failed"
-
- if ! use minimal ; then
- local jpltestconf
- if use java && use test ; then
- jpltestconf="--with-junit=$(java-config --classpath junit)"
- fi
-
- cd "${S}/packages"
- econf \
- --libdir=/usr/$(get_libdir) \
- --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) \
- ${jpltestconf} \
- --with-nlp \
- $(use_with odbc) \
- --with-pldoc \
- --with-plunit \
- --with-R \
- --with-RDF \
- --with-semweb \
- --with-sgml \
- $(use_with ssl) \
- --with-table \
- --with-tipc \
- $(use_with X xpce) \
- $(use_with zlib) \
- COFLAGS='"${CFLAGS}"' \
- || die "packages econf failed"
-
- emake || die "packages emake failed"
- fi
-}
-
-src_install() {
- emake -C src DESTDIR="${D}" install || die "install src failed"
-
- if ! use minimal ; then
- emake -C packages DESTDIR="${D}" install || die "install packages failed"
- if use doc ; then
- emake -C packages DESTDIR="${D}" html-install || die "html-install failed"
- emake -C packages/cppproxy DESTDIR="${D}" install-examples || die "install-examples failed"
- fi
- fi
-
- dodoc ChangeLog INSTALL PORTING README VERSION
-}
-
-src_test() {
- cd "${S}/src"
- emake check || die "make check failed. See above for details."
-
- if ! use minimal ; then
- cd "${S}/packages"
- emake check || die "make check failed. See above for details."
- fi
-}
-
-pkg_postinst() {
- einfo "Please note that the following binaries have been renamed"
- einfo "from earlier versions:"
- einfo " pl -> swipl"
- einfo " plld -> swipl-ld"
- einfo " plrc -> swipl-rc"
- einfo " xpce -> <deleted>"
-}
diff --git a/dev-lang/swi-prolog/swi-prolog-5.9.7.ebuild b/dev-lang/swi-prolog/swi-prolog-5.9.7.ebuild
deleted file mode 100644
index d82e71a401c4..000000000000
--- a/dev-lang/swi-prolog/swi-prolog-5.9.7.ebuild
+++ /dev/null
@@ -1,131 +0,0 @@
-# Copyright 1999-2010 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.9.7.ebuild,v 1.4 2010/02/13 08:26:32 keri Exp $
-
-inherit eutils flag-o-matic java-pkg-opt-2
-
-PATCHSET_VER="2"
-
-DESCRIPTION="free, small, and standard compliant Prolog compiler"
-HOMEPAGE="http://www.swi-prolog.org/"
-SRC_URI="http://www.swi-prolog.org/download/devel/src/pl-${PV}.tar.gz
- mirror://gentoo/${P}-gentoo-patchset-${PATCHSET_VER}.tar.gz"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
-IUSE="berkdb debug doc gmp hardened java minimal odbc readline ssl static test zlib X"
-
-RDEPEND="!media-libs/ploticus
- sys-libs/ncurses
- zlib? ( sys-libs/zlib )
- odbc? ( dev-db/unixODBC )
- berkdb? ( sys-libs/db )
- readline? ( sys-libs/readline )
- gmp? ( dev-libs/gmp )
- ssl? ( dev-libs/openssl )
- java? ( >=virtual/jdk-1.4 )
- X? (
- media-libs/jpeg
- x11-libs/libX11
- x11-libs/libXft
- x11-libs/libXpm
- x11-libs/libXt
- x11-libs/libICE
- x11-libs/libSM )"
-
-DEPEND="${RDEPEND}
- X? ( x11-proto/xproto )
- java? ( test? ( =dev-java/junit-3.8* ) )"
-
-S="${WORKDIR}/pl-${PV}"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- EPATCH_FORCE=yes
- EPATCH_SUFFIX=patch
- epatch "${WORKDIR}"/${PV}
-}
-
-src_compile() {
- einfo "Building SWI-Prolog compiler"
-
- append-flags -fno-strict-aliasing
- use hardened && append-flags -fno-unit-at-a-time
- use debug && append-flags -DO_DEBUG
-
- cd "${S}"/src
- econf \
- --libdir=/usr/$(get_libdir) \
- $(use_enable gmp) \
- $(use_enable readline) \
- $(use_enable !static shared) \
- --enable-custom-flags COFLAGS="${CFLAGS}" \
- || die "econf failed"
- emake || die "emake failed"
-
- if ! use minimal ; then
- einfo "Building SWI-Prolog additional packages"
-
- local jpltestconf
- if use java && use test ; then
- jpltestconf="--with-junit=$(java-config --classpath junit)"
- fi
-
- cd "${S}/packages"
- econf \
- --libdir=/usr/$(get_libdir) \
- --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) \
- ${jpltestconf} \
- --with-nlp \
- $(use_with odbc) \
- --with-pldoc \
- --with-plunit \
- --with-semweb \
- --with-sgml \
- --with-sgml/RDF \
- $(use_with ssl) \
- --with-table \
- $(use_with X xpce) \
- $(use_with zlib) \
- COFLAGS='"${CFLAGS}"' \
- || die "packages econf failed"
-
- emake || die "packages emake failed"
- fi
-}
-
-src_install() {
- emake -C src DESTDIR="${D}" install || die "install src failed"
-
- if ! use minimal ; then
- emake -C packages DESTDIR="${D}" install || die "install packages failed"
- if use doc ; then
- emake -C packages DESTDIR="${D}" html-install || die "html-install failed"
- emake -C packages/cppproxy DESTDIR="${D}" install-examples || die "install-examples failed"
- fi
- fi
-
- dodoc ChangeLog INSTALL PORTING README VERSION
-}
-
-src_test() {
- cd "${S}/src"
- emake check || die "make check failed. See above for details."
-
- if ! use minimal ; then
- cd "${S}/packages"
- emake check || die "make check failed. See above for details."
- fi
-}
diff --git a/dev-lang/swi-prolog/swi-prolog-5.9.9.ebuild b/dev-lang/swi-prolog/swi-prolog-5.9.9.ebuild
deleted file mode 100644
index 30f66450f086..000000000000
--- a/dev-lang/swi-prolog/swi-prolog-5.9.9.ebuild
+++ /dev/null
@@ -1,135 +0,0 @@
-# Copyright 1999-2010 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.9.9.ebuild,v 1.2 2010/02/27 04:05:56 keri Exp $
-
-inherit eutils flag-o-matic java-pkg-opt-2
-
-PATCHSET_VER="1"
-
-DESCRIPTION="free, small, and standard compliant Prolog compiler"
-HOMEPAGE="http://www.swi-prolog.org/"
-SRC_URI="http://www.swi-prolog.org/download/devel/src/pl-${PV}.tar.gz
- mirror://gentoo/${P}-gentoo-patchset-${PATCHSET_VER}.tar.gz"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
-IUSE="berkdb debug doc gmp hardened java minimal odbc readline ssl static test zlib X"
-
-RDEPEND="sys-libs/ncurses
- zlib? ( sys-libs/zlib )
- odbc? ( dev-db/unixODBC )
- berkdb? ( sys-libs/db )
- readline? ( sys-libs/readline )
- gmp? ( dev-libs/gmp )
- ssl? ( dev-libs/openssl )
- java? ( >=virtual/jdk-1.4 )
- X? (
- media-libs/jpeg
- x11-libs/libX11
- x11-libs/libXft
- x11-libs/libXpm
- x11-libs/libXt
- x11-libs/libICE
- x11-libs/libSM )"
-
-DEPEND="${RDEPEND}
- X? ( x11-proto/xproto )
- java? ( test? ( =dev-java/junit-3.8* ) )"
-
-S="${WORKDIR}/pl-${PV}"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- EPATCH_FORCE=yes
- EPATCH_SUFFIX=patch
- epatch "${WORKDIR}"/${PV}
-}
-
-src_compile() {
- append-flags -fno-strict-aliasing
- use hardened && append-flags -fno-unit-at-a-time
- use debug && append-flags -DO_DEBUG
-
- cd "${S}"/src
- econf \
- --libdir=/usr/$(get_libdir) \
- $(use_enable gmp) \
- $(use_enable readline) \
- $(use_enable !static shared) \
- --enable-custom-flags COFLAGS="${CFLAGS}" \
- || die "econf failed"
- emake || die "emake failed"
-
- if ! use minimal ; then
- local jpltestconf
- if use java && use test ; then
- jpltestconf="--with-junit=$(java-config --classpath junit)"
- fi
-
- cd "${S}/packages"
- econf \
- --libdir=/usr/$(get_libdir) \
- --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) \
- ${jpltestconf} \
- --with-nlp \
- $(use_with odbc) \
- --with-pldoc \
- --with-plunit \
- --with-RDF \
- --with-semweb \
- --with-sgml \
- $(use_with ssl) \
- --with-table \
- $(use_with X xpce) \
- $(use_with zlib) \
- COFLAGS='"${CFLAGS}"' \
- || die "packages econf failed"
-
- emake || die "packages emake failed"
- fi
-}
-
-src_install() {
- emake -C src DESTDIR="${D}" install || die "install src failed"
-
- if ! use minimal ; then
- emake -C packages DESTDIR="${D}" install || die "install packages failed"
- if use doc ; then
- emake -C packages DESTDIR="${D}" html-install || die "html-install failed"
- emake -C packages/cppproxy DESTDIR="${D}" install-examples || die "install-examples failed"
- fi
- fi
-
- dodoc ChangeLog INSTALL PORTING README VERSION
-}
-
-src_test() {
- cd "${S}/src"
- emake check || die "make check failed. See above for details."
-
- if ! use minimal ; then
- cd "${S}/packages"
- emake check || die "make check failed. See above for details."
- fi
-}
-
-pkg_postinst() {
- einfo "Please note that the following binaries have been renamed"
- einfo "from earlier versions:"
- einfo " pl -> swipl"
- einfo " plld -> swipl-ld"
- einfo " plrc -> swipl-rc"
- einfo " xpce -> <deleted>"
-}