summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2016-08-27 20:32:25 +0200
committerAlexis Ballier <aballier@gentoo.org>2016-08-27 20:32:25 +0200
commit98ddef0edea8297b2219969838cebe157963c998 (patch)
tree2d198d87b85bf88e9452a72f860f643b9e174f88 /sys-devel/bmake
parentmedia-libs/aubio: bump to 0.4.3; add subslot (diff)
downloadgentoo-98ddef0edea8297b2219969838cebe157963c998.tar.gz
gentoo-98ddef0edea8297b2219969838cebe157963c998.tar.bz2
gentoo-98ddef0edea8297b2219969838cebe157963c998.zip
sys-devel/bmake: bump to 20160818
Package-Manager: portage-2.3.0
Diffstat (limited to 'sys-devel/bmake')
-rw-r--r--sys-devel/bmake/Manifest1
-rw-r--r--sys-devel/bmake/bmake-20160818.ebuild55
2 files changed, 56 insertions, 0 deletions
diff --git a/sys-devel/bmake/Manifest b/sys-devel/bmake/Manifest
index 228539e5668a..497ddecbd975 100644
--- a/sys-devel/bmake/Manifest
+++ b/sys-devel/bmake/Manifest
@@ -1,3 +1,4 @@
DIST bmake-20160315.tar.gz 538673 SHA256 372475f0ab78da5341a1a61af505aaba76356107a1914b3345d79344275cbbe9 SHA512 5addb2b128be6bdeaf93c740bafa102d26224ee8b91e90dbb92333b3f660fdb3837418a081d29718c21519c5cdf994473f1ee75affe4d9e18e5753607ec55ba0 WHIRLPOOL 688c478428b52153384b6fb214807ab57fa133bfe669d8e8c4133c390efad9e5dc11dcf77cf977da5f3eb5581f7ed7e5a5044a3ece615cc8627112069bae52f8
DIST bmake-20160606.tar.gz 541786 SHA256 4420509062d5b3a8ce970245f14520261f5bd770ddf056dc75d9ba13831fd317 SHA512 ecf8e2e3127c603edc0a29e2cd88d1e5847a0bfd01db08d16fade9a32e0691edb356a1b50f72cdca6d03ce2eeb9daa6e4b1d520b1c6acfe56e4a30f7b03de311 WHIRLPOOL 2e5bb40110fe28e7ef0f5c2a3d670874465db8316977b8cd62f762ba9561176d6fa8cd01db41dd1ecceb1a2646ec2f507373ae0de8cf202c16c25034b3e4f26e
+DIST bmake-20160818.tar.gz 543406 SHA256 d64b23e3e4013b6d4ea590b05251874ffa9d841299b4e5344a6edf45ea7e1141 SHA512 b8474eab965040a047f8b77ae4c0bd6e08e77381b39a746d4255394d88f025800d71eeb47146a358227cc6bc5e383705ca60a78694e8e5eb86869da718c3057f WHIRLPOOL 7451f3cd16b06a8969dff0db1d2e707d34975867625596b3b38b52a39e5aa3eb0530b364de1cb192cbfd2c8bd25c2f2878b531bc858ebf0f14823ff1a49cd6b0
DIST mk-20151111.tar.gz 88106 SHA256 beebba89da0ba068c904599d3358e6f08c35418b13300fac787c11774a525bc1 SHA512 48fc6c845f2aef3b9be6fdb1db8a62448857ba7cbffc5417f45a7a2d5e59940356a245b9f484aa05e4c585e0a4c2e2eb7577c7d9e942cc673eb561f6c6e257d4 WHIRLPOOL 68838257558b43bc503841cf23f09cfc926e1152f847fcecc803574070eb9c0ceb5fc75c0f78f52559d1dfd7283a4b001c76b62e44158850c0c019a67d69b3aa
diff --git a/sys-devel/bmake/bmake-20160818.ebuild b/sys-devel/bmake/bmake-20160818.ebuild
new file mode 100644
index 000000000000..cce8dfffd9a7
--- /dev/null
+++ b/sys-devel/bmake/bmake-20160818.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils
+
+MK_VER=20151111
+DESCRIPTION="NetBSD's portable make"
+HOMEPAGE="http://www.crufty.net/help/sjg/bmake.html"
+SRC_URI="http://void.crufty.net/ftp/pub/sjg/${P}.tar.gz
+ http://void.crufty.net/ftp/pub/sjg/mk-${MK_VER}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~x64-freebsd"
+IUSE=""
+
+DEPEND=""
+RDEPEND=""
+
+S="${WORKDIR}/${PN}"
+
+src_configure() {
+ econf \
+ --with-mksrc=../mk \
+ --with-default-sys-path="${EPREFIX}"/usr/share/mk/${PN} \
+ --with-machine_arch=${ARCH}
+}
+
+src_compile() {
+ sh make-bootstrap.sh || die "bootstrap failed"
+}
+
+src_test() {
+ cd unit-tests
+ LC_ALL=C env -u A ${S}/bmake -r -m . > test.out 2>&1 \
+ || die "tests compilation failed"
+ sed -i \
+ -e "s:${S}/::g" \
+ -e "s:bmake\\[.\\]:make:g" \
+ -e "s:unit-tests/::g" \
+ test.out || die "Fixing values failed"
+ diff -u test.exp test.out
+ [[ $(diff -u test.exp test.out |wc -l) -gt 0 ]] && die "tests differ"
+}
+
+src_install() {
+ dobin ${PN}
+ newman ${PN}.cat1 ${PN}.1
+ FORCE_BSD_MK=1 SYS_MK_DIR=. \
+ sh ../mk/install-mk -v -m 644 "${ED}"/usr/share/mk/${PN} \
+ || die "failed to install mk files"
+}