From d2c30c50cc381a4205dca204e5894ab8acbbc4dc Mon Sep 17 00:00:00 2001
From: Ashish SHUKLA <ashish@FreeBSD.org>
Date: Thu, 24 Jul 2014 14:38:01 +0000
Subject: [PATCH] - Update to bzr snapshot revision 117564

---
 editors/emacs-devel/Makefile  | 3 +--
 editors/emacs-devel/distinfo  | 4 ++--
 editors/emacs-devel/pkg-plist | 8 +++-----
 3 files changed, 6 insertions(+), 9 deletions(-)

diff --git a/editors/emacs-devel/Makefile b/editors/emacs-devel/Makefile
index 805ab3fbf226..9fe94a0e74d7 100644
--- a/editors/emacs-devel/Makefile
+++ b/editors/emacs-devel/Makefile
@@ -3,7 +3,6 @@
 
 PORTNAME=	emacs
 PORTVERSION=	${EMACS_VER}.${EMACS_REV}
-PORTREVISION=	3
 PORTEPOCH=	2
 CATEGORIES=	editors ipv6
 MASTER_SITES=	http://distfiles.pirateparty.in/%SUBDIR%/ \
@@ -23,7 +22,7 @@ CONFLICTS=	emacs-19.* emacs21-[0-9]* emacs22-[0-9]* emacs23-[0-9]* \
 		emacs-nox11-[0-9]*
 
 EMACS_VER=	24.4.50
-EMACS_REV=	117036
+EMACS_REV=	117564
 GNU_CONFIGURE=	yes
 USES=		gmake makeinfo ncurses pkgconfig shebangfix tar:xz
 CPPFLAGS+=	-I${LOCALBASE}/include
diff --git a/editors/emacs-devel/distinfo b/editors/emacs-devel/distinfo
index eca017c6f81b..7c7cc1f18ed3 100644
--- a/editors/emacs-devel/distinfo
+++ b/editors/emacs-devel/distinfo
@@ -1,2 +1,2 @@
-SHA256 (emacs-24.4.50.117036.tar.xz) = 1436ae398891101e07ada703535b64fbcf0155ef5084a2664ac1ec9f968c431e
-SIZE (emacs-24.4.50.117036.tar.xz) = 30693720
+SHA256 (emacs-24.4.50.117564.tar.xz) = fb2525836a770cc1f93e2f381b4a2af5dc70809aeef57be8de4d5fead3834342
+SIZE (emacs-24.4.50.117564.tar.xz) = 31067732
diff --git a/editors/emacs-devel/pkg-plist b/editors/emacs-devel/pkg-plist
index 137f617bf000..04553c346d97 100644
--- a/editors/emacs-devel/pkg-plist
+++ b/editors/emacs-devel/pkg-plist
@@ -15,7 +15,6 @@ share/applications/emacs.desktop
 %%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/site-lisp/site-start.el
 %%DATADIR%%/%%EMACS_VER%%/site-lisp/subdirs.el
 %%DATADIR%%/site-lisp/subdirs.el
-%%INFODIR%%/dir
 share/icons/hicolor/128x128/apps/emacs.png
 share/icons/hicolor/16x16/apps/emacs.png
 share/icons/hicolor/24x24/apps/emacs.png
@@ -23,8 +22,6 @@ share/icons/hicolor/32x32/apps/emacs.png
 share/icons/hicolor/48x48/apps/emacs.png
 share/icons/hicolor/scalable/apps/emacs.svg
 share/icons/hicolor/scalable/mimetypes/emacs-document.svg
-/var/games/emacs/snake-scores
-/var/games/emacs/tetris-scores
 @dirrm %%INFODIR%%
 @dirrmtry %%DATADIR%%/%%EMACS_VER%%/site-lisp
 @dirrmtry share/icons/hicolor/scalable/mimetypes
@@ -42,6 +39,7 @@ share/icons/hicolor/scalable/mimetypes/emacs-document.svg
 @dirrmtry share/icons/hicolor/128x128
 @dirrmtry share/icons/hicolor
 @dirrmtry share/icons
-@unexec if [ ! -s /var/games/emacs/snake-scores ]; then rm -f /var/games/emacs/snake-scores; fi
-@unexec if [ ! -s /var/games/emacs/tetris-scores ]; then rm -f /var/games/emacs/tetris-scores; fi
 @unexec rmdir /var/games/emacs 2>/dev/null || true
+@cwd /var/games/emacs
+snake-scores
+tetris-scores