summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2007-02-13 19:56:26 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2007-02-13 19:56:26 +0000
commite1547e855958d82dcc308a75e71dbe36f7416b39 (patch)
tree0e04d7d3a5384d4ce377ebbbcbdde31b8891b305 /games-board
parent* Automatically add Junit.present=true to ant properties when in the test phase (diff)
downloadgentoo-2-e1547e855958d82dcc308a75e71dbe36f7416b39.tar.gz
gentoo-2-e1547e855958d82dcc308a75e71dbe36f7416b39.tar.bz2
gentoo-2-e1547e855958d82dcc308a75e71dbe36f7416b39.zip
clean up src_install; configure is not an autoconf script
(Portage version: 2.1.1-r2)
Diffstat (limited to 'games-board')
-rw-r--r--games-board/eboard/ChangeLog5
-rw-r--r--games-board/eboard/eboard-1.0.3.ebuild22
2 files changed, 15 insertions, 12 deletions
diff --git a/games-board/eboard/ChangeLog b/games-board/eboard/ChangeLog
index 94248c9b0828..7799c15232a3 100644
--- a/games-board/eboard/ChangeLog
+++ b/games-board/eboard/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-board/eboard
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/eboard/ChangeLog,v 1.16 2007/02/13 19:06:02 nyhm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-board/eboard/ChangeLog,v 1.17 2007/02/13 19:56:26 mr_bones_ Exp $
+
+ 13 Feb 2007; Michael Sterrett <mr_bones_@gentoo.org> eboard-1.0.3.ebuild:
+ clean up src_install; configure is not an autoconf script
13 Feb 2007; Tristan Heaven <nyhm@gentoo.org> eboard-1.0.3.ebuild:
Remove media-libs/imlib dependency, bug #166073
diff --git a/games-board/eboard/eboard-1.0.3.ebuild b/games-board/eboard/eboard-1.0.3.ebuild
index b4f9d1b2cb98..580d88eb3881 100644
--- a/games-board/eboard/eboard-1.0.3.ebuild
+++ b/games-board/eboard/eboard-1.0.3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/eboard/eboard-1.0.3.ebuild,v 1.2 2007/02/13 19:06:02 nyhm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-board/eboard/eboard-1.0.3.ebuild,v 1.3 2007/02/13 19:56:26 mr_bones_ Exp $
inherit eutils games
@@ -30,24 +30,24 @@ src_unpack() {
cd "${S}"
sed -i \
- -e "/DATADIR/ s:\$dataprefix:${GAMES_DATADIR}:" \
- -e "s:(\"-O6\"):split(' ', \"${CXXFLAGS}\"):" configure \
+ -e "s:(\"-O6\"):split(' ', \"${CXXFLAGS}\"):" \
+ configure \
|| die "sed configure failed"
}
src_compile() {
- egamesconf $(use_enable nls) || die
+ # not an autoconf script
+ ./configure \
+ --prefix="${GAMES_PREFIX}" \
+ --data-prefix="${GAMES_DATADIR}" \
+ --man-prefix="/usr/share/man" \
+ $(use_enable nls) || die
emake || die "emake failed"
}
src_install() {
- emake \
- prefix="${D}/${GAMES_PREFIX}" \
- bindir="${D}/${GAMES_BINDIR}" \
- mandir="${D}/usr/share/man" \
- datadir="${D}/${GAMES_DATADIR}/${PN}" \
- install || die "emake install failed"
- dodoc README AUTHORS ChangeLog TODO Documentation/* || die "dodoc failed"
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc README AUTHORS ChangeLog TODO Documentation/*
newicon k18.xpm ${PN}.xpm
make_desktop_entry ${PN} ${PN} ${PN}.xpm