summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2017-04-23 14:36:05 +0200
committerAlexis Ballier <aballier@gentoo.org>2017-04-23 14:36:20 +0200
commite535ccf60e9d41523264cd3fc118676e19f9b2ae (patch)
tree8152c7f8e7c82d67414cf78a47ee42eede105a44 /sys-devel/bmake
parentdev-tex/latex2rtf: bump to 2.3.15 (diff)
downloadgentoo-e535ccf60e9d41523264cd3fc118676e19f9b2ae.tar.gz
gentoo-e535ccf60e9d41523264cd3fc118676e19f9b2ae.tar.bz2
gentoo-e535ccf60e9d41523264cd3fc118676e19f9b2ae.zip
sys-devel/bmake: bump to 20170421
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'sys-devel/bmake')
-rw-r--r--sys-devel/bmake/Manifest2
-rw-r--r--sys-devel/bmake/bmake-20170421.ebuild50
2 files changed, 52 insertions, 0 deletions
diff --git a/sys-devel/bmake/Manifest b/sys-devel/bmake/Manifest
index 28014cbef12..9123c997667 100644
--- a/sys-devel/bmake/Manifest
+++ b/sys-devel/bmake/Manifest
@@ -2,4 +2,6 @@ DIST bmake-20160926.tar.gz 544748 SHA256 5859a7c988936f605120ad3ad127a7c116269d9
DIST bmake-20161126.tar.gz 545726 SHA256 1efd12863dc91971ca6d497eea0671cdd36815111403a9123a070869563fbf14 SHA512 1bae26cb9339f6da5bf66d26de81f864fb2b58653cd1e39030fb7c0f426dab115235f1babf24c85501457b08dcaf581b6778071edba552113611d336e5aa47ab WHIRLPOOL 96fd71323c66457933d4c5281db1360279f2978006f3d2c240b70e7aa66589117c27f5dc3c5bcffd6d1b4f7f884d61e425c520f0c5662069ff919d8320809e0c
DIST bmake-20161212.tar.gz 546196 SHA256 4579f320c2e97ee544edbc540796dc7f21ebb5ad91195ed36e29cf87c45c0816 SHA512 2510322d0d91fd6b1d9d449ea793f438eae603638df7534f57083fc9d631f8ff3019322576fdb2c6deeaa9b798b6df9b1db3d6de19e8ce14210d2f8882d4cb4d WHIRLPOOL 07647aa9be377643a497a2313ba559ee779540e84f75ecdfd3c728f2f1625b70f1cefc8a46a8e7e576dd69425fdcdc2c4da1dbbde88489586f4fd40cd15dfd2d
DIST bmake-20170201.tar.gz 548625 SHA256 fa0b70af31101b78e7c2557f16455bd6d383f53edb03ebec66b9c715530d2373 SHA512 bf45d4b9f894ee7399de181022b0a46db6fc1327346ab56134173eb0f5277dd9a252ecdcb34173f145ed4eea7018f8b7ef11ad9d8ef6b9ffb534fbb3b2c23b01 WHIRLPOOL 1cd58230ea4079abbfc2489867525d55e467c5083dc5497b2af3291e51f6b9811f5b06e7eb8717da4c1ddedc00e47245502be117557f5fa0082b9ccda13fc4ed
+DIST bmake-20170421.tar.gz 550626 SHA256 763104954b566ae9f575ea682dc38ed5c73057336f5f6090fb7489a5399511c5 SHA512 f984dd7697ff74455690d9f0b6a355e3bd3de7545eb93def82aeaaf1899b5316a83e36502ffdd64ef53ad2b28fbfad61cfaee17b8ec29a1f0dd6640c13b4f04f WHIRLPOOL c4e8701ca7ff8c30a09aca12d1c6e0ca141ab99498c3bc88bfedf7543629adfe0dbf1064be2f91246b1aada2ab42048629adf2d87c2de8fa832b174815ef897b
DIST mk-20151111.tar.gz 88106 SHA256 beebba89da0ba068c904599d3358e6f08c35418b13300fac787c11774a525bc1 SHA512 48fc6c845f2aef3b9be6fdb1db8a62448857ba7cbffc5417f45a7a2d5e59940356a245b9f484aa05e4c585e0a4c2e2eb7577c7d9e942cc673eb561f6c6e257d4 WHIRLPOOL 68838257558b43bc503841cf23f09cfc926e1152f847fcecc803574070eb9c0ceb5fc75c0f78f52559d1dfd7283a4b001c76b62e44158850c0c019a67d69b3aa
+DIST mk-20170301.tar.gz 93049 SHA256 0bafe6b64b891fb2cdbe2cdd3fb11ade5fe41055d6bbd3da69a68854a3f7215c SHA512 9727cb284339ec00caeccadd88b55d93027991d453e507c77575135efd789d77307c84137e83616df6643039f9f2449751d4796a87828224e5a8bf48bc0925a3 WHIRLPOOL f7ee160ffd51d7c1f059f5c3c32a3a448fa6d37ca83ba9044647a836e91165603ac8780e486ebef86fe62803a29b6e096e7c4fd95bdf7b7a861e581943b91f40
diff --git a/sys-devel/bmake/bmake-20170421.ebuild b/sys-devel/bmake/bmake-20170421.ebuild
new file mode 100644
index 00000000000..e3738bfbdce
--- /dev/null
+++ b/sys-devel/bmake/bmake-20170421.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils
+
+MK_VER=20170301
+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"
+
+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 || die
+ 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}"
+ doman "${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"
+}