pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/games/astromenace astromenace: Install desktop file an...
details: https://anonhg.NetBSD.org/pkgsrc/rev/97912a67a25f
branches: trunk
changeset: 339583:97912a67a25f
user: nia <nia%pkgsrc.org@localhost>
date: Thu Sep 12 20:48:19 2019 +0000
description:
astromenace: Install desktop file and icons.
Bump PKGREVISION.
diffstat:
games/astromenace/Makefile | 19 +++++++++++++++++--
games/astromenace/PLIST | 5 ++++-
2 files changed, 21 insertions(+), 3 deletions(-)
diffs (57 lines):
diff -r bc98ef62ff7e -r 97912a67a25f games/astromenace/Makefile
--- a/games/astromenace/Makefile Thu Sep 12 20:47:56 2019 +0000
+++ b/games/astromenace/Makefile Thu Sep 12 20:48:19 2019 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.1 2019/09/12 17:09:55 ryoon Exp $
+# $NetBSD: Makefile,v 1.2 2019/09/12 20:48:19 nia Exp $
DISTNAME= astromenace-1.4.1
+PKGREVISION= 1
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_GITHUB:=viewizard/}
GITHUB_PROJECT= astromenace
@@ -20,7 +21,14 @@
CMAKE_ARGS+= -DDATADIR=${PREFIX}/share/astromenace
-INSTALLATION_DIRS+= bin share/astromenace
+ICON_SIZES= 64 128
+
+INSTALLATION_DIRS+= bin
+INSTALLATION_DIRS+= share/applications
+INSTALLATION_DIRS+= share/astromenace
+.for s in ${ICON_SIZES}
+INSTALLATION_DIRS+= share/icons/hicolor/${s}x${s}/apps
+.endfor
pre-configure:
${MKDIR} ${WRKSRC}/${OBJDIR}
@@ -30,10 +38,17 @@
${DESTDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/${OBJDIR}/gamedata.vfs \
${DESTDIR}${PREFIX}/share/astromenace
+ ${INSTALL_DATA} ${WRKSRC}/share/astromenace.desktop \
+ ${DESTDIR}${PREFIX}/share/applications
+.for s in ${ICON_SIZES}
+ ${INSTALL_DATA} ${WRKSRC}/share/astromenace_${s}.png \
+ ${DESTDIR}${PREFIX}/share/icons/hicolor/${s}x${s}/apps
+.endfor
.include "../../audio/freealut/buildlink3.mk"
.include "../../audio/libvorbis/buildlink3.mk"
.include "../../devel/SDL2/buildlink3.mk"
.include "../../graphics/glu/buildlink3.mk"
+.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../graphics/freetype2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff -r bc98ef62ff7e -r 97912a67a25f games/astromenace/PLIST
--- a/games/astromenace/PLIST Thu Sep 12 20:47:56 2019 +0000
+++ b/games/astromenace/PLIST Thu Sep 12 20:48:19 2019 +0000
@@ -1,3 +1,6 @@
-@comment $NetBSD: PLIST,v 1.1 2019/09/12 17:09:55 ryoon Exp $
+@comment $NetBSD: PLIST,v 1.2 2019/09/12 20:48:19 nia Exp $
bin/astromenace
+share/applications/astromenace.desktop
share/astromenace/gamedata.vfs
+share/icons/hicolor/128x128/apps/astromenace_128.png
+share/icons/hicolor/64x64/apps/astromenace_64.png
Home |
Main Index |
Thread Index |
Old Index