Gentoo Archives: gentoo-commits

From: "Alexis Ballier (aballier)" <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-freebsd/freebsd-contrib: ChangeLog freebsd-contrib-8.2.ebuild
Date: Wed, 06 Jul 2011 06:15:50
Message-Id: 20110706055727.CF6632004B@flycatcher.gentoo.org
1 aballier 11/07/06 05:57:27
2
3 Modified: ChangeLog
4 Added: freebsd-contrib-8.2.ebuild
5 Log:
6 bump to 8.2
7
8 (Portage version: 2.2.0_alpha43/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.28 sys-freebsd/freebsd-contrib/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-freebsd/freebsd-contrib/ChangeLog?rev=1.28&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-freebsd/freebsd-contrib/ChangeLog?rev=1.28&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-freebsd/freebsd-contrib/ChangeLog?r1=1.27&r2=1.28
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-contrib/ChangeLog,v
20 retrieving revision 1.27
21 retrieving revision 1.28
22 diff -u -r1.27 -r1.28
23 --- ChangeLog 19 Mar 2010 11:50:58 -0000 1.27
24 +++ ChangeLog 6 Jul 2011 05:57:27 -0000 1.28
25 @@ -1,6 +1,12 @@
26 # ChangeLog for sys-freebsd/freebsd-contrib
27 -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-contrib/ChangeLog,v 1.27 2010/03/19 11:50:58 aballier Exp $
29 +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-contrib/ChangeLog,v 1.28 2011/07/06 05:57:27 aballier Exp $
31 +
32 +*freebsd-contrib-8.2 (06 Jul 2011)
33 +
34 + 06 Jul 2011; Alexis Ballier <aballier@g.o>
35 + +freebsd-contrib-8.2.ebuild:
36 + bump to 8.2
37
38 *freebsd-contrib-8.0 (19 Mar 2010)
39
40
41
42
43 1.1 sys-freebsd/freebsd-contrib/freebsd-contrib-8.2.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-freebsd/freebsd-contrib/freebsd-contrib-8.2.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-freebsd/freebsd-contrib/freebsd-contrib-8.2.ebuild?rev=1.1&content-type=text/plain
47
48 Index: freebsd-contrib-8.2.ebuild
49 ===================================================================
50 # Copyright 1999-2011 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-contrib/freebsd-contrib-8.2.ebuild,v 1.1 2011/07/06 05:57:27 aballier Exp $
53
54 inherit bsdmk freebsd flag-o-matic
55
56 DESCRIPTION="Contributed sources for FreeBSD."
57 SLOT="0"
58 KEYWORDS="~sparc-fbsd ~x86-fbsd"
59 LICENSE="BSD GPL-2 as-is"
60
61 IUSE=""
62
63 SRC_URI="mirror://gentoo/${GNU}.tar.bz2
64 mirror://gentoo/${P}.tar.bz2"
65
66 RDEPEND=""
67 DEPEND="=sys-freebsd/freebsd-sources-${RV}*
68 =sys-freebsd/freebsd-mk-defs-${RV}*"
69
70 S="${WORKDIR}/gnu"
71
72 src_unpack() {
73 echo ">>> Unpacking needed parts of ${GNU}.tar.bz2 to ${WORKDIR}"
74 tar -jxpf "${DISTDIR}/${GNU}.tar.bz2" gnu/lib/libdialog gnu/usr.bin/sort gnu/usr.bin/patch
75 echo ">>> Unpacking needed parts of ${CONTRIB}.tar.bz2 to ${WORKDIR}"
76 tar -jxpf "${DISTDIR}/${CONTRIB}.tar.bz2" contrib/gnu-sort
77
78 freebsd_do_patches
79 freebsd_rename_libraries
80 }
81
82 src_compile() {
83 cd "${S}/lib/libdialog"
84 freebsd_src_compile
85
86 cd "${S}/usr.bin/sort"
87 freebsd_src_compile
88
89 cd "${S}/usr.bin/patch"
90 freebsd_src_compile
91 }
92
93 src_install() {
94 use profile || mymakeopts="${mymakeopts} NO_PROFILE= "
95 mymakeopts="${mymakeopts} NO_MANCOMPRESS= NO_INFOCOMPRESS= "
96
97 cd "${S}/lib/libdialog"
98 mkinstall || die "libdialog install failed"
99
100 cd "${S}/usr.bin/sort"
101 mkinstall BINDIR="/bin/" || die "libdialog install failed"
102
103 cd "${S}/usr.bin/patch"
104 mkinstall BINDIR="/usr/bin/" || die "libdialog install failed"
105 }