pkgsrc-Changes archive

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

CVS commit: pkgsrc/games/prboom-plus



Module Name:    pkgsrc
Committed By:   micha
Date:           Fri Feb 11 15:43:35 UTC 2022

Modified Files:
        pkgsrc/games/prboom-plus: Makefile PLIST

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

Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 pkgsrc/games/prboom-plus/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/games/prboom-plus/PLIST

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/games/prboom-plus/Makefile
diff -u pkgsrc/games/prboom-plus/Makefile:1.9 pkgsrc/games/prboom-plus/Makefile:1.10
--- pkgsrc/games/prboom-plus/Makefile:1.9       Fri Feb 11 15:12:42 2022
+++ pkgsrc/games/prboom-plus/Makefile   Fri Feb 11 15:43:35 2022
@@ -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_MESSAGE.install=      Preparing INSTALL
 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
 

Index: pkgsrc/games/prboom-plus/PLIST
diff -u pkgsrc/games/prboom-plus/PLIST:1.2 pkgsrc/games/prboom-plus/PLIST:1.3
--- pkgsrc/games/prboom-plus/PLIST:1.2  Fri Feb 11 15:12:42 2022
+++ pkgsrc/games/prboom-plus/PLIST      Fri Feb 11 15:43:35 2022
@@ -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/boom.txt
 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