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