pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/games/chocolate-doom



Module Name:    pkgsrc
Committed By:   nia
Date:           Fri Aug 30 22:08:36 UTC 2019

Modified Files:
        pkgsrc/games/chocolate-doom: Makefile PLIST

Log Message:
chocolate-doom: install icons to the right directory


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/games/chocolate-doom/Makefile \
    pkgsrc/games/chocolate-doom/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/chocolate-doom/Makefile
diff -u pkgsrc/games/chocolate-doom/Makefile:1.1 pkgsrc/games/chocolate-doom/Makefile:1.2
--- pkgsrc/games/chocolate-doom/Makefile:1.1    Fri Aug 30 17:33:25 2019
+++ pkgsrc/games/chocolate-doom/Makefile        Fri Aug 30 22:08:36 2019
@@ -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+=            data/convert-icon
 REPLACE_PYTHON+=               man/docgen
 REPLACE_PYTHON+=               man/simplecpp
 
-.include "../../lang/python/application.mk"
+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"
Index: pkgsrc/games/chocolate-doom/PLIST
diff -u pkgsrc/games/chocolate-doom/PLIST:1.1 pkgsrc/games/chocolate-doom/PLIST:1.2
--- pkgsrc/games/chocolate-doom/PLIST:1.1       Fri Aug 30 17:33:25 2019
+++ pkgsrc/games/chocolate-doom/PLIST   Fri Aug 30 22:08:36 2019
@@ -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/PHILOSOPHY.md
 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