From 6659a43f414612bc98efc66dea64a93c402c795d Mon Sep 17 00:00:00 2001 From: George Shapovalov Date: Sun, 27 Oct 2002 09:20:03 +0000 Subject: new package: GNU Prolog --- dev-lang/gprolog/ChangeLog | 13 ++++++++++ dev-lang/gprolog/files/digest-gprolog-1.2.13 | 1 + dev-lang/gprolog/gprolog-1.2.13.ebuild | 38 ++++++++++++++++++++++++++++ 3 files changed, 52 insertions(+) create mode 100644 dev-lang/gprolog/ChangeLog create mode 100644 dev-lang/gprolog/files/digest-gprolog-1.2.13 create mode 100644 dev-lang/gprolog/gprolog-1.2.13.ebuild (limited to 'dev-lang/gprolog') diff --git a/dev-lang/gprolog/ChangeLog b/dev-lang/gprolog/ChangeLog new file mode 100644 index 000000000000..9adeca45df7a --- /dev/null +++ b/dev-lang/gprolog/ChangeLog @@ -0,0 +1,13 @@ +# ChangeLog for dev-lang/gprologp +# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL +# $Header: /var/cvsroot/gentoo-x86/dev-lang/gprolog/ChangeLog,v 1.1 2002/10/27 09:20:03 george Exp $ + +*gprolog-1.2.13 + + 26 Oct 2002; George Shapovalov gprolog-1.2.13.ebuild : + + new package: GNU Prolog + + ebuilod submitted by Rigo Ketelings + modified by me for FHS compatibility + diff --git a/dev-lang/gprolog/files/digest-gprolog-1.2.13 b/dev-lang/gprolog/files/digest-gprolog-1.2.13 new file mode 100644 index 000000000000..31d816859ed2 --- /dev/null +++ b/dev-lang/gprolog/files/digest-gprolog-1.2.13 @@ -0,0 +1 @@ +MD5 73d24d335dde554c94795b0c8269b877 gprolog-1.2.13.tar.gz 2470242 diff --git a/dev-lang/gprolog/gprolog-1.2.13.ebuild b/dev-lang/gprolog/gprolog-1.2.13.ebuild new file mode 100644 index 000000000000..c8d3cb8f09bf --- /dev/null +++ b/dev-lang/gprolog/gprolog-1.2.13.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/gprolog/gprolog-1.2.13.ebuild,v 1.1 2002/10/27 09:20:03 george Exp $ + +DEPEND="virtual/glibc" + +DESCRIPTION="GNU Prolog is a native Prolog compiler with constraint solving over finite domains (FD)" +HOMEPAGE="http://www.gnu.org" +SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" +S=${WORKDIR}/${P}/src + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" + +src_unpack() { + unpack ${A} + cd ${S} + + mv Makefile.in Makefile.in.orig + sed -e "s/TXT_FILES /#TXT_FILES/" Makefile.in.orig > Makefile.in +} + +src_compile() { + econf || die "./configure failed" + emake || die "make failed" +} + +src_install() { + dodir /usr/bin + make INSTALL_DIR=${D}/usr \ + LINKS_DIR="" \ + DOC_DIR=/${D}/usr/share/doc/${P} \ + HTML_DIR=${D}/usr/share/doc/${P}/html \ + EXAMPLES_DIR=${D}/usr/share/${P}/examples install || die "install failed" + cd ${S}/.. + dodoc ChangeLog COPYING INSTALL NEWS PROBLEMS README VERSION +} -- cgit v1.2.3-65-gdbad