From 2455dbc22f93cfe3449003b93350765a6bd55ea9 Mon Sep 17 00:00:00 2001 From: Keri Harris Date: Tue, 6 Mar 2007 06:52:17 +0000 Subject: [PATCH] Add examples to USE Package-Manager: portage-2.1.2-r12 --- dev-lang/qu-prolog/ChangeLog | 7 +- dev-lang/qu-prolog/Manifest | 15 +++- .../qu-prolog/files/digest-qu-prolog-7.4-r1 | 3 + dev-lang/qu-prolog/qu-prolog-7.4-r1.ebuild | 90 +++++++++++++++++++ 4 files changed, 110 insertions(+), 5 deletions(-) create mode 100644 dev-lang/qu-prolog/files/digest-qu-prolog-7.4-r1 create mode 100644 dev-lang/qu-prolog/qu-prolog-7.4-r1.ebuild diff --git a/dev-lang/qu-prolog/ChangeLog b/dev-lang/qu-prolog/ChangeLog index c9f1b2ee913b..80f62df49baa 100644 --- a/dev-lang/qu-prolog/ChangeLog +++ b/dev-lang/qu-prolog/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-lang/qu-prolog # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/qu-prolog/ChangeLog,v 1.25 2007/01/20 19:21:32 keri Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/qu-prolog/ChangeLog,v 1.26 2007/03/06 06:52:17 keri Exp $ + +*qu-prolog-7.4-r1 (06 Mar 2007) + + 06 Mar 2007; keri +qu-prolog-7.4-r1.ebuild: + Add examples to USE 20 Jan 2007; keri qu-prolog-7.4.ebuild: Remove redundant eclass calls. diff --git a/dev-lang/qu-prolog/Manifest b/dev-lang/qu-prolog/Manifest index 06a8dafec9a8..6dc6fc056f06 100644 --- a/dev-lang/qu-prolog/Manifest +++ b/dev-lang/qu-prolog/Manifest @@ -19,14 +19,18 @@ MD5 05aa28061bd66f1d7c65504f78fe3043 files/qu-prolog-7.4-qt4.patch 10548 RMD160 68741725964290fd00b77d4647847b1309c062bc files/qu-prolog-7.4-qt4.patch 10548 SHA256 0c276d09c0e35b99f6ae9a365baf187ba0f05b7863f4fd6f0472d31e9d43af17 files/qu-prolog-7.4-qt4.patch 10548 DIST qp7.4.tar.gz 1262813 RMD160 8be3c953d6f74878366183b99f84dbcb089c6e08 SHA1 a1a938088dd214e12585abc290ffedd49d7bcd56 SHA256 301b8a3344f4286c2800a13753f2a2d9e73bd3ce58c8a1211bcede365dc96de1 +EBUILD qu-prolog-7.4-r1.ebuild 2019 RMD160 3fd33ae3ca7919aba7bcf538bd65f2d7aba983db SHA1 0f98e75757534a6a64ee44287612dc79d22e3500 SHA256 71dc455a480afef1a265a15da52fe77727efca370f3a7316e68a6e089fd3f58a +MD5 0941ec92c36a4f7414b290ba4d78c500 qu-prolog-7.4-r1.ebuild 2019 +RMD160 3fd33ae3ca7919aba7bcf538bd65f2d7aba983db qu-prolog-7.4-r1.ebuild 2019 +SHA256 71dc455a480afef1a265a15da52fe77727efca370f3a7316e68a6e089fd3f58a qu-prolog-7.4-r1.ebuild 2019 EBUILD qu-prolog-7.4.ebuild 1927 RMD160 7d291813c5caa58cb30af89d80871bbd1128cc09 SHA1 4d2d3bdae2b60aa081c51b0986b77e960322e282 SHA256 69f57f03e987245079eb9c3b0dd1adc3f27c990cc6469a66953255c7c9aa33f6 MD5 93221fc7ab92e7c8bb45ca052186f456 qu-prolog-7.4.ebuild 1927 RMD160 7d291813c5caa58cb30af89d80871bbd1128cc09 qu-prolog-7.4.ebuild 1927 SHA256 69f57f03e987245079eb9c3b0dd1adc3f27c990cc6469a66953255c7c9aa33f6 qu-prolog-7.4.ebuild 1927 -MISC ChangeLog 4077 RMD160 6d57226ed2dc41365730c02cd354afe1f1fea740 SHA1 63f102fe82a08ef39bebbfb869f2c52eafe2b751 SHA256 141ead54c4074e597ea70d58d914ad31c565826462118bcd5405b0f94b562dd3 -MD5 d5971f72d812ed160c77c649f320faef ChangeLog 4077 -RMD160 6d57226ed2dc41365730c02cd354afe1f1fea740 ChangeLog 4077 -SHA256 141ead54c4074e597ea70d58d914ad31c565826462118bcd5405b0f94b562dd3 ChangeLog 4077 +MISC ChangeLog 4197 RMD160 ad10a90c5fd92d9f186edd47fba40fcab2a06d5e SHA1 6531b12eb667a777d1a094e2f7c88fa4fb576d28 SHA256 efa8cfd4e1d7b485f9003e0bde2e953193f980a1be1d05b6715b3442560f71f5 +MD5 97d8c1e9cae8f911f18149f0dff79a2f ChangeLog 4197 +RMD160 ad10a90c5fd92d9f186edd47fba40fcab2a06d5e ChangeLog 4197 +SHA256 efa8cfd4e1d7b485f9003e0bde2e953193f980a1be1d05b6715b3442560f71f5 ChangeLog 4197 MISC metadata.xml 159 RMD160 38d27fd1c5faabedefa5507dfd83cb4c952fbc8c SHA1 52b92682cf41e53e71bf432537a16215bd9546b1 SHA256 851bf218a4283a1d8ea6ef98af0119a40eaa78bfaaec49c2f3440437f52889ba MD5 9187f53634e60ab7eb2ac7e98b0b19f7 metadata.xml 159 RMD160 38d27fd1c5faabedefa5507dfd83cb4c952fbc8c metadata.xml 159 @@ -34,3 +38,6 @@ SHA256 851bf218a4283a1d8ea6ef98af0119a40eaa78bfaaec49c2f3440437f52889ba metadata MD5 5d252b31b22ced55e2a09a6ff7148c56 files/digest-qu-prolog-7.4 220 RMD160 ebeea75dc182124bf7ce9cdc62011ef4ed11e933 files/digest-qu-prolog-7.4 220 SHA256 c923bbcb6bc537844857b9e88104561b8250c222b44173a611720266e050533f files/digest-qu-prolog-7.4 220 +MD5 5d252b31b22ced55e2a09a6ff7148c56 files/digest-qu-prolog-7.4-r1 220 +RMD160 ebeea75dc182124bf7ce9cdc62011ef4ed11e933 files/digest-qu-prolog-7.4-r1 220 +SHA256 c923bbcb6bc537844857b9e88104561b8250c222b44173a611720266e050533f files/digest-qu-prolog-7.4-r1 220 diff --git a/dev-lang/qu-prolog/files/digest-qu-prolog-7.4-r1 b/dev-lang/qu-prolog/files/digest-qu-prolog-7.4-r1 new file mode 100644 index 000000000000..359750c8742b --- /dev/null +++ b/dev-lang/qu-prolog/files/digest-qu-prolog-7.4-r1 @@ -0,0 +1,3 @@ +MD5 379990ae86485a3b8b4a5233bc1fd0c1 qp7.4.tar.gz 1262813 +RMD160 8be3c953d6f74878366183b99f84dbcb089c6e08 qp7.4.tar.gz 1262813 +SHA256 301b8a3344f4286c2800a13753f2a2d9e73bd3ce58c8a1211bcede365dc96de1 qp7.4.tar.gz 1262813 diff --git a/dev-lang/qu-prolog/qu-prolog-7.4-r1.ebuild b/dev-lang/qu-prolog/qu-prolog-7.4-r1.ebuild new file mode 100644 index 000000000000..3d923c640ce6 --- /dev/null +++ b/dev-lang/qu-prolog/qu-prolog-7.4-r1.ebuild @@ -0,0 +1,90 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/qu-prolog/qu-prolog-7.4-r1.ebuild,v 1.1 2007/03/06 06:52:17 keri Exp $ + +inherit eutils + +MY_P=qp${PV} + +DESCRIPTION="Qu-Prolog is an extended Prolog supporting quantifiers, object-variables and substitutions" +HOMEPAGE="http://www.itee.uq.edu.au/~pjr/HomePages/QuPrologHome.html" +SRC_URI="http://www.itee.uq.edu.au/~pjr/HomePages/QPFiles/${MY_P}.tar.gz" + +LICENSE="as-is" +SLOT="0" +KEYWORDS="~ppc ~sparc ~x86" +IUSE="debug doc examples qt3 qt4 threads" + +DEPEND="qt3? ( =x11-libs/qt-3* ) + qt4? ( >=x11-libs/qt-4.1.0 )" + +S="${WORKDIR}"/${MY_P} + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-portage.patch + epatch "${FILESDIR}"/${P}-configure.patch + epatch "${FILESDIR}"/${P}-gcc4.patch + epatch "${FILESDIR}"/${P}-debug.patch + + use qt4 && epatch "${FILESDIR}"/${P}-qt4.patch +} + +src_compile() { + econf \ + $(use_enable debug) \ + $(use_enable threads multiple-threads) \ + || die "econf failed" + emake || die "emake failed" + + if use qt3 || use qt4; then + cd "${S}"/src/xqp + if use qt4; then + qmake || die "qmake xqp failed" + else + "${QTDIR}"/bin/qmake || die "qmake xqp failed" + fi + emake || die "emake xqp failed" + fi +} + +src_install() { + exeinto /usr/bin + doexe src/qa src/qdeal src/qem src/ql + doexe bin/qc bin/qc1.qup bin/qecat bin/qg bin/qp bin/qppp + + if use qt3 || use qt4; then + doexe src/xqp/xqp + fi + + insinto /usr/lib/${PN}/bin + doins prolog/qc1/qc1.qx \ + prolog/qecat/qecat.qx \ + prolog/qg/qg.qx \ + prolog/qp/qp.qx + + insinto /usr/lib/${PN}/library + doins prolog/library/*.qo + + insinto /usr/lib/${PN}/compiler + doins prolog/compiler/*.qo + + doman doc/man/man1/*.1 + + dodoc README + + if use doc ; then + docinto reference-manual + dodoc doc/manual/*.html + docinto user-guide + dodoc doc/user/main.ps + fi + + if use examples ; then + insinto /usr/share/doc/${PF}/examples + doins examples/*.ql + docinto examples + dodoc examples/README + fi +} -- 2.26.2