From 33c854620faa00c599379e6f39a1fe453b5ddc22 Mon Sep 17 00:00:00 2001 From: marino Date: Sun, 11 Dec 2011 21:02:29 +0000 Subject: editors/emacs-nox11: Update emacs.desktop to launch in Terminal Tweak behavior of emacs-nox11 launched from gnome or kde desktop. This change makes emacs-nox11 always get launched inside a terminal from those desktops. --- editors/emacs-nox11/Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/editors/emacs-nox11/Makefile b/editors/emacs-nox11/Makefile index e7cd9d64def..1aac32d90b3 100644 --- a/editors/emacs-nox11/Makefile +++ b/editors/emacs-nox11/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.31 2010/06/01 21:47:00 minskim Exp $ +# $NetBSD: Makefile,v 1.32 2011/12/11 21:02:29 marino Exp $ PKGNAME= ${DISTNAME:S/-/-nox11-/} @@ -15,4 +15,11 @@ CONFIGURE_ARGS+= --without-dbus --without-m17n-flt --without-otf \ --without-gif --without-jpeg --without-png \ --without-tiff --without-xpm +## Update emacs.desktop to launch emacs-nox11 in Terminal +SUBST_CLASSES+= term +SUBST_STAGE.term= post-patch +SUBST_MESSAGE.term= Enabling desktop launch in Terminal +SUBST_FILES.term= etc/emacs.desktop +SUBST_SED.term= -e 's,^Terminal=.*,Terminal=true,' + .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3