pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/emulators/e-uae Add .desktop file so users can start i...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0775df6333b3
branches:  trunk
changeset: 551814:0775df6333b3
user:      ahoka <ahoka%pkgsrc.org@localhost>
date:      Sat Dec 20 15:16:52 2008 +0000

description:
Add .desktop file so users can start it from a freedesktop compatible menu.

diffstat:

 emulators/e-uae/Makefile            |   9 ++++++---
 emulators/e-uae/PLIST               |   3 ++-
 emulators/e-uae/files/e-uae.desktop |  12 ++++++++++++
 3 files changed, 20 insertions(+), 4 deletions(-)

diffs (62 lines):

diff -r 45b5be86f01c -r 0775df6333b3 emulators/e-uae/Makefile
--- a/emulators/e-uae/Makefile  Sat Dec 20 14:43:10 2008 +0000
+++ b/emulators/e-uae/Makefile  Sat Dec 20 15:16:52 2008 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.6 2007/08/16 22:23:46 joerg Exp $
+# $NetBSD: Makefile,v 1.7 2008/12/20 15:16:52 ahoka Exp $
 
 DISTNAME=      e-uae-0.8.28
-PKGREVISION=   2
+PKGREVISION=   3
 CATEGORIES=    emulators
 MASTER_SITES=  http://www.rcdrummond.net/uae/e-uae-0.8.28/
 EXTRACT_SUFX=  .tar.bz2
@@ -17,13 +17,16 @@
 USE_LIBTOOL=           yes
 USE_TOOLS+=            gmake
 GNU_CONFIGURE=         yes
+USE_DIRS+=             xdg-1.4
 
 .include "options.mk"
 
-INSTALLATION_DIRS=     share/doc/uae
+INSTALLATION_DIRS=     share/doc/uae \
+                       share/applications
 
 post-install:
        cd ${WRKSRC}/docs && ${INSTALL_DATA} *.txt ${DESTDIR}${PREFIX}/share/doc/uae
+       ${INSTALL_DATA} ${FILESDIR}/e-uae.desktop ${DESTDIR}${PREFIX}/share/applications
 
 .include "../../devel/zlib/buildlink3.mk"
 .include "../../mk/oss.buildlink3.mk"
diff -r 45b5be86f01c -r 0775df6333b3 emulators/e-uae/PLIST
--- a/emulators/e-uae/PLIST     Sat Dec 20 14:43:10 2008 +0000
+++ b/emulators/e-uae/PLIST     Sat Dec 20 15:16:52 2008 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2006/01/24 20:21:46 adam Exp $
+@comment $NetBSD: PLIST,v 1.2 2008/12/20 15:16:52 ahoka Exp $
 bin/readdisk
 bin/uae
 share/doc/uae/bsdsocket.txt
@@ -9,4 +9,5 @@
 share/doc/uae/joystick.txt
 share/doc/uae/keyboard.txt
 share/doc/uae/scsi.txt
+share/applications/e-uae.desktop
 @dirrm share/doc/uae
diff -r 45b5be86f01c -r 0775df6333b3 emulators/e-uae/files/e-uae.desktop
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/e-uae/files/e-uae.desktop       Sat Dec 20 15:16:52 2008 +0000
@@ -0,0 +1,12 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=e-uae
+Comment=Ubiquitous Amiga Emulator
+Comment[tr]=Amiga Emülatörü
+Comment[hu]=Amiga Emulátor
+Exec=uae
+Icon=package_games_arcade
+Terminal=false
+Type=Application
+Categories=Application;Game;Emulator
+StartupNotify=false



Home | Main Index | Thread Index | Old Index