summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2007-08-21 22:57:37 +0000
committerUlrich Müller <ulm@gentoo.org>2007-08-21 22:57:37 +0000
commit1ffef2093c7902f02519f12dc90c82d41725aabd (patch)
tree068a846feaf4f4f54dbf84cc3ab987f2acc1fef0 /app-editors
parentprofiles/default-linux/x86/no-nptl/2.4: Masking media-sound/denemo becuase of... (diff)
downloadhistorical-1ffef2093c7902f02519f12dc90c82d41725aabd.tar.gz
historical-1ffef2093c7902f02519f12dc90c82d41725aabd.tar.bz2
historical-1ffef2093c7902f02519f12dc90c82d41725aabd.zip
Generate score files in pkg_postinst.
Package-Manager: portage-2.1.3.6
Diffstat (limited to 'app-editors')
-rw-r--r--app-editors/emacs/ChangeLog5
-rw-r--r--app-editors/emacs/emacs-22.1.ebuild7
2 files changed, 10 insertions, 2 deletions
diff --git a/app-editors/emacs/ChangeLog b/app-editors/emacs/ChangeLog
index e51483380f66..6d86f90162ab 100644
--- a/app-editors/emacs/ChangeLog
+++ b/app-editors/emacs/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-editors/emacs
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs/ChangeLog,v 1.170 2007/07/01 16:09:44 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs/ChangeLog,v 1.171 2007/08/21 22:57:37 ulm Exp $
+
+ 21 Aug 2007; Ulrich Mueller <ulm@gentoo.org> emacs-22.1.ebuild:
+ Generate score files in pkg_postinst.
01 Jul 2007; Ulrich Mueller <ulm@gentoo.org>
files/emacs-22.1-Xaw3d-headers.patch:
diff --git a/app-editors/emacs/emacs-22.1.ebuild b/app-editors/emacs/emacs-22.1.ebuild
index ce3cada33b68..f7c592ee76c1 100644
--- a/app-editors/emacs/emacs-22.1.ebuild
+++ b/app-editors/emacs/emacs-22.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs/emacs-22.1.ebuild,v 1.11 2007/06/25 05:57:15 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs/emacs-22.1.ebuild,v 1.12 2007/08/21 22:57:37 ulm Exp $
WANT_AUTOCONF="2.61"
WANT_AUTOMAKE="latest"
@@ -199,6 +199,11 @@ pkg_postinst() {
test -f ${ROOT}/usr/share/emacs/site-lisp/subdirs.el ||
cp ${ROOT}/usr/share/emacs{/${FULL_VERSION},}/site-lisp/subdirs.el
+ local f
+ for f in ${ROOT}/var/lib/games/emacs/{snake,tetris}-scores; do
+ test -e ${f} || touch ${f}
+ done
+
elisp-site-regen
emacs-infodir-rebuild