From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E430813832E for ; Wed, 3 Aug 2016 10:30:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B0C1E21C012; Wed, 3 Aug 2016 10:30:34 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4558121C012 for ; Wed, 3 Aug 2016 10:30:34 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 328B7340A8E for ; Wed, 3 Aug 2016 10:30:33 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DBF7FE62 for ; Wed, 3 Aug 2016 10:30:29 +0000 (UTC) From: "Alexis Ballier" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alexis Ballier" Message-ID: <1470220214.2b5f56f9f45e495347a6a8336b1656adf31c8400.aballier@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/bmake/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-devel/bmake/Manifest sys-devel/bmake/bmake-20160606.ebuild X-VCS-Directories: sys-devel/bmake/ X-VCS-Committer: aballier X-VCS-Committer-Name: Alexis Ballier X-VCS-Revision: 2b5f56f9f45e495347a6a8336b1656adf31c8400 X-VCS-Branch: master Date: Wed, 3 Aug 2016 10:30:29 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: f38ef082-41db-41e2-a686-027bc09b1c1d X-Archives-Hash: c53d6ba05e0be035b032bf1e2e035f9b commit: 2b5f56f9f45e495347a6a8336b1656adf31c8400 Author: Alexis Ballier gentoo org> AuthorDate: Wed Aug 3 10:30:14 2016 +0000 Commit: Alexis Ballier gentoo org> CommitDate: Wed Aug 3 10:30:14 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b5f56f9 sys-devel/bmake: bump to 20160606 Package-Manager: portage-2.3.0 sys-devel/bmake/Manifest | 1 + sys-devel/bmake/bmake-20160606.ebuild | 55 +++++++++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+) diff --git a/sys-devel/bmake/Manifest b/sys-devel/bmake/Manifest index 8afe4ac..228539e 100644 --- a/sys-devel/bmake/Manifest +++ b/sys-devel/bmake/Manifest @@ -1,2 +1,3 @@ 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 mk-20151111.tar.gz 88106 SHA256 beebba89da0ba068c904599d3358e6f08c35418b13300fac787c11774a525bc1 SHA512 48fc6c845f2aef3b9be6fdb1db8a62448857ba7cbffc5417f45a7a2d5e59940356a245b9f484aa05e4c585e0a4c2e2eb7577c7d9e942cc673eb561f6c6e257d4 WHIRLPOOL 68838257558b43bc503841cf23f09cfc926e1152f847fcecc803574070eb9c0ceb5fc75c0f78f52559d1dfd7283a4b001c76b62e44158850c0c019a67d69b3aa diff --git a/sys-devel/bmake/bmake-20160606.ebuild b/sys-devel/bmake/bmake-20160606.ebuild new file mode 100644 index 0000000..cce8dff --- /dev/null +++ b/sys-devel/bmake/bmake-20160606.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" +}