pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/games/chocolate-doom chocolate-doom: install icons to ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/be879a843e5d
branches: trunk
changeset: 400600:be879a843e5d
user: nia <nia%pkgsrc.org@localhost>
date: Fri Aug 30 22:08:36 2019 +0000
description:
chocolate-doom: install icons to the right directory
diffstat:
games/chocolate-doom/Makefile | 16 ++++++++++++++--
games/chocolate-doom/PLIST | 7 ++++---
2 files changed, 18 insertions(+), 5 deletions(-)
diffs (54 lines):
diff -r 932e5ae98bca -r be879a843e5d games/chocolate-doom/Makefile
--- a/games/chocolate-doom/Makefile Fri Aug 30 19:22:58 2019 +0000
+++ b/games/chocolate-doom/Makefile Fri Aug 30 22:08:36 2019 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.1 2019/08/30 17:33:25 micha Exp $
+# $NetBSD: Makefile,v 1.2 2019/08/30 22:08:36 nia Exp $
DISTNAME= chocolate-doom-3.0.0
+PKGREVISION= 1
CATEGORIES= games
MASTER_SITES= http://www.chocolate-doom.org/downloads/${PKGVERSION_NOREV}/
@@ -26,11 +27,22 @@
REPLACE_PYTHON+= man/docgen
REPLACE_PYTHON+= man/simplecpp
+INSTALLATION_DIRS+= share/icons/hicolor/48x48/apps
+INSTALLATION_DIRS+= share/icons/hicolor/128x128/apps
+
+post-install:
+ ${INSTALL_DATA} ${WRKSRC}/pkg/osx/Resources/app.png \
+ ${DESTDIR}${PREFIX}/share/icons/hicolor/48x48/apps/chocolate-doom.png
+ ${MV} ${DESTDIR}${PREFIX}/share/icons/chocolate-doom.png \
+ ${DESTDIR}${PREFIX}/share/icons/hicolor/128x128/apps
+ ${MV} ${DESTDIR}${PREFIX}/share/icons/chocolate-setup.png \
+ ${DESTDIR}${PREFIX}/share/icons/hicolor/128x128/apps
+
.include "../../lang/python/application.mk"
-
.include "../../audio/SDL2_mixer/buildlink3.mk"
.include "../../audio/libsamplerate/buildlink3.mk"
.include "../../devel/SDL2/buildlink3.mk"
+.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../net/SDL2_net/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
diff -r 932e5ae98bca -r be879a843e5d games/chocolate-doom/PLIST
--- a/games/chocolate-doom/PLIST Fri Aug 30 19:22:58 2019 +0000
+++ b/games/chocolate-doom/PLIST Fri Aug 30 22:08:36 2019 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2019/08/30 17:33:25 micha Exp $
+@comment $NetBSD: PLIST,v 1.2 2019/08/30 22:08:36 nia Exp $
bin/chocolate-doom
bin/chocolate-doom-setup
bin/chocolate-heretic
@@ -70,5 +70,6 @@
share/doc/chocolate-strife/README.Music.md
share/doc/chocolate-strife/README.Strife.md
share/doc/chocolate-strife/README.md
-share/icons/chocolate-doom.png
-share/icons/chocolate-setup.png
+share/icons/hicolor/128x128/apps/chocolate-doom.png
+share/icons/hicolor/128x128/apps/chocolate-setup.png
+share/icons/hicolor/48x48/apps/chocolate-doom.png
Home |
Main Index |
Thread Index |
Old Index