Gentoo Archives: gentoo-commits

From: "Naohiro Aota (naota)" <naota@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-devel/bmake: bmake-20130123.ebuild ChangeLog bmake-20120325.ebuild
Date: Tue, 26 Feb 2013 08:06:43
Message-Id: 20130226080639.88D5B2171D@flycatcher.gentoo.org
1 naota 13/02/26 08:06:39
2
3 Modified: ChangeLog
4 Added: bmake-20130123.ebuild
5 Removed: bmake-20120325.ebuild
6 Log:
7 bump; drop old version
8
9 (Portage version: 2.1.11.52/cvs/Linux x86_64, signed Manifest commit with key F8551514)
10
11 Revision Changes Path
12 1.16 sys-devel/bmake/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/bmake/ChangeLog?rev=1.16&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/bmake/ChangeLog?rev=1.16&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/bmake/ChangeLog?r1=1.15&r2=1.16
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/sys-devel/bmake/ChangeLog,v
21 retrieving revision 1.15
22 retrieving revision 1.16
23 diff -u -r1.15 -r1.16
24 --- ChangeLog 30 Oct 2012 11:51:05 -0000 1.15
25 +++ ChangeLog 26 Feb 2013 08:06:39 -0000 1.16
26 @@ -1,6 +1,12 @@
27 # ChangeLog for sys-devel/bmake
28 -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/bmake/ChangeLog,v 1.15 2012/10/30 11:51:05 aballier Exp $
30 +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
31 +# $Header: /var/cvsroot/gentoo-x86/sys-devel/bmake/ChangeLog,v 1.16 2013/02/26 08:06:39 naota Exp $
32 +
33 +*bmake-20130123 (26 Feb 2013)
34 +
35 + 26 Feb 2013; Naohiro Aota <naota@g.o> +bmake-20130123.ebuild,
36 + -bmake-20120325.ebuild:
37 + bump; drop old version
38
39 *bmake-20121010 (30 Oct 2012)
40
41
42
43
44 1.1 sys-devel/bmake/bmake-20130123.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/bmake/bmake-20130123.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/bmake/bmake-20130123.ebuild?rev=1.1&content-type=text/plain
48
49 Index: bmake-20130123.ebuild
50 ===================================================================
51 # Copyright 1999-2013 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/sys-devel/bmake/bmake-20130123.ebuild,v 1.1 2013/02/26 08:06:39 naota Exp $
54
55 EAPI=3
56
57 inherit eutils
58
59 MK_VER=20121010
60 DESCRIPTION="NetBSD's portable make"
61 HOMEPAGE="http://www.crufty.net/help/sjg/bmake.html"
62 SRC_URI="http://void.crufty.net/ftp/pub/sjg/${P}.tar.gz
63 http://void.crufty.net/ftp/pub/sjg/mk-${MK_VER}.tar.gz"
64
65 LICENSE="BSD"
66 SLOT="0"
67 KEYWORDS="~amd64 ~ppc ~x86 ~x64-freebsd"
68 IUSE=""
69
70 DEPEND=""
71 RDEPEND=""
72
73 S="${WORKDIR}/${PN}"
74
75 src_configure() {
76 econf \
77 --with-mksrc=../mk \
78 --with-default-sys-path=${EPREFIX}/usr/share/mk/${PN} \
79 --with-machine_arch=${ARCH}
80 }
81
82 src_compile() {
83 sh make-bootstrap.sh || die "bootstrap failed"
84 }
85
86 src_test() {
87 cd unit-tests
88 LC_ALL=C env -u A ${S}/bmake -r -m . > test.out 2>&1 \
89 || die "tests compilation failed"
90 sed -i \
91 -e "s:${S}/::g" \
92 -e "s:bmake:make:g" \
93 -e "s:unit-tests/::g" \
94 test.out || die "Fixing values failed"
95 diff -u test.exp test.out
96 [[ $(diff -u test.exp test.out |wc -l) -gt 0 ]] && die "tests differ"
97 }
98
99 src_install() {
100 dobin ${PN} || die
101 newman ${PN}.cat1 ${PN}.1 || die
102 FORCE_BSD_MK=1 SYS_MK_DIR=. \
103 sh ../mk/install-mk -v -m 644 "${ED}"/usr/share/mk/${PN} \
104 || die "failed to install mk files"
105 }