summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-misc/gtypist')
-rw-r--r--app-misc/gtypist/ChangeLog7
-rw-r--r--app-misc/gtypist/Manifest16
-rw-r--r--app-misc/gtypist/gtypist-2.8.5.ebuild60
3 files changed, 73 insertions, 10 deletions
diff --git a/app-misc/gtypist/ChangeLog b/app-misc/gtypist/ChangeLog
index 1c76939cd4f2..f6a51a787c6e 100644
--- a/app-misc/gtypist/ChangeLog
+++ b/app-misc/gtypist/ChangeLog
@@ -1,6 +1,11 @@
# 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.22 2011/04/22 23:20:45 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/gtypist/ChangeLog,v 1.23 2011/05/10 08:39:59 xmw Exp $
+
+*gtypist-2.8.5 (10 May 2011)
+
+ 10 May 2011; Michael Weber <xmw@gentoo.org> +gtypist-2.8.5.ebuild:
+ Version bump (thanks to Nick Bowler, bug 365893)
22 Apr 2011; Tim Harder <radhermit@gentoo.org> -gtypist-2.7.ebuild,
-gtypist-2.7-r1.ebuild, -files/gtypist-2.7-xemacs-compat.patch,
diff --git a/app-misc/gtypist/Manifest b/app-misc/gtypist/Manifest
index 6535dced2000..d92d2e1b4aa2 100644
--- a/app-misc/gtypist/Manifest
+++ b/app-misc/gtypist/Manifest
@@ -1,20 +1,18 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
+Hash: SHA256
AUX 50gtypist-gentoo.el 182 RMD160 bb3f58bfc2b10a4054842028712a9ba68f051758 SHA1 4acf0819faeb45b17fe8048ea75962ede9f6f388 SHA256 3274e8829cc488918e9f2676ad00e4aa12f06ca6147f128c54c105245b971b11
AUX gtypist-2.8.3-xemacs-compat.patch 592 RMD160 64f9b24f4afa2bc289d6ce10e9485f8bf6e3e030 SHA1 01c3f04e8cc244c8a7588bb4ba31e38493037b4a SHA256 d84203768ba48675969286c9e448023ccd34f04bdf16a004487903b127536c82
DIST gtypist-2.8.3.tar.gz 1120289 RMD160 139a61badcc2324dc28b7313967187689a1d87ce SHA1 ac7b22c5ac4d6bb6359edb687b0810b3bb357ee7 SHA256 07cc52c36c26b1eb45ec3ec463e97ccc8b3a7ced8221dec8b43b5af28471f7e4
+DIST gtypist-2.8.5.tar.gz 1148279 RMD160 403e3b8fc87ba477717c7ccdbcc461289684a8ab SHA1 51c80e457a76e79fc99bbb39b5459a446cc8f109 SHA256 a58b7551a8ca0dd841d230d519c265e8e448c13f517688e029c8ded011cc9d17
EBUILD gtypist-2.8.3.ebuild 1489 RMD160 2e035ecace0fdb08ec14f47e32d640d957864906 SHA1 5e4519fdeec4936add5d19e217ad2dd8e7802010 SHA256 d5160bfa68fe6a804e85241ed6b128b77a833e0e767a93723bb362d556b646ea
-MISC ChangeLog 2900 RMD160 39255a836abaa680846c00048b27e65f8bbd7cde SHA1 6eea78c0ec71c1b067787d642400d23e99563d58 SHA256 8c67b4ea60399d9779a4074ed84e2c2badf1c7bf2d3ca857a74220694dfc0123
+EBUILD gtypist-2.8.5.ebuild 1385 RMD160 a775fb25b3c39994788e8dcaa489e8ccb94705de SHA1 7c3987d7846f71bf6bbf548338da3a9bc58777fb SHA256 ddc8cf7eda16e3cea51e74ba4a70d027d3611068b438c7cd39864816a2c0975e
+MISC ChangeLog 3045 RMD160 c3fb3f8712699c95b9a0a1a6d165bda2cc0894ba SHA1 8c3094635e173963661d7bc7c567074d63f36d2d SHA256 03ff1a9e7d48a4e20782b89bf8ca2466b460e3c554e5a30620aced86971423c2
MISC metadata.xml 314 RMD160 25181cde297628576a9545bea3a76601485bfaf3 SHA1 ac16b621acf5a22b64859e3323d466fb556fc4c8 SHA256 736baab77aea9c4da199c01e3cd6877c271bd02357ff9b41b537a2232c6e96d7
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
-iQEcBAEBAgAGBQJNsg1XAAoJEEqz6FtPBkyjEGQH/ikoGy+XOXmuHONRg9PCOivV
-a66BiTq8lwaBR3uOembPp8QoeF7UZru0PmGbHqmcBc0fOIm6Ai7p8rrMC9ly8rDy
-cV6PyoEfk4N+yBD4FMBs/0PQ6aPCQVFO7l5NK+8vlUBWpVOYllljuMSNfGZor03a
-YKluwgT5NQfZEf+kSFyM0bDJ7YHMl82s50Emt3ohreHbqxM7IAES2jI5EXRgY0JY
-9VBUCjiltz3Slrx+3TVXkFSbPV7DebpYmCT0jqDvl+cRhdwPxOJQ5GO0IV8PT0h3
-HF0dJStiiTxnC0pGRD1D2jsG1RyuGBeOE1Jwztsp9ynw9EP6wDmn9vwZnVEbXwA=
-=89sg
+iF4EAREIAAYFAk3I+ewACgkQknrdDGLu8JD2lAD8CbI8QFOVtnD/KQJt0SnRywS1
+hBjZoVkFljRDik+XIv0A/ig3fz/oXt+efY/Vd+fSa++z4JbVr/DiN1UiJlmje7Hv
+=t2Wp
-----END PGP SIGNATURE-----
diff --git a/app-misc/gtypist/gtypist-2.8.5.ebuild b/app-misc/gtypist/gtypist-2.8.5.ebuild
new file mode 100644
index 000000000000..4ec180577c14
--- /dev/null
+++ b/app-misc/gtypist/gtypist-2.8.5.ebuild
@@ -0,0 +1,60 @@
+# 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.ebuild,v 1.1 2011/05/10 08:39:59 xmw 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"
+
+LICENSE="GPL-2"
+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
+
+ 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
+}