commit: f4e56d251ed4f691834c38dce1d75120469a1737 Author: Maciej Barć <xgqt <AT> gentoo <DOT> org> AuthorDate: Thu Jan 1 20:39:03 2026 +0000 Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org> CommitDate: Thu Jan 1 20:42:49 2026 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4e56d25
dev-lang/nprolog: bump to 4.78 Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org> dev-lang/nprolog/Manifest | 1 + dev-lang/nprolog/nprolog-4.78.ebuild | 53 ++++++++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) diff --git a/dev-lang/nprolog/Manifest b/dev-lang/nprolog/Manifest index c38201a4fe8a..e98eae2182b6 100644 --- a/dev-lang/nprolog/Manifest +++ b/dev-lang/nprolog/Manifest @@ -1 +1,2 @@ DIST nprolog-4.76.gh.tar.gz 1879255 BLAKE2B 02b861e69c40ceb94814c987909e78ddc15bb32f3b8b224be6430bc6d6bef5f0040ac6782e34e997b1e593d3a014bc2c54d2dfcc75612681124700299711fd9c SHA512 ccee9b2e41f24059aa05eaca2847dc599455a774bfde13e60b1ec1c472a52c6f7ba49150243f9e1f74979ab7366b3c8a8bdcc3898bafd17a5f7a4749413773ad +DIST nprolog-4.78.gh.tar.gz 3394430 BLAKE2B fc31a6b3f792b27aec06ed1499b3781f090080a81d8620dde3c2b49f209886f7fa6733cbcb54967546eb0e272da3dae73f5c293ea438304891b7e617a1707f9f SHA512 0e109c8a7819463686400839a26dc09fe0723c1ad31bd523ac3fd65f5b12b3db6115179ae1485f8c5ca827e65e24c3b433ec907ba995c3a1680fe62de51c0934 diff --git a/dev-lang/nprolog/nprolog-4.78.ebuild b/dev-lang/nprolog/nprolog-4.78.ebuild new file mode 100644 index 000000000000..8f41a438d469 --- /dev/null +++ b/dev-lang/nprolog/nprolog-4.78.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +DESCRIPTION="Interpreter and compiler to be compatible with Arity/Prolog32" +HOMEPAGE="https://github.com/sasagawa888/nprolog/" + +if [[ "${PV}" == *9999* ]] ; then + inherit git-r3 + + EGIT_REPO_URI="https://github.com/sasagawa888/${PN}" +else + SRC_URI="https://github.com/sasagawa888/${PN}/archive/refs/tags/v${PV}.tar.gz + -> ${P}.gh.tar.gz" + + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="BSD-2" +SLOT="0" +IUSE="doc" + +DOCS=( README{,-ja}.md ) + +src_prepare() { + if [[ -f edlog ]] ; then + rm edlog || die + fi + + default +} + +src_compile() { + emake CC="$(tc-getCC)" CFLAGS="${CFLAGS} ${LDFLAGS}" +} + +src_install() { + dobin npl + + insinto "/usr/share/${PN}" + doins -r example library + + if use doc ; then + DOCS+=( document ) + + docompress -x "/usr/share/doc/${PF}/document" + fi + + einstalldocs +}
