pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/games/astromenace
Module Name: pkgsrc
Committed By: nia
Date: Thu Sep 12 20:48:19 UTC 2019
Modified Files:
pkgsrc/games/astromenace: Makefile PLIST
Log Message:
astromenace: Install desktop file and icons.
Bump PKGREVISION.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/games/astromenace/Makefile \
pkgsrc/games/astromenace/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/astromenace/Makefile
diff -u pkgsrc/games/astromenace/Makefile:1.1 pkgsrc/games/astromenace/Makefile:1.2
--- pkgsrc/games/astromenace/Makefile:1.1 Thu Sep 12 17:09:55 2019
+++ pkgsrc/games/astromenace/Makefile Thu Sep 12 20:48:19 2019
@@ -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_ARG_PATH= ${WRKSRC}
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 @@ do-install:
${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"
Index: pkgsrc/games/astromenace/PLIST
diff -u pkgsrc/games/astromenace/PLIST:1.1 pkgsrc/games/astromenace/PLIST:1.2
--- pkgsrc/games/astromenace/PLIST:1.1 Thu Sep 12 17:09:55 2019
+++ pkgsrc/games/astromenace/PLIST Thu Sep 12 20:48:19 2019
@@ -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