Skip to content

Commit

Permalink
games/prboom-plus: Install XDG desktop and icon files
Browse files Browse the repository at this point in the history
Bump PKGREVISION.
  • Loading branch information
micha committed Feb 11, 2022
1 parent 623c14e commit ce6d17c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
9 changes: 8 additions & 1 deletion games/prboom-plus/Makefile
Original file line number Diff line number Diff line change
@@ -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}
Expand Down Expand Up @@ -35,11 +36,17 @@ SUBST_MESSAGE.install= Preparing INSTALL.pkgsrc file ...
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

Expand Down
4 changes: 3 additions & 1 deletion games/prboom-plus/PLIST
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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

0 comments on commit ce6d17c

Please sign in to comment.