diff options
author | hauke <hauke@pkgsrc.org> | 2020-09-24 11:51:47 +0000 |
---|---|---|
committer | hauke <hauke@pkgsrc.org> | 2020-09-24 11:51:47 +0000 |
commit | 4f81a37d314c12bb18839acf8aa3375d28693c59 (patch) | |
tree | 249a97a57e2ba10376af7dc2eb64b7ce0605b75f /editors/xemacs-current/Makefile | |
parent | 89b8a6b70c7900ebc64ca3e5593035dc9d7d00e6 (diff) | |
download | pkgsrc-4f81a37d314c12bb18839acf8aa3375d28693c59.tar.gz |
editors/xemacs{,-current} - Install an xemacs.desktop file, which makes
XEmacs more easily available to X11 desktop applications.
Diffstat (limited to 'editors/xemacs-current/Makefile')
-rw-r--r-- | editors/xemacs-current/Makefile | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/editors/xemacs-current/Makefile b/editors/xemacs-current/Makefile index d841ac2c874..a2637269b6b 100644 --- a/editors/xemacs-current/Makefile +++ b/editors/xemacs-current/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.104 2020/08/31 18:09:26 wiz Exp $ +# $NetBSD: Makefile,v 1.105 2020/09/24 11:51:48 hauke Exp $ PKGNAME= ${DISTNAME} -PKGREVISION= 12 +PKGREVISION= 13 COMMENT= *BETA* XEmacs text editor version ${PKGVERSION_NOREV} # extra options for x11 support, not for sharing with xemacs-current-nox11 @@ -11,5 +11,18 @@ PKG_SUPPORTED_OPTIONS+= x11 xft xface PKG_SUGGESTED_OPTIONS+= x11 .include "options.mk" + +LIBDIR= ${PREFIX}/lib/${DISTNAME} + +SUBST_CLASSES+= desktop-file +SUBST_STAGE.desktop-file= pre-configure +SUBST_MESSAGE.desktop-file= Fixing paths in XEmacs desktop file +SUBST_VARS.desktop-file= PREFIX LIBDIR +SUBST_FILES.desktop-file= etc/xemacs.desktop + +INSTALLATION_DIRS+= share/applications + .include "Makefile.common" + +.include "../../sysutils/desktop-file-utils/desktopdb.mk" .include "../../mk/bsd.pkg.mk" |