diff options
Diffstat (limited to 'app-emacs/yow')
-rw-r--r-- | app-emacs/yow/ChangeLog | 7 | ||||
-rw-r--r-- | app-emacs/yow/yow-21.4_p20020329.ebuild | 22 |
2 files changed, 21 insertions, 8 deletions
diff --git a/app-emacs/yow/ChangeLog b/app-emacs/yow/ChangeLog index 743d3795dfea..e096940cf477 100644 --- a/app-emacs/yow/ChangeLog +++ b/app-emacs/yow/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for app-emacs/yow -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-emacs/yow/ChangeLog,v 1.3 2007/12/21 08:06:55 opfer Exp $ +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-emacs/yow/ChangeLog,v 1.4 2008/06/16 20:11:32 ulm Exp $ + + 16 Jun 2008; Ulrich Mueller <ulm@gentoo.org> yow-21.4_p20020329.ebuild: + Add an elog message to pkg_postinst. 21 Dec 2007; Christian Faulhammer <opfer@gentoo.org> yow-21.4_p20020329.ebuild: diff --git a/app-emacs/yow/yow-21.4_p20020329.ebuild b/app-emacs/yow/yow-21.4_p20020329.ebuild index 2eade166c272..394cfcfef3f4 100644 --- a/app-emacs/yow/yow-21.4_p20020329.ebuild +++ b/app-emacs/yow/yow-21.4_p20020329.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emacs/yow/yow-21.4_p20020329.ebuild,v 1.3 2007/12/21 08:06:55 opfer Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emacs/yow/yow-21.4_p20020329.ebuild,v 1.4 2008/06/16 20:11:32 ulm Exp $ inherit elisp eutils @@ -10,7 +10,8 @@ HOMEPAGE="http://www.gnu.org/software/emacs/" SRC_URI="mirror://gnu/emacs/${MY_P}a.tar.gz" # A slightly different version of yow.lines is also included with -# games-misc/fortune-mod which is under a BSD licence. +# app-xemacs/cookie, and also with games-misc/fortune-mod which is +# under a BSD licence. LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 x86" @@ -25,12 +26,21 @@ src_unpack() { epatch "${FILESDIR}/${PN}-fix-misspellings.patch" } -src_compile() { - return -} +src_compile() { :; } src_install() { insinto "${SITEETC}" doins yow.lines || die elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die } + +pkg_postinst() { + elisp-site-regen + + elog "To add a menu-bar item for \"yow\" (as it used to be in Emacs 21)," + elog "add the following lines to your ~/.emacs file:" + elog + elog " (define-key-after menu-bar-games-menu [yow]" + elog " '(menu-item \"Random Quotation\" yow" + elog " :help \"Display a random Zippy quotation\")" +} |