summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregorio Guidi <greg_g@gentoo.org>2005-07-09 21:26:27 +0000
committerGregorio Guidi <greg_g@gentoo.org>2005-07-09 21:26:27 +0000
commitce7cdeba9d5ec88785593a9445aaa1a805c6f93e (patch)
treeba46941679d52bbf7d1c26be09bda684f86eed13 /games-board/kcheckers/kcheckers-0.6.ebuild
parentpatch for *bsd people (diff)
downloadhistorical-ce7cdeba9d5ec88785593a9445aaa1a805c6f93e.tar.gz
historical-ce7cdeba9d5ec88785593a9445aaa1a805c6f93e.tar.bz2
historical-ce7cdeba9d5ec88785593a9445aaa1a805c6f93e.zip
New version. Remove dependency on kde.
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'games-board/kcheckers/kcheckers-0.6.ebuild')
-rw-r--r--games-board/kcheckers/kcheckers-0.6.ebuild38
1 files changed, 38 insertions, 0 deletions
diff --git a/games-board/kcheckers/kcheckers-0.6.ebuild b/games-board/kcheckers/kcheckers-0.6.ebuild
new file mode 100644
index 000000000000..2b8440260a7d
--- /dev/null
+++ b/games-board/kcheckers/kcheckers-0.6.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-board/kcheckers/kcheckers-0.6.ebuild,v 1.1 2005/07/09 21:26:27 greg_g Exp $
+
+inherit qt3 games
+
+DESCRIPTION="Qt version of the classic boardgame checkers."
+HOMEPAGE="http://kcheckers.org/"
+SRC_URI="http://kcheckers.org/${P}.tar.gz"
+LICENSE="GPL-2"
+
+SLOT="0"
+KEYWORDS="~ppc ~x86"
+IUSE=""
+
+DEPEND="=x11-libs/qt-3*"
+
+pkg_setup() {
+ qt3_pkg_setup
+ games_pkg_setup
+}
+
+src_compile() {
+ sed -i -e 's,/usr/local,/usr,' config.h kcheckers.pro
+
+ ${QTDIR}/bin/qmake || die "qmake failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ dogamesbin kcheckers || die "dogamesbin failed"
+ dodoc AUTHORS ChangeLog README TODO
+
+ insinto /usr/share/kcheckers
+ doins i18n/kcheckers_de.qm i18n/kcheckers_ru.qm kcheckers.pdn
+
+ prepgamesdirs
+}