summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2022-12-05 14:11:47 +0100
committerMaciej Barć <xgqt@gentoo.org>2022-12-05 14:17:28 +0100
commit6a02e3d94d5040ded0d05c5cbb23224a37c83c28 (patch)
tree68e54ed56cf3cf64366babe2ff87a02a48857cf7 /dev-lang/nprolog
parentapp-admin/ansible-lint: add 6.9.1, drop 6.9.0 (diff)
downloadgentoo-6a02e3d94d5040ded0d05c5cbb23224a37c83c28.tar.gz
gentoo-6a02e3d94d5040ded0d05c5cbb23224a37c83c28.tar.bz2
gentoo-6a02e3d94d5040ded0d05c5cbb23224a37c83c28.zip
dev-lang/nprolog: bump to 1.94
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'dev-lang/nprolog')
-rw-r--r--dev-lang/nprolog/Manifest1
-rw-r--r--dev-lang/nprolog/nprolog-1.94.ebuild31
2 files changed, 32 insertions, 0 deletions
diff --git a/dev-lang/nprolog/Manifest b/dev-lang/nprolog/Manifest
index 01c14d6c30b3..8b9076deaa80 100644
--- a/dev-lang/nprolog/Manifest
+++ b/dev-lang/nprolog/Manifest
@@ -1 +1,2 @@
DIST nprolog-1.92.tar.gz 186417 BLAKE2B a71ae358d8d00bde69d435f88a5923045fc939ff8fb78cbd550e3ba47a92388b8d0fc2d03406932ea5245c000e96a1ee58dc94db71bc27241c3c55bfff4b6728 SHA512 784c766080dcee126667f5c6bf7e78cf1367031bafccb6ac01145961e56679b1a90a2cf2499676881473d4fcbe20a9e99f03a53d6958eeaa23999c3efa588110
+DIST nprolog-1.94.tar.gz 128172 BLAKE2B b3a2de8e5e247bce55fc6eabbd06dddee1d42d8d993b38a2effb505647e5a4a60f89f85f14be4e469d81b5488b4494e0a45c2672b2ba00b8f06ae0545951d08e SHA512 7db39847ecfa91b65fad1e035ddb9267856726adc9741a76fdd088c8f678ba8e98eef3890283b543d345a9441dabada4038984e12709898c6887a186a19136c9
diff --git a/dev-lang/nprolog/nprolog-1.94.ebuild b/dev-lang/nprolog/nprolog-1.94.ebuild
new file mode 100644
index 000000000000..b140b252bea6
--- /dev/null
+++ b/dev-lang/nprolog/nprolog-1.94.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2022 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/"
+SRC_URI="https://github.com/sasagawa888/nprolog/archive/v${PV}.tar.gz
+ -> ${P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DOCS=( README{,-ja}.md document )
+
+src_compile() {
+ emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+}
+
+src_install() {
+ exeinto /usr/bin
+ doexe npl
+
+ insinto /usr/share/${PN}
+ doins -r example library
+
+ einstalldocs
+}