ChangeLog

# ChangeLog for gnustep-base/gnustep-make
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/gnustep-base/gnustep-make/ChangeLog,v 1.74 2008/06/16 09:32:14 voyageur Exp $

*gnustep-make-2.0.6 (16 Jun 2008)

16 Jun 2008; Bernard Cafarelli
+gnustep-make-2.0.6.ebuild:
Version bump, mostly bugfixes

10 Jun 2008; Bernard Cafarelli
-gnustep-make-2.0.2.ebuild:
Stable gnustep versions cleanup

12 May 2008; Markus Rothe gnustep-make-2.0.4.ebuild:
Stable on ppc64

23 Mar 2008; nixnut gnustep-make-2.0.4.ebuild:
Stable on ppc wrt bug 207381

23 Mar 2008; Raúl Porcel gnustep-make-2.0.4.ebuild:
sparc stable wrt #207381

22 Mar 2008; Santiago M. Mola
gnustep-make-2.0.4.ebuild:
amd64 stable wrt bug #207381, second round.

21 Mar 2008; Christian Faulhammer
gnustep-make-2.0.4.ebuild:
stable x86, bug 207381

*gnustep-make-2.0.5 (19 Mar 2008)

19 Mar 2008; Bernard Cafarelli
-gnustep-make-2.0.1.ebuild, +gnustep-make-2.0.5.ebuild:
New version including updated c++ support, remove 2.0.1

12 Mar 2008; Markus Rothe ChangeLog:
Stable on ppc64; bug #207381

08 Mar 2008; Santiago M. Mola
gnustep-make-2.0.2.ebuild:
amd64 stable wrt bug #207381

05 Feb 2008; Markus Rothe gnustep-make-2.0.2.ebuild:
Stable on ppc64

30 Jan 2008; Brent Baude gnustep-make-2.0.2.ebuild:
Marking gnustep-make-2.0.2 ppc for bug 207381

25 Jan 2008; Raúl Porcel gnustep-make-2.0.2.ebuild:
sparc stable wrt #207381

25 Jan 2008; Christian Faulhammer
gnustep-make-2.0.2.ebuild:
stable x86, bug 207381

*gnustep-make-2.0.4 (09 Jan 2008)

09 Jan 2008; Bernard Cafarelli
+gnustep-make-2.0.4.ebuild:
Version bump

08 Dec 2007; Bernard Cafarelli -files/gnustep.csh,
-files/gnustep.sh, -gnustep-make-1.12.0-r1.ebuild,
-gnustep-make-1.13.0.ebuild:
Remove old versions

06 Dec 2007; Raúl Porcel gnustep-make-2.0.1.ebuild:
sparc stable wrt #195990

*gnustep-make-2.0.2 (19 Nov 2007)

19 Nov 2007; Bernard Cafarelli
gnustep-make-2.0.1.ebuild, +gnustep-make-2.0.2.ebuild:
Version bump, fix some quoting

16 Nov 2007; Steve Dibb gnustep-make-2.0.1.ebuild:
amd64 stable, bug 195990

13 Nov 2007; Markus Rothe gnustep-make-2.0.1.ebuild:
Stable on ppc64; bug #195990

27 Oct 2007; nixnut gnustep-make-2.0.1.ebuild:
Stable on ppc wrt bug 195990

17 Oct 2007; Christian Faulhammer
gnustep-make-2.0.1.ebuild:
stable x86, bug 195990

15 Oct 2007; Markus Rothe gnustep-make-1.13.0.ebuild:
Stable on ppc64

03 Oct 2007; Raúl Porcel gnustep-make-2.0.1.ebuild:
Re-add ~sparc wrt #189372

10 Sep 2007; Joseph Jezak gnustep-make-2.0.1.ebuild:
Marked ~ppc64 for bug #189372.

10 Sep 2007; Joseph Jezak gnustep-make-2.0.1.ebuild:
Marked ~ppc for bug #189372.

06 Sep 2007; Bernard Cafarelli
-files/make-user-defaults.patch-1.10.0, -files/GNUstep-reset.sh.patch,
-gnustep-make-1.10.0-r2.ebuild:
Remove old version, bug #139385

06 Sep 2007; Raúl Porcel gnustep-make-2.0.1.ebuild:
Add ~alpha wrt #189372

05 Sep 2007; Joseph Jezak gnustep-make-1.13.0.ebuild:
Marked ppc stable for bug #139385.

22 Aug 2007; Roy Marples gnustep-make-2.0.1.ebuild:
Keyworded ~x86-fbsd, #183467 thanks to Nathan Smith.

*gnustep-make-2.0.1 (18 Aug 2007)

18 Aug 2007; Fabian Groffen
+files/gnustep-make-2.0.1-destdir.patch, +files/gnustep-2.csh,
+files/gnustep-2.sh, +gnustep-make-2.0.1.ebuild:
Adding newest gnustep-make from GNUstep overlay, using new gnustep eclasses.

18 Mar 2007; Marius Mauch
gnustep-make-1.10.0-r2.ebuild, gnustep-make-1.12.0-r1.ebuild,
gnustep-make-1.13.0.ebuild:
Replacing einfo with elog

18 Feb 2007; Fabian Groffen
gnustep-make-1.12.0-r1.ebuild, gnustep-make-1.13.0.ebuild:
Dropped ppc-macos keyword, see you in prefix

26 Dec 2006; Tom Gall
gnustep-make-1.12.0-r1.ebuild:
stable on ppc64

25 Oct 2006; Joshua Jackson
gnustep-make-1.12.0-r1.ebuild:
Stable x86; bug #139385

24 Oct 2006; Simon Stelling
gnustep-make-1.12.0-r1.ebuild:
stable on amd64

*gnustep-make-1.13.0 (03 Sep 2006)

03 Sep 2006; Fabian Groffen
+gnustep-make-1.13.0.ebuild:
Upstream version bump to 1.13.0, thanks to Dmitry S. Kulyabov in bug #145563

20 Aug 2006; Tom Gall gnustep-make-1.12.0-r1.ebuild:
added ~ppc64

16 Aug 2006; Jason Wever gnustep-make-1.12.0-r1.ebuild:
Stable on SPARC wrt bug #139385.

13 Aug 2006; Markus Rothe
gnustep-make-1.10.0-r2.ebuild, gnustep-make-1.12.0-r1.ebuild:
drop ppc64/~ppc64 keywords

28 Jul 2006; Fabian Groffen
gnustep-make-1.12.0-r1.ebuild:
Marked ppc-macos stable (bug #139385) and removed annoying ebeep/esleep

21 May 2006; Markus Rothe
gnustep-make-1.10.0-r2.ebuild:
Stable on ppc64

*gnustep-make-1.12.0-r1 (26 Mar 2006)

26 Mar 2006; Fabian Groffen +files/gnustep.csh,
+files/gnustep.sh, -gnustep-make-1.12.0.ebuild,
+gnustep-make-1.12.0-r1.ebuild:
Adding a config file and profile.d profiles (thanks to Dmitry S. Kulyabov,
bug #117187)

*gnustep-make-1.12.0 (19 Mar 2006)

19 Mar 2006; Fabian Groffen
-gnustep-make-1.10.1_pre20050312-r1.ebuild, +gnustep-make-1.12.0.ebuild:
Version bump to 1.12.0. Removal of masked CVS version as it doesn't work.
Marked ~ppc-macos.

07 Dec 2005; Tom Gall
gnustep-make-1.10.0-r2.ebuild:
added ~ppc64

06 Jun 2005; Armando Di Cianno
-gnustep-make-1.10.0-r1.ebuild, -gnustep-make-1.10.1_pre20050312.ebuild:
Pruned old ebuilds

15 Apr 2005; Armando Di Cianno
gnustep-make-1.10.0-r2.ebuild:
dependency fixes

04 Apr 2005; Gustavo Zacarias
gnustep-make-1.10.0-r2.ebuild:
Stable on sparc

*gnustep-make-1.10.1_pre20050312-r1 (22 Mar 2005)

22 Mar 2005; Armando Di Cianno
+gnustep-make-1.10.0-r2.ebuild,
+gnustep-make-1.10.1_pre20050312-r1.ebuild:
needed to bump for gnustep.eclass changes per bug 86089

*gnustep-make-1.10.1_pre20050312 (17 Mar 2005)

17 Mar 2005; Armando Di Cianno
-gnustep-make-1.10.1_pre20041203.ebuild,
-gnustep-make-1.10.1_pre20050106.ebuild,
+gnustep-make-1.10.1_pre20050312.ebuild:
ebuild updates for GNUstep base, libs, and apps across the board; proper
versions (to be stabilized, in due time) added where apropos, cvs-pull
versions updated where needed

10 Jan 2005; Armando Di Cianno
gnustep-make-1.10.0-r1.ebuild:
Marking stable for x86

*gnustep-make-1.10.1_pre20050106 (10 Jan 2005)

10 Jan 2005; Armando Di Cianno
+gnustep-make-1.10.1_pre20050106.ebuild:
cvs snapshot version bumps; cleaned out old cvs versioned ebuilds; fixed
date spec on ebuild headers as repoman was complaining

29 Dec 2004; Ciaran McCreesh :
Change encoding to UTF-8 for GLEP 31 compliance

13 Dec 2004; Armando Di Cianno -files/helloworld.m,
gnustep-make-1.10.0-r1.ebuild, -gnustep-make-1.10.0.ebuild,
-gnustep-make-1.10.1_pre20041030-r1.ebuild,
-gnustep-make-1.10.1_pre20041030.ebuild,
-gnustep-make-1.10.1_pre20041116.ebuild,
gnustep-make-1.10.1_pre20041203.ebuild:
Cleaned up detection of objc and libff; general cleanups

05 Dec 2004; Armando Di Cianno
gnustep-make-1.10.1_pre20041203.ebuild:
Added some more info if the user has to recompuile gcc with "objc" USE flag,
they may also want to add "gcj" (for libffi) depending on the version of gcc
being recompiled

*gnustep-make-1.10.1_pre20041203 (03 Dec 2004)

03 Dec 2004; Armando Di Cianno
+gnustep-make-1.10.1_pre20041203.ebuild:
General version bump

23 Nov 2004; Jeremy Huddleston
gnustep-make-1.10.1_pre20041030-r1.ebuild:
Stable amd64... bug #68857.

*gnustep-make-1.10.1_pre20041116 (16 Nov 2004)

16 Nov 2004; Armando Di Cianno
+gnustep-make-1.10.1_pre20041116.ebuild:
Version bump

*gnustep-make-1.10.0-r1 (11 Nov 2004)

11 Nov 2004; Armando Di Cianno
+files/GNUstep-reset.sh.patch, +gnustep-make-1.10.0-r1.ebuild,
gnustep-make-1.10.0.ebuild, -gnustep-make-1.10.1_pre20040928.ebuild,
+gnustep-make-1.10.1_pre20041030-r1.ebuild,
gnustep-make-1.10.1_pre20041030.ebuild, -gnustep-make-1.3.4.ebuild,
-gnustep-make-1.5.1.ebuild, -gnustep-make-1.6.0.ebuild,
-gnustep-make-1.7.1.ebuild, -gnustep-make-1.7.2.ebuild:
Mass Update: gnustep.eclass revamped to allow configurable root install;
gnustep-base/libs/apps updated to utilize new gnustep.eclass (only versions
bumped where files would change); some KEYWORDS were accidentally dropped
between version bumps of packages -- this has been resolved; windowmaker
correctly supports gnustep now

*gnustep-make-1.10.1_pre20041030 (02 Nov 2004)

02 Nov 2004; Simon Stelling
gnustep-make-1.10.1_pre20041030.ebuild:
added ~amd64

31 Oct 2004; Bryan Østergaard
gnustep-make-1.10.1_pre20040928.ebuild:
~alpha keyword.

30 Oct 2004; Armando Di Cianno :
Version bump; keyworded for ~ppc

24 Oct 2004; Jason Wever
gnustep-make-1.10.1_pre20040928.ebuild:
Added ~sparc keyword wrt bug #68729.

09 Oct 2004; David Holm gnustep-make-1.10.0.ebuild,
gnustep-make-1.10.1_pre20040928.ebuild:
Added to ~ppc.

03 Oct 2004; Armando Di Cianno
gnustep-make-1.10.0.ebuild, gnustep-make-1.10.1_pre20040928.ebuild:
Updated to use GENTOO_GNUSTEP_ROOT variable from gnustep.eclass

*gnustep-make-1.10.1_pre20040927 (28 Sep 2004)

28 Sep 2004; Armando Di Cianno
+gnustep-make-1.10.1_pre20040928.ebuild:
Version bump; pre release date specd live cvs pull.

*gnustep-make-1.10.0 (08 Sep 2004)

08 Sep 2004; Armando Di Cianno metadata.xml,
+files/helloworld.m, +files/make-user-defaults.patch-1.10.0,
+gnustep-make-1.10.0.ebuild:
Version bump; key'd for ~x86.

06 Sep 2004; Ciaran McCreesh gnustep-make-1.7.2.ebuild:
Switch to use epause and ebeep, bug #62950

25 Jul 2004; Lina Pezzella :
Fixed Manifest.

*gnustep-make-1.5.1 (23 Jul 2004)

23 Jul 2004; Armando Di Cianno +metadata.xml,
+gnustep-make-1.3.4.ebuild, +gnustep-make-1.5.1.ebuild,
+gnustep-make-1.6.0.ebuild, +gnustep-make-1.7.1.ebuild,
+gnustep-make-1.7.2.ebuild:
Moved from dev-util/gnustep-make to gnustep-base/gnustep-make.

01 Jul 2004; Jeremy Huddleston
gnustep-make-1.3.4.ebuild, gnustep-make-1.5.1.ebuild,
gnustep-make-1.6.0.ebuild, gnustep-make-1.7.1.ebuild,
gnustep-make-1.7.2.ebuild:
virtual/glibc -> virtual/libc

04 May 2004; Bryan Østergaard gnustep-make-1.7.2.ebuild:
Stable on alpha.

25 Feb 2004; Sven Blumenstein gnustep-make-1.6.0.ebuild:
Stable on sparc.

29 Jan 2004; Aron Griffis gnustep-make-1.7.2.ebuild:
add ~alpha

*gnustep-make-1.7.2 (30 Jul 2003)

30 Jul 2003; Nick Hadaway gnustep-make-1.7.2.ebuild:
Version bump in the unstable series.

26 Jul 2003; Nick Hadaway *.ebuild:
Removed the references to windowmaker. Closes bugs #25064
and #25069. Updated the format consistency.

13 Jul 2003; Nick Hadaway
gnustep-make-{1.6.0,1.7.1}.ebuild:
Made windowmaker depend on the X use variable.

*gnustep-make-1.7.1 (12 Jul 2003)

12 Jul 2003; Nick Hadaway gnustep-make-1.7.1.ebuild:
Version bump.

11 Jul 2003; Nick Hadaway gnustep-make-1.6.0.ebuild:
Updated dependancies to coincide with the recommended versions
of upstream authors and changed the windowmaker dependancy to
allow for windowmaker-cvs.

26 Jun 2003; root gnustep-make-1.6.0.ebuild:
marked stable for x86

*gnustep-make-1.6.0 (31 Mar 2003)

31 Mar 2003; Alastair Tse gnustep-make-1.6.0.ebuild:
version bump. thanks to Michael R. Taylor . Bug #18280.

*gnustep-make-1.5.1 (19 Jan 2003)

19 Jan 2003; Nick Hadaway gnustep-make-1.5.1.ebuild,
files/digest-gnustep-make-1.5.1 :
Added the latest "unstable" build.

06 Dec 2002; Rodney Rees : changed sparc ~sparc keywords

*gnustep-make-1.4.0 (03 Sep 2002)

03 Sep 2002; Nick Hadaway gnustep-make-1.4.0.ebuild,
files/digest-gnustep-make-1.4.0 :
Version bump.

*gnustep-make-1.3.4-r1 (19 Jul 2002)

19 Jul 2002; Nick hadaway gentoo-make-1.3.4-r1.ebuild :
Scrapped the manual file install. Finally figured out the required
variables to pass to make install.

*gnustep-make-1.3.4 (05 Jul 2002)

19 Jul 2002; Nick Hadaway gentoo-make-1.3.4.ebuild:
Changed mkdir -p to dodir. SLOT and KEYWORDS added.

05 Jul 2002; Nick Hadaway gentoo-make-1.3.4.ebuild:
It seems as soon as you get a package done, a new version is out.
added "makefile.make". Currently masked to keep in line with gnustep-base.

*gnustep-make-1.3.3 (04 Jul 2002)

04 Jul 2002; Nick Hadaway gentoo-make-1.3.3.ebuild:
Updated to the "unstable" tree.

*gnustep-make-1.2.1 (03 Jul 2002)

03 Jul 2002; Nick Hadaway gentoo-make-1.2.1.ebuild:
This is the first ebuild for this package. The first core gnustep
package.

Manifest

AUX gnustep-2.csh 542 RMD160 a0d766a773c26c7ccaea99dfd9e4e807414e2916 SHA1 daa4c41cc6ba57d379645e6bf6d02b17a7c8f663 SHA256 f383929c7274613205ab547a4e43d1bbd007671ffb1e1ef05bcb480f8adec8e2
AUX gnustep-2.sh 552 RMD160 57bf90339da88ba43071731577ba109947ad3483 SHA1 4893638465b7ba744ee35f8a4a6ee46dab4dcf8a SHA256 7a8789cf6187fcc6d30ed9e82c67a0704fc39257923407ec8fb94123dc8bbf9e
AUX gnustep-make-2.0.1-destdir.patch 975 RMD160 c2647803d412c954b546e4352310705aac805159 SHA1 94ea603da99cc6b973ecfbd7e3c3980f53c5da0a SHA256 68e386ad5dfeb90138723081ce0d45fd6c426dbcf9660784eb85707dee7be474
DIST gnustep-make-2.0.4.tar.gz 461957 RMD160 0429777cddb8c7c429545d955c168e5bed507fb7 SHA1 e8b4a8361021792700f6cee8ee7010079ddfcf5f SHA256 60c159673a0acf5ec598747344ddc3d3038482ebe64f910af0b5125cba8d2a44
DIST gnustep-make-2.0.5.tar.gz 472561 RMD160 cc7e7f15c7a7d7ae9643649c598df0b13f52e777 SHA1 3df1b261b28da12da2a7b15aa4489e294f6bc45f SHA256 c03a6b950c475b79a3bc0f0b333170a59bff95b6b29132a0044b5617de5415e3
DIST gnustep-make-2.0.6.tar.gz 477219 RMD160 be2fc9c074349e14987d79842affdd3aec9cb597 SHA1 cc571e596d0490ee9c7e8c24b12f3e37c118e9a4 SHA256 f4731b95f9b16fc8a918d921be00a89b9e65a86734625176e98db224155f9e42
EBUILD gnustep-make-2.0.4.ebuild 2289 RMD160 d347fbe9f12e20ee9efad06d8a514faa7a95cf17 SHA1 9de5d6eace7dde0419033a86a0d337bc3f38346b SHA256 c704f8af9c940606a47ca335f4e0e2f6467cf50a44b5dfcdfa2e53e28f4a2b7f
EBUILD gnustep-make-2.0.5.ebuild 2295 RMD160 7a31415060ef43808cfcd3b11fe158bf37f98ce7 SHA1 a7ace12565042d98a5df697c7c5a485df7d3c5ab SHA256 d8fbdc5b1a31b50b3a342c2d9460954726a7a8a81506829e2c53614fe5ea0a41
EBUILD gnustep-make-2.0.6.ebuild 2295 RMD160 f1ad2ec31c7ac5b0f88ae01be16fe465cbe36790 SHA1 fedad2c51af7e1280026bfb4504b909b8be747ea SHA256 43f8117b6ac89dfe8b0298797d76c35b7028a3dcfd01b2119528a57f005af149
MISC ChangeLog 14380 RMD160 458d68962cb65a7464a3d799bc3c5c8af9c2f608 SHA1 10a9e237bf3344279532e81caa4be290179c15da SHA256 d1cd3465dc905cac0535653f468f914a1fedee1682eb170be047704a9b19b752
MISC metadata.xml 530 RMD160 00cac411a415bf03b7834a2245da74bfffc46844 SHA1 79407b9b92ae22d7e51f57c2354da5e34113f94b SHA256 0b45770527e32829be622d108ef32a5022eed02b767778fe23e91a34f6b575c9

files

gnustep-make-2.0.4.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/gnustep-base/gnustep-make/gnustep-make-2.0.4.ebuild,v 1.6 2008/05/12 15:17:27 corsair Exp $

inherit gnustep-base eutils

DESCRIPTION="GNUstep Makefile Package"

HOMEPAGE="http://www.gnustep.org"
SRC_URI="ftp://ftp.gnustep.org/pub/gnustep/core/${P}.tar.gz"
KEYWORDS="~alpha amd64 ppc ppc64 sparc x86 ~x86-fbsd"
SLOT="0"
LICENSE="GPL-2"

DEPEND="${GNUSTEP_CORE_DEPEND}
>=sys-devel/make-3.75"
RDEPEND="${DEPEND}"

pkg_setup() {
gnustep-base_pkg_setup

if ! built_with_use sys-devel/gcc objc; then
ewarn "gcc must be compiled with Objective-C support! See the objc USE flag."
die "ObjC support not available"
fi
}

src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${PN}-2.0.1-destdir.patch
}

src_compile() {
local myconf
myconf="--prefix=${GNUSTEP_PREFIX} --with-layout=gnustep"
myconf="$myconf --with-config-file=/etc/GNUstep/GNUstep.conf"
myconf="$myconf --enable-native-objc-exceptions"
econf $myconf || die "configure failed"

emake
# Prepare doc here (needed when no gnustep-make is already installed)
if use doc ; then
# If a gnustep-1 environment is set
unset GNUSTEP_MAKEFILES
cd Documentation
emake -j1 all install || die "doc make has failed"
cd ..
fi
}

src_install() {
# Get GNUSTEP_* variables
. ./GNUstep.conf

local make_eval="-j1"
use debug || make_eval="${make_eval} debug=no"
make_eval="${make_eval} verbose=yes"

emake ${make_eval} DESTDIR="${D}" install || die "install has failed"

# Copy the documentation
if use doc ; then
dodir ${GNUSTEP_SYSTEM_LIBRARY}
cp -r Documentation/tmp-installation/System/Library/Documentation \
"${D}"${GNUSTEP_SYSTEM_LIBRARY}
fi

exeinto /etc/profile.d
doexe "${FILESDIR}"/gnustep-2.sh
doexe "${FILESDIR}"/gnustep-2.csh

dodir /etc/env.d
cat <<- EOF > "${D}"/etc/env.d/99gnustep
PATH=${GNUSTEP_SYSTEM_TOOLS}:${GNUSTEP_LOCAL_TOOLS}
ROOTPATH=${GNUSTEP_SYSTEM_TOOLS}:${GNUSTEP_LOCAL_TOOLS}
LDPATH=${GNUSTEP_SYSTEM_LIBRARIES}:${GNUSTEP_LOCAL_LIBRARIES}
MANPATH=${GNUSTEP_SYSTEM_DOC_MAN}:${GNUSTEP_LOCAL_DOC_MAN}
INFOPATH=${GNUSTEP_SYSTEM_DOC_INFO}:${GNUSTEP_LOCAL_DOC_INFO}
INFODIR=${GNUSTEP_SYSTEM_DOC_INFO}:${GNUSTEP_LOCAL_DOC_INFO}
EOF
}

gnustep-make-2.0.5.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/gnustep-base/gnustep-make/gnustep-make-2.0.5.ebuild,v 1.1 2008/03/19 16:12:29 voyageur Exp $

inherit gnustep-base eutils

DESCRIPTION="GNUstep Makefile Package"

HOMEPAGE="http://www.gnustep.org"
SRC_URI="ftp://ftp.gnustep.org/pub/gnustep/core/${P}.tar.gz"
KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
SLOT="0"
LICENSE="GPL-2"

DEPEND="${GNUSTEP_CORE_DEPEND}
>=sys-devel/make-3.75"
RDEPEND="${DEPEND}"

pkg_setup() {
gnustep-base_pkg_setup

if ! built_with_use sys-devel/gcc objc; then
ewarn "gcc must be compiled with Objective-C support! See the objc USE flag."
die "ObjC support not available"
fi
}

src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${PN}-2.0.1-destdir.patch
}

src_compile() {
local myconf
myconf="--prefix=${GNUSTEP_PREFIX} --with-layout=gnustep"
myconf="$myconf --with-config-file=/etc/GNUstep/GNUstep.conf"
myconf="$myconf --enable-native-objc-exceptions"
econf $myconf || die "configure failed"

emake
# Prepare doc here (needed when no gnustep-make is already installed)
if use doc ; then
# If a gnustep-1 environment is set
unset GNUSTEP_MAKEFILES
cd Documentation
emake -j1 all install || die "doc make has failed"
cd ..
fi
}

src_install() {
# Get GNUSTEP_* variables
. ./GNUstep.conf

local make_eval="-j1"
use debug || make_eval="${make_eval} debug=no"
make_eval="${make_eval} verbose=yes"

emake ${make_eval} DESTDIR="${D}" install || die "install has failed"

# Copy the documentation
if use doc ; then
dodir ${GNUSTEP_SYSTEM_LIBRARY}
cp -r Documentation/tmp-installation/System/Library/Documentation \
"${D}"${GNUSTEP_SYSTEM_LIBRARY}
fi

exeinto /etc/profile.d
doexe "${FILESDIR}"/gnustep-2.sh
doexe "${FILESDIR}"/gnustep-2.csh

dodir /etc/env.d
cat <<- EOF > "${D}"/etc/env.d/99gnustep
PATH=${GNUSTEP_SYSTEM_TOOLS}:${GNUSTEP_LOCAL_TOOLS}
ROOTPATH=${GNUSTEP_SYSTEM_TOOLS}:${GNUSTEP_LOCAL_TOOLS}
LDPATH=${GNUSTEP_SYSTEM_LIBRARIES}:${GNUSTEP_LOCAL_LIBRARIES}
MANPATH=${GNUSTEP_SYSTEM_DOC_MAN}:${GNUSTEP_LOCAL_DOC_MAN}
INFOPATH=${GNUSTEP_SYSTEM_DOC_INFO}:${GNUSTEP_LOCAL_DOC_INFO}
INFODIR=${GNUSTEP_SYSTEM_DOC_INFO}:${GNUSTEP_LOCAL_DOC_INFO}
EOF
}

gnustep-make-2.0.6.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/gnustep-base/gnustep-make/gnustep-make-2.0.6.ebuild,v 1.1 2008/06/16 09:32:14 voyageur Exp $

inherit gnustep-base eutils

DESCRIPTION="GNUstep Makefile Package"

HOMEPAGE="http://www.gnustep.org"
SRC_URI="ftp://ftp.gnustep.org/pub/gnustep/core/${P}.tar.gz"
KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
SLOT="0"
LICENSE="GPL-2"

DEPEND="${GNUSTEP_CORE_DEPEND}
>=sys-devel/make-3.75"
RDEPEND="${DEPEND}"

pkg_setup() {
gnustep-base_pkg_setup

if ! built_with_use sys-devel/gcc objc; then
ewarn "gcc must be compiled with Objective-C support! See the objc USE flag."
die "ObjC support not available"
fi
}

src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${PN}-2.0.1-destdir.patch
}

src_compile() {
local myconf
myconf="--prefix=${GNUSTEP_PREFIX} --with-layout=gnustep"
myconf="$myconf --with-config-file=/etc/GNUstep/GNUstep.conf"
myconf="$myconf --enable-native-objc-exceptions"
econf $myconf || die "configure failed"

emake
# Prepare doc here (needed when no gnustep-make is already installed)
if use doc ; then
# If a gnustep-1 environment is set
unset GNUSTEP_MAKEFILES
cd Documentation
emake -j1 all install || die "doc make has failed"
cd ..
fi
}

src_install() {
# Get GNUSTEP_* variables
. ./GNUstep.conf

local make_eval="-j1"
use debug || make_eval="${make_eval} debug=no"
make_eval="${make_eval} verbose=yes"

emake ${make_eval} DESTDIR="${D}" install || die "install has failed"

# Copy the documentation
if use doc ; then
dodir ${GNUSTEP_SYSTEM_LIBRARY}
cp -r Documentation/tmp-installation/System/Library/Documentation \
"${D}"${GNUSTEP_SYSTEM_LIBRARY}
fi

exeinto /etc/profile.d
doexe "${FILESDIR}"/gnustep-2.sh
doexe "${FILESDIR}"/gnustep-2.csh

dodir /etc/env.d
cat <<- EOF > "${D}"/etc/env.d/99gnustep
PATH=${GNUSTEP_SYSTEM_TOOLS}:${GNUSTEP_LOCAL_TOOLS}
ROOTPATH=${GNUSTEP_SYSTEM_TOOLS}:${GNUSTEP_LOCAL_TOOLS}
LDPATH=${GNUSTEP_SYSTEM_LIBRARIES}:${GNUSTEP_LOCAL_LIBRARIES}
MANPATH=${GNUSTEP_SYSTEM_DOC_MAN}:${GNUSTEP_LOCAL_DOC_MAN}
INFOPATH=${GNUSTEP_SYSTEM_DOC_INFO}:${GNUSTEP_LOCAL_DOC_INFO}
INFODIR=${GNUSTEP_SYSTEM_DOC_INFO}:${GNUSTEP_LOCAL_DOC_INFO}
EOF
}

metadata.xml




gnustep

The makefile package is a simple, powerful and extensible way to write
makefiles for a GNUstep-based project. It allows the user to write a
project without having to deal with the complex issues associated with
configuration, building, installation, and packaging. It also allows
the user to easily create cross-compiled binaries.