diff options
author | nia <nia@pkgsrc.org> | 2019-09-12 20:48:19 +0000 |
---|---|---|
committer | nia <nia@pkgsrc.org> | 2019-09-12 20:48:19 +0000 |
commit | 1d3e42b16fa87abfe42884d7815ea9f8d03418f5 (patch) | |
tree | 0e762af74de53802009b606e6dcc96ec2c9e3bfb /games | |
parent | 78a4c33978d2a88237b76561100770862c27de3e (diff) | |
download | pkgsrc-1d3e42b16fa87abfe42884d7815ea9f8d03418f5.tar.gz |
astromenace: Install desktop file and icons.
Bump PKGREVISION.
Diffstat (limited to 'games')
-rw-r--r-- | games/astromenace/Makefile | 19 | ||||
-rw-r--r-- | games/astromenace/PLIST | 5 |
2 files changed, 21 insertions, 3 deletions
diff --git a/games/astromenace/Makefile b/games/astromenace/Makefile index 0302d1c9d9e..d3224775fc1 100644 --- a/games/astromenace/Makefile +++ b/games/astromenace/Makefile @@ -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" diff --git a/games/astromenace/PLIST b/games/astromenace/PLIST index 69c3fd8242f..8dd85b627f6 100644 --- a/games/astromenace/PLIST +++ b/games/astromenace/PLIST @@ -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 |