summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-emacs/chess/chess-2.0_beta3.ebuild')
-rw-r--r--app-emacs/chess/chess-2.0_beta3.ebuild52
1 files changed, 52 insertions, 0 deletions
diff --git a/app-emacs/chess/chess-2.0_beta3.ebuild b/app-emacs/chess/chess-2.0_beta3.ebuild
new file mode 100644
index 000000000000..14ff4a660fd5
--- /dev/null
+++ b/app-emacs/chess/chess-2.0_beta3.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/chess/chess-2.0_beta3.ebuild,v 1.1 2002/11/01 02:52:00 mkennedy Exp $
+
+inherit elisp
+
+IUSE=""
+
+DESCRIPTION="A chess client and library for Emacs"
+HOMEPAGE="http://emacs-chess.sourceforge.net/"
+SRC_URI="mirror://sourceforge/emacs-chess/${P/_beta/b}.tar.bz2
+ mirror://gentoo/emacs-chess-sounds-2.0.tar.bz2
+ mirror://gentoo/emacs-chess-pieces-2.0.tar.bz2"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+
+DEPEND="virtual/emacs"
+RDEPEND="${DEPEND}
+ app-games/gnuchess"
+
+S="${WORKDIR}/${P/_beta/b}"
+
+SITEFILE=50chess-gentoo.el
+
+src_unpack() {
+ unpack ${A}
+ cd ${S} && rm -f *.elc
+}
+
+src_compile() {
+ make || die
+}
+
+src_install() {
+ elisp-install ${PN} *.el *.elc
+ elisp-site-file-install ${FILESDIR}/${SITEFILE}
+
+ cp -r ${S}/../pieces ${S}/../sounds ${D}/${SITELISP}/${PN}
+
+ doinfo chess.info
+ dohtml *.html
+ dodoc COPYING ChangeLog EPD.txt PGN.txt PLAN README TODO
+}
+
+pkg_postinst() {
+ elisp-site-regen
+}
+
+pkg_postrm() {
+ elisp-site-regen
+}