summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Olexa <darkside@gentoo.org>2011-09-24 20:53:13 +0000
committerJeremy Olexa <darkside@gentoo.org>2011-09-24 20:53:13 +0000
commit99dd28d7bf88c4793040c73dea7d4588a1f1c40d (patch)
tree90ef6ff9a5566eb4d908ce2b958c70b9903cf2f4 /app-misc/gtypist
parentversion bump for TeXLive 2011 (diff)
downloadgentoo-2-99dd28d7bf88c4793040c73dea7d4588a1f1c40d.tar.gz
gentoo-2-99dd28d7bf88c4793040c73dea7d4588a1f1c40d.tar.bz2
gentoo-2-99dd28d7bf88c4793040c73dea7d4588a1f1c40d.zip
revision bump to include colemak typing lesson for fun, take maintainership
(Portage version: 2.1.10.19/cvs/Linux x86_64)
Diffstat (limited to 'app-misc/gtypist')
-rw-r--r--app-misc/gtypist/ChangeLog8
-rw-r--r--app-misc/gtypist/gtypist-2.8.5-r1.ebuild64
-rw-r--r--app-misc/gtypist/metadata.xml3
3 files changed, 72 insertions, 3 deletions
diff --git a/app-misc/gtypist/ChangeLog b/app-misc/gtypist/ChangeLog
index 80308690b234..9df543100451 100644
--- a/app-misc/gtypist/ChangeLog
+++ b/app-misc/gtypist/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-misc/gtypist
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/gtypist/ChangeLog,v 1.27 2011/07/27 00:49:00 xmw Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/gtypist/ChangeLog,v 1.28 2011/09/24 20:53:13 darkside Exp $
+
+*gtypist-2.8.5-r1 (24 Sep 2011)
+
+ 24 Sep 2011; Jeremy Olexa <darkside@gentoo.org> +gtypist-2.8.5-r1.ebuild,
+ metadata.xml:
+ revision bump to include colemak typing lesson for fun, take maintainership
27 Jul 2011; Michael Weber <xmw@gentoo.org> -gtypist-2.8.3.ebuild:
Drop old version
diff --git a/app-misc/gtypist/gtypist-2.8.5-r1.ebuild b/app-misc/gtypist/gtypist-2.8.5-r1.ebuild
new file mode 100644
index 000000000000..8702d1aa91fa
--- /dev/null
+++ b/app-misc/gtypist/gtypist-2.8.5-r1.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/gtypist/gtypist-2.8.5-r1.ebuild,v 1.1 2011/09/24 20:53:13 darkside Exp $
+
+EAPI=2
+
+inherit eutils elisp-common
+
+DESCRIPTION="Universal typing tutor"
+HOMEPAGE="http://www.gnu.org/software/gtypist/"
+SRC_URI="mirror://gnu/gtypist/${P}.tar.gz
+ mirror://gentoo/colemak.typ.gz"
+
+LICENSE="GPL-2 public-domain"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="nls emacs xemacs"
+
+DEPEND=">=sys-libs/ncurses-5.2
+ emacs? ( virtual/emacs )
+ xemacs? ( !emacs? ( app-editors/xemacs app-xemacs/fsf-compat ) )"
+
+RDEPEND="${DEPEND}"
+
+SITEFILE=50${PN}-gentoo.el
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-2.8.3-xemacs-compat.patch
+}
+
+src_configure() {
+ local lispdir=""
+ if use emacs; then
+ lispdir="${SITELISP}/${PN}"
+ einfo "Configuring to build with GNU Emacs support"
+ elif use xemacs; then
+ lispdir="/usr/lib/xemacs/site-packages/lisp/${PN}"
+ einfo "Configuring to build with XEmacs support"
+ fi
+
+ econf $(use_enable nls) \
+ EMACS=$(usev emacs || usev xemacs || echo no) \
+ --with-lispdir="${lispdir}"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ dodoc AUTHORS ChangeLog NEWS README THANKS TODO || die
+
+ insinto /usr/share/gtypist
+ doins "${WORKDIR}"/colemak.typ
+
+ if use emacs; then
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
+ fi
+}
+
+pkg_postinst() {
+ use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+ use emacs && elisp-site-regen
+}
diff --git a/app-misc/gtypist/metadata.xml b/app-misc/gtypist/metadata.xml
index f9d50da18d39..cfa314824d9b 100644
--- a/app-misc/gtypist/metadata.xml
+++ b/app-misc/gtypist/metadata.xml
@@ -2,7 +2,6 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer>
- <email>maintainer-needed@gentoo.org</email>
- <description>This package lacks a primary herd or maintainer.</description>
+ <email>darkside@gentoo.org</email>
</maintainer>
</pkgmetadata>