diff options
author | Keri Harris <keri@gentoo.org> | 2008-12-09 05:37:49 +0000 |
---|---|---|
committer | Keri Harris <keri@gentoo.org> | 2008-12-09 05:37:49 +0000 |
commit | 34eb4419b3168865bb34ba61668484927357d355 (patch) | |
tree | 17974c4479eece711963a81590d5b46dab36f251 /dev-lang/swi-prolog | |
parent | (non maintainer commit) Remove old and apply file locking call to configure. ... (diff) | |
download | gentoo-2-34eb4419b3168865bb34ba61668484927357d355.tar.gz gentoo-2-34eb4419b3168865bb34ba61668484927357d355.tar.bz2 gentoo-2-34eb4419b3168865bb34ba61668484927357d355.zip |
Remove old versions
(Portage version: 2.1.4.5)
Diffstat (limited to 'dev-lang/swi-prolog')
-rw-r--r-- | dev-lang/swi-prolog/ChangeLog | 10 | ||||
-rw-r--r-- | dev-lang/swi-prolog/swi-prolog-5.6.49.ebuild | 134 | ||||
-rw-r--r-- | dev-lang/swi-prolog/swi-prolog-5.6.50.ebuild | 134 | ||||
-rw-r--r-- | dev-lang/swi-prolog/swi-prolog-5.6.51.ebuild | 134 | ||||
-rw-r--r-- | dev-lang/swi-prolog/swi-prolog-5.6.52.ebuild | 134 | ||||
-rw-r--r-- | dev-lang/swi-prolog/swi-prolog-5.6.54.ebuild | 134 | ||||
-rw-r--r-- | dev-lang/swi-prolog/swi-prolog-5.6.55.ebuild | 134 | ||||
-rw-r--r-- | dev-lang/swi-prolog/swi-prolog-5.6.57.ebuild | 134 | ||||
-rw-r--r-- | dev-lang/swi-prolog/swi-prolog-5.6.58.ebuild | 140 | ||||
-rw-r--r-- | dev-lang/swi-prolog/swi-prolog-5.6.59.ebuild | 140 | ||||
-rw-r--r-- | dev-lang/swi-prolog/swi-prolog-5.6.60.ebuild | 130 | ||||
-rw-r--r-- | dev-lang/swi-prolog/swi-prolog-5.6.61.ebuild | 130 |
12 files changed, 9 insertions, 1479 deletions
diff --git a/dev-lang/swi-prolog/ChangeLog b/dev-lang/swi-prolog/ChangeLog index 600deb1f17fe..1eab403a8557 100644 --- a/dev-lang/swi-prolog/ChangeLog +++ b/dev-lang/swi-prolog/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for dev-lang/swi-prolog # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/ChangeLog,v 1.162 2008/12/08 16:50:34 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/ChangeLog,v 1.163 2008/12/09 05:37:48 keri Exp $ + + 09 Dec 2008; <keri@gentoo.org> -swi-prolog-5.6.49.ebuild, + -swi-prolog-5.6.50.ebuild, -swi-prolog-5.6.51.ebuild, + -swi-prolog-5.6.52.ebuild, -swi-prolog-5.6.54.ebuild, + -swi-prolog-5.6.55.ebuild, -swi-prolog-5.6.57.ebuild, + -swi-prolog-5.6.58.ebuild, -swi-prolog-5.6.59.ebuild, + -swi-prolog-5.6.60.ebuild, -swi-prolog-5.6.61.ebuild: + Remove old versions. 08 Dec 2008; Raúl Porcel <armin76@gentoo.org> swi-prolog-5.6.62.ebuild: alpha/sparc stable wrt #249435 diff --git a/dev-lang/swi-prolog/swi-prolog-5.6.49.ebuild b/dev-lang/swi-prolog/swi-prolog-5.6.49.ebuild deleted file mode 100644 index b85d0302f7ac..000000000000 --- a/dev-lang/swi-prolog/swi-prolog-5.6.49.ebuild +++ /dev/null @@ -1,134 +0,0 @@ -# Copyright 1999-2008 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.49.ebuild,v 1.9 2008/09/20 21:45:41 keri Exp $ - -inherit eutils flag-o-matic java-pkg-opt-2 - -PATCHSET_VER="3" - -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 - 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 latex threads zlib X" - -DEPEND="!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 - =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 - 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 - - 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) \ - --enable-custom-flags COFLAGS="${CFLAGS}" \ - || die "econf failed" - emake || die "emake failed" - - if ! use minimal ; then - einfo "Building SWI-Prolog additional packages" - - 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 latex ltx2htm) \ - --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 ANNOUNCE ChangeLog INSTALL INSTALL.notes PORTING README README.GUI 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.6.50.ebuild b/dev-lang/swi-prolog/swi-prolog-5.6.50.ebuild deleted file mode 100644 index f159e07afa78..000000000000 --- a/dev-lang/swi-prolog/swi-prolog-5.6.50.ebuild +++ /dev/null @@ -1,134 +0,0 @@ -# Copyright 1999-2008 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.50.ebuild,v 1.4 2008/09/20 21:45:41 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://gollem.science.uva.nl/cgi-bin/nph-download/SWI-Prolog/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 latex threads zlib X" - -DEPEND="!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 - =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 - 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 - - 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) \ - --enable-custom-flags COFLAGS="${CFLAGS}" \ - || die "econf failed" - emake || die "emake failed" - - if ! use minimal ; then - einfo "Building SWI-Prolog additional packages" - - 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 latex ltx2htm) \ - --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 ANNOUNCE ChangeLog INSTALL INSTALL.notes PORTING README README.GUI 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.6.51.ebuild b/dev-lang/swi-prolog/swi-prolog-5.6.51.ebuild deleted file mode 100644 index c892bce43d65..000000000000 --- a/dev-lang/swi-prolog/swi-prolog-5.6.51.ebuild +++ /dev/null @@ -1,134 +0,0 @@ -# Copyright 1999-2008 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.51.ebuild,v 1.3 2008/09/20 21:45:41 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://gollem.science.uva.nl/cgi-bin/nph-download/SWI-Prolog/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 latex threads zlib X" - -DEPEND="!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 - =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 - 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 - - 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) \ - --enable-custom-flags COFLAGS="${CFLAGS}" \ - || die "econf failed" - emake || die "emake failed" - - if ! use minimal ; then - einfo "Building SWI-Prolog additional packages" - - 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 latex ltx2htm) \ - --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 ANNOUNCE ChangeLog INSTALL INSTALL.notes PORTING README README.GUI 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.6.52.ebuild b/dev-lang/swi-prolog/swi-prolog-5.6.52.ebuild deleted file mode 100644 index 61fb07d77801..000000000000 --- a/dev-lang/swi-prolog/swi-prolog-5.6.52.ebuild +++ /dev/null @@ -1,134 +0,0 @@ -# Copyright 1999-2008 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.52.ebuild,v 1.2 2008/09/20 21:45:41 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://gollem.science.uva.nl/cgi-bin/nph-download/SWI-Prolog/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 latex threads zlib X" - -DEPEND="!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 - =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 - 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 - - 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) \ - --enable-custom-flags COFLAGS="${CFLAGS}" \ - || die "econf failed" - emake || die "emake failed" - - if ! use minimal ; then - einfo "Building SWI-Prolog additional packages" - - 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 latex ltx2htm) \ - --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 ANNOUNCE ChangeLog INSTALL INSTALL.notes PORTING README README.GUI 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.6.54.ebuild b/dev-lang/swi-prolog/swi-prolog-5.6.54.ebuild deleted file mode 100644 index 0d43997c5bc8..000000000000 --- a/dev-lang/swi-prolog/swi-prolog-5.6.54.ebuild +++ /dev/null @@ -1,134 +0,0 @@ -# Copyright 1999-2008 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.54.ebuild,v 1.2 2008/09/20 21:45:41 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://gollem.science.uva.nl/cgi-bin/nph-download/SWI-Prolog/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 latex threads zlib X" - -DEPEND="!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 - =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 - 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 - - 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) \ - --enable-custom-flags COFLAGS="${CFLAGS}" \ - || die "econf failed" - emake || die "emake failed" - - if ! use minimal ; then - einfo "Building SWI-Prolog additional packages" - - 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 latex ltx2htm) \ - --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 ANNOUNCE ChangeLog INSTALL INSTALL.notes PORTING README README.GUI 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.6.55.ebuild b/dev-lang/swi-prolog/swi-prolog-5.6.55.ebuild deleted file mode 100644 index ff4010be2b2a..000000000000 --- a/dev-lang/swi-prolog/swi-prolog-5.6.55.ebuild +++ /dev/null @@ -1,134 +0,0 @@ -# Copyright 1999-2008 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.55.ebuild,v 1.2 2008/09/20 21:45:41 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://gollem.science.uva.nl/cgi-bin/nph-download/SWI-Prolog/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 latex threads zlib X" - -DEPEND="!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 - =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 - 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 - - 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) \ - --enable-custom-flags COFLAGS="${CFLAGS}" \ - || die "econf failed" - emake || die "emake failed" - - if ! use minimal ; then - einfo "Building SWI-Prolog additional packages" - - 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 latex ltx2htm) \ - --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 ANNOUNCE ChangeLog INSTALL INSTALL.notes PORTING README README.GUI 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.6.57.ebuild b/dev-lang/swi-prolog/swi-prolog-5.6.57.ebuild deleted file mode 100644 index f8cf216bbe7a..000000000000 --- a/dev-lang/swi-prolog/swi-prolog-5.6.57.ebuild +++ /dev/null @@ -1,134 +0,0 @@ -# Copyright 1999-2008 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.57.ebuild,v 1.3 2008/09/20 21:45:41 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://gollem.science.uva.nl/cgi-bin/nph-download/SWI-Prolog/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 latex threads zlib X" - -DEPEND="!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 - =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 - 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 - - 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) \ - --enable-custom-flags COFLAGS="${CFLAGS}" \ - || die "econf failed" - emake || die "emake failed" - - if ! use minimal ; then - einfo "Building SWI-Prolog additional packages" - - 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 latex ltx2htm) \ - --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 ANNOUNCE ChangeLog INSTALL INSTALL.notes PORTING README README.GUI 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.6.58.ebuild b/dev-lang/swi-prolog/swi-prolog-5.6.58.ebuild deleted file mode 100644 index bdd22937dd8e..000000000000 --- a/dev-lang/swi-prolog/swi-prolog-5.6.58.ebuild +++ /dev/null @@ -1,140 +0,0 @@ -# Copyright 1999-2008 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.58.ebuild,v 1.2 2008/09/20 21:45:41 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://gollem.science.uva.nl/cgi-bin/nph-download/SWI-Prolog/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 latex test threads zlib X" - -DEPEND="!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 - 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 - - local threadconf - if use java && ! use minimal || use threads ; then - threadconf="--enable-mt" - else - threadconf="--disable-mt" - fi - - local jpltestconf - if use java && use test ; then - jpltestconf="--with-junit=$(java-config --classpath junit)" - fi - - cd "${S}"/src - econf \ - --libdir=/usr/$(get_libdir) \ - ${threadconf} \ - ${jpltestconf} \ - $(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" - - 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 latex ltx2htm) \ - --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 ANNOUNCE ChangeLog INSTALL INSTALL.notes PORTING README README.GUI 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.6.59.ebuild b/dev-lang/swi-prolog/swi-prolog-5.6.59.ebuild deleted file mode 100644 index 9f99e84522c1..000000000000 --- a/dev-lang/swi-prolog/swi-prolog-5.6.59.ebuild +++ /dev/null @@ -1,140 +0,0 @@ -# Copyright 1999-2008 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.59.ebuild,v 1.3 2008/09/20 21:45:41 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://gollem.science.uva.nl/cgi-bin/nph-download/SWI-Prolog/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 latex test threads zlib X" - -DEPEND="!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 - 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 - - local threadconf - if use java && ! use minimal || use threads ; then - threadconf="--enable-mt" - else - threadconf="--disable-mt" - fi - - local jpltestconf - if use java && use test ; then - jpltestconf="--with-junit=$(java-config --classpath junit)" - fi - - cd "${S}"/src - econf \ - --libdir=/usr/$(get_libdir) \ - ${threadconf} \ - ${jpltestconf} \ - $(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" - - 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 latex ltx2htm) \ - --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 ANNOUNCE ChangeLog INSTALL INSTALL.notes PORTING README README.GUI 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.6.60.ebuild b/dev-lang/swi-prolog/swi-prolog-5.6.60.ebuild deleted file mode 100644 index bdd8b30c0e72..000000000000 --- a/dev-lang/swi-prolog/swi-prolog-5.6.60.ebuild +++ /dev/null @@ -1,130 +0,0 @@ -# Copyright 1999-2008 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.60.ebuild,v 1.1 2008/09/20 23:09:59 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://gollem.science.uva.nl/cgi-bin/nph-download/SWI-Prolog/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" - -DEPEND="!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 - 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 - - local jpltestconf - if use java && use test ; then - jpltestconf="--with-junit=$(java-config --classpath junit)" - fi - - cd "${S}"/src - econf \ - --libdir=/usr/$(get_libdir) \ - ${jpltestconf} \ - $(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" - - cd "${S}/packages" - econf \ - --libdir=/usr/$(get_libdir) \ - $(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) \ - --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 ANNOUNCE ChangeLog INSTALL INSTALL.notes PORTING README README.GUI 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.6.61.ebuild b/dev-lang/swi-prolog/swi-prolog-5.6.61.ebuild deleted file mode 100644 index 9996898e5e9f..000000000000 --- a/dev-lang/swi-prolog/swi-prolog-5.6.61.ebuild +++ /dev/null @@ -1,130 +0,0 @@ -# Copyright 1999-2008 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.61.ebuild,v 1.3 2008/10/11 08:01:37 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://gollem.science.uva.nl/cgi-bin/nph-download/SWI-Prolog/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" - -DEPEND="!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 - 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 - - local jpltestconf - if use java && use test ; then - jpltestconf="--with-junit=$(java-config --classpath junit)" - fi - - cd "${S}"/src - econf \ - --libdir=/usr/$(get_libdir) \ - ${jpltestconf} \ - $(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" - - cd "${S}/packages" - econf \ - --libdir=/usr/$(get_libdir) \ - $(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) \ - --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 -} |