pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/games/prboom-plus games/prboom-plus: Install XDG deskt...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/13b79a952ea3
branches:  trunk
changeset: 373506:13b79a952ea3
user:      micha <micha%pkgsrc.org@localhost>
date:      Fri Feb 11 15:43:35 2022 +0000

description:
games/prboom-plus: Install XDG desktop and icon files

Bump PKGREVISION.

diffstat:

 games/prboom-plus/Makefile |  9 ++++++++-
 games/prboom-plus/PLIST    |  4 +++-
 2 files changed, 11 insertions(+), 2 deletions(-)

diffs (50 lines):

diff -r 54e9e9bbb4c7 -r 13b79a952ea3 games/prboom-plus/Makefile
--- a/games/prboom-plus/Makefile        Fri Feb 11 15:20:14 2022 +0000
+++ b/games/prboom-plus/Makefile        Fri Feb 11 15:43:35 2022 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.9 2022/02/11 15:12:42 micha Exp $
+# $NetBSD: Makefile,v 1.10 2022/02/11 15:43:35 micha Exp $
 
 DISTNAME=      prboom-plus-2.6.2
+PKGREVISION=   1
 CATEGORIES=    games
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=coelckers/}
 GITHUB_TAG=    v${PKGVERSION_NOREV}
@@ -35,11 +36,17 @@
 SUBST_FILES.install=   ${WRKDIR}/INSTALL.pkgsrc
 SUBST_SED.install=     -e 's,DOOMWADDIR,${PREFIX}/${DOOMWADDIR},'
 
+INSTALLATION_DIRS=     share/applications share/icons/hicolor/scalable/apps
+
 pre-configure:
        cd ${WRKSRC}; mkdir build
        ${CP} ${FILESDIR}/INSTALL.pkgsrc ${WRKDIR}
 
 post-install:
+       ${INSTALL_DATA} ${WRKSRC}/ICONS/prboom-plus.desktop \
+               ${DESTDIR}${PREFIX}/share/applications/prboom-plus.desktop
+       ${INSTALL_DATA} ${WRKSRC}/ICONS/prboom-plus.svg \
+               ${DESTDIR}${PREFIX}/share/icons/hicolor/scalable/apps/prboom-plus.svg
        ${INSTALL_DATA} ${WRKDIR}/INSTALL.pkgsrc \
                ${DESTDIR}${PREFIX}/share/doc/prboom-plus/INSTALL.pkgsrc
 
diff -r 54e9e9bbb4c7 -r 13b79a952ea3 games/prboom-plus/PLIST
--- a/games/prboom-plus/PLIST   Fri Feb 11 15:20:14 2022 +0000
+++ b/games/prboom-plus/PLIST   Fri Feb 11 15:43:35 2022 +0000
@@ -1,9 +1,10 @@
-@comment $NetBSD: PLIST,v 1.2 2022/02/11 15:12:42 micha Exp $
+@comment $NetBSD: PLIST,v 1.3 2022/02/11 15:43:35 micha Exp $
 bin/prboom-plus
 bin/prboom-plus-game-server
 man/man5/prboom-plus.cfg.5
 man/man6/prboom-plus-game-server.6
 man/man6/prboom-plus.6
+share/applications/prboom-plus.desktop
 share/doc/prboom-plus/DeePBSPV4specs.txt
 share/doc/prboom-plus/INSTALL.pkgsrc
 share/doc/prboom-plus/MBF.txt
@@ -16,3 +17,4 @@
 share/doc/prboom-plus/prboom-plus-usage.txt
 share/doc/prboom-plus/umapinfo.txt
 share/doom/prboom-plus.wad
+share/icons/hicolor/scalable/apps/prboom-plus.svg



Home | Main Index | Thread Index | Old Index