# Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="A multi-player game of strategy and coordination" HOMEPAGE="http://cns-web.bu.edu/pub/xpip/html/xbattle.html" SRC_URI="ftp://cns-ftp.bu.edu/pub/xbattle/${P}.tar.gz" LICENSE="xbattle" # See file COPYRIGHT in the xbattle tarball SLOT="0" KEYWORDS="~x86" IUSE="" DEPEND="virtual/x11" src_compile() { # Before xmkmf, should we modify DEFAULT_* defines ? xmkmf || die "xmkmf failed" emake CDEBUGFLAGS="${CFLAGS}" || die "parallel make failed" } src_install() { dobin xbattle newbin tutorial1 xbattle-tutorial1 newbin tutorial2 xbattle-tutorial2 newman xbattle.man xbattle.1 dodoc README } pkg_postinst() { einfo 'You may be interested by these tutorials:' einfo ' $ xbattle-tutorial1' einfo ' $ xbattle-tutorial2' }