Gentoo Archives: gentoo-commits

From: "Bernard Cafarelli (voyageur)" <voyageur@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in gnustep-base/gnustep-make: ChangeLog gnustep-make-2.4.0.ebuild
Date: Mon, 10 May 2010 18:42:12
Message-Id: 20100510184206.E0DD32C5B3@corvid.gentoo.org
1 voyageur 10/05/10 18:42:06
2
3 Modified: ChangeLog
4 Added: gnustep-make-2.4.0.ebuild
5 Log:
6 Stable release bump
7 (Portage version: 2.2_rc67/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.89 gnustep-base/gnustep-make/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnustep-base/gnustep-make/ChangeLog?rev=1.89&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnustep-base/gnustep-make/ChangeLog?rev=1.89&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnustep-base/gnustep-make/ChangeLog?r1=1.88&r2=1.89
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/gnustep-base/gnustep-make/ChangeLog,v
19 retrieving revision 1.88
20 retrieving revision 1.89
21 diff -u -r1.88 -r1.89
22 --- ChangeLog 9 Mar 2010 18:52:57 -0000 1.88
23 +++ ChangeLog 10 May 2010 18:42:06 -0000 1.89
24 @@ -1,6 +1,12 @@
25 # ChangeLog for gnustep-base/gnustep-make
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/gnustep-base/gnustep-make/ChangeLog,v 1.88 2010/03/09 18:52:57 grobian Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/gnustep-base/gnustep-make/ChangeLog,v 1.89 2010/05/10 18:42:06 voyageur Exp $
29 +
30 +*gnustep-make-2.4.0 (10 May 2010)
31 +
32 + 10 May 2010; Bernard Cafarelli <voyageur@g.o>
33 + +gnustep-make-2.4.0.ebuild:
34 + Stable release bump
35
36 *gnustep-make-2.2.0-r1 (09 Mar 2010)
37
38
39
40
41 1.1 gnustep-base/gnustep-make/gnustep-make-2.4.0.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnustep-base/gnustep-make/gnustep-make-2.4.0.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnustep-base/gnustep-make/gnustep-make-2.4.0.ebuild?rev=1.1&content-type=text/plain
45
46 Index: gnustep-make-2.4.0.ebuild
47 ===================================================================
48 # Copyright 1999-2010 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/gnustep-base/gnustep-make/gnustep-make-2.4.0.ebuild,v 1.1 2010/05/10 18:42:06 voyageur Exp $
51
52 EAPI="3"
53
54 inherit gnustep-base eutils prefix
55
56 DESCRIPTION="GNUstep Makefile Package"
57
58 HOMEPAGE="http://www.gnustep.org"
59 SRC_URI="ftp://ftp.gnustep.org/pub/gnustep/core/${P}.tar.gz"
60 KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris"
61 IUSE="native-exceptions"
62 SLOT="0"
63 LICENSE="GPL-2"
64
65 DEPEND="${GNUSTEP_CORE_DEPEND}
66 >=sys-devel/gcc-3.3[objc]
67 >=sys-devel/make-3.75"
68 RDEPEND="${DEPEND}"
69
70 src_prepare() {
71 epatch "${FILESDIR}"/${PN}-2.0.1-destdir.patch
72 cp "${FILESDIR}"/gnustep-3.{csh,sh} "${T}"/
73 eprefixify "${T}"/gnustep-3.{csh,sh}
74 }
75
76 src_configure() {
77 econf \
78 --prefix="${GNUSTEP_PREFIX}" \
79 --with-layout=gnustep \
80 --with-config-file="${EPREFIX}"/etc/GNUstep/GNUstep.conf \
81 $(use_enable native-exceptions native-objc-exceptions) \
82 || die "configure failed"
83 }
84
85 src_compile() {
86 emake || die "compilation failed"
87 # Prepare doc here (needed when no gnustep-make is already installed)
88 if use doc ; then
89 # If a gnustep-1 environment is set
90 unset GNUSTEP_MAKEFILES
91 cd Documentation
92 emake all install || die "doc make has failed"
93 cd ..
94 fi
95 }
96
97 src_install() {
98 # Get GNUSTEP_* variables
99 . ./GNUstep.conf
100
101 local make_eval
102 use debug || make_eval="${make_eval} debug=no"
103 make_eval="${make_eval} verbose=yes"
104
105 emake ${make_eval} DESTDIR="${D}" install || die "install has failed"
106
107 # Copy the documentation
108 if use doc ; then
109 dodir ${GNUSTEP_SYSTEM_LIBRARY}
110 cp -r Documentation/tmp-installation/System/Library/Documentation \
111 "${ED}"${GNUSTEP_SYSTEM_LIBRARY}
112 fi
113
114 dodoc FAQ README RELEASENOTES
115
116 exeinto /etc/profile.d
117 doexe "${T}"/gnustep-3.sh
118 doexe "${T}"/gnustep-3.csh
119
120 dodir /etc/env.d
121 cat <<- EOF > "${ED}"/etc/env.d/99gnustep
122 PATH=${GNUSTEP_SYSTEM_TOOLS}:${GNUSTEP_LOCAL_TOOLS}
123 ROOTPATH=${GNUSTEP_SYSTEM_TOOLS}:${GNUSTEP_LOCAL_TOOLS}
124 LDPATH=${GNUSTEP_SYSTEM_LIBRARIES}:${GNUSTEP_LOCAL_LIBRARIES}
125 MANPATH=${GNUSTEP_SYSTEM_DOC_MAN}:${GNUSTEP_LOCAL_DOC_MAN}
126 INFOPATH=${GNUSTEP_SYSTEM_DOC_INFO}:${GNUSTEP_LOCAL_DOC_INFO}
127 INFODIR=${GNUSTEP_SYSTEM_DOC_INFO}:${GNUSTEP_LOCAL_DOC_INFO}
128 EOF
129 }