summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2016-10-20 14:19:47 +0200
committerAlexis Ballier <aballier@gentoo.org>2016-10-20 14:19:47 +0200
commit3099a9a149e427c7c62739b92b2a12d119105aa5 (patch)
tree26c29dbcfe7d8f0ba1cdc9015e9c9b2a0b15e2ab /sys-devel/bmake
parentapp-text/highlight: bump to 3.32 (diff)
downloadgentoo-3099a9a149e427c7c62739b92b2a12d119105aa5.tar.gz
gentoo-3099a9a149e427c7c62739b92b2a12d119105aa5.tar.bz2
gentoo-3099a9a149e427c7c62739b92b2a12d119105aa5.zip
sys-devel/bmake: bump to 20160926
Package-Manager: portage-2.3.2
Diffstat (limited to 'sys-devel/bmake')
-rw-r--r--sys-devel/bmake/Manifest1
-rw-r--r--sys-devel/bmake/bmake-20160926.ebuild55
2 files changed, 56 insertions, 0 deletions
diff --git a/sys-devel/bmake/Manifest b/sys-devel/bmake/Manifest
index 497ddecbd97..d4d365dec8b 100644
--- a/sys-devel/bmake/Manifest
+++ b/sys-devel/bmake/Manifest
@@ -1,4 +1,5 @@
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 bmake-20160926.tar.gz 544748 SHA256 5859a7c988936f605120ad3ad127a7c116269d92dd45b559f143f3ee7addba11 SHA512 38c9f928d9178404b9cb32c78cc2317e0947e0a23631e8c416f7ec35523c3e75ab324651204ebdc1928653927f8aa990a5aa75ce48d35184f7392195402ad2a7 WHIRLPOOL 194f40525f99cb2fa2738526fb2300bd2a80f25bc74a073837b42287abeebb9369e7d0121c940675ea160df192eab2f9a7909fd20e5b8628a4ca2fd3a6638dde
DIST mk-20151111.tar.gz 88106 SHA256 beebba89da0ba068c904599d3358e6f08c35418b13300fac787c11774a525bc1 SHA512 48fc6c845f2aef3b9be6fdb1db8a62448857ba7cbffc5417f45a7a2d5e59940356a245b9f484aa05e4c585e0a4c2e2eb7577c7d9e942cc673eb561f6c6e257d4 WHIRLPOOL 68838257558b43bc503841cf23f09cfc926e1152f847fcecc803574070eb9c0ceb5fc75c0f78f52559d1dfd7283a4b001c76b62e44158850c0c019a67d69b3aa
diff --git a/sys-devel/bmake/bmake-20160926.ebuild b/sys-devel/bmake/bmake-20160926.ebuild
new file mode 100644
index 00000000000..cce8dfffd9a
--- /dev/null
+++ b/sys-devel/bmake/bmake-20160926.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"
+}