pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/games/powder powder: Update to 118



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ac2b77966eaa
branches:  trunk
changeset: 442471:ac2b77966eaa
user:      nia <nia%pkgsrc.org@localhost>
date:      Tue Nov 24 18:10:03 2020 +0000

description:
powder: Update to 118

Added a desktop menu entry, manual page, and made it honor CFLAGS.

Upstream changes unknown.

diffstat:

 games/powder/Makefile             |  18 ++++++++++++++----
 games/powder/PLIST                |   5 ++++-
 games/powder/distinfo             |  10 +++++-----
 games/powder/files/powder.6       |  21 +++++++++++++++++++++
 games/powder/files/powder.desktop |   8 ++++++++
 5 files changed, 52 insertions(+), 10 deletions(-)

diffs (112 lines):

diff -r 84a191093d23 -r ac2b77966eaa games/powder/Makefile
--- a/games/powder/Makefile     Tue Nov 24 17:49:54 2020 +0000
+++ b/games/powder/Makefile     Tue Nov 24 18:10:03 2020 +0000
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.8 2018/07/18 00:06:17 joerg Exp $
+# $NetBSD: Makefile,v 1.9 2020/11/24 18:10:03 nia Exp $
 #
 
-DISTNAME=      powder117_src
+DISTNAME=      powder118_src
 PKGNAME=       ${DISTNAME:S/_src//:S/powder/powder-/}
-PKGREVISION=   1
 CATEGORIES=    games
 MASTER_SITES=  http://www.zincland.com/powder/release/
 
@@ -16,14 +15,23 @@
 USE_TOOLS+=    bash gmake
 
 INSTALLATION_DIRS=     bin share/doc/powder
+INSTALLATION_DIRS+=    share/applications
+INSTALLATION_DIRS+=    share/icons/hicolor/48x48/apps
+INSTALLATION_DIRS+=    ${PKGMANDIR}/man6
 
 REPLACE_BASH=  buildall.sh gfx/rebuild.sh rooms/buildrooms.bash
 
 do-build:
-       cd ${WRKSRC} && ./buildall.sh
+       cd ${WRKSRC} && ${MAKE_ENV} ./buildall.sh
 
 do-install:
        ${INSTALL_PROGRAM} ${WRKSRC}/powder ${DESTDIR}${PREFIX}/bin
+       ${INSTALL_DATA} ${FILESDIR}/powder.desktop \
+               ${DESTDIR}${PREFIX}/share/applications
+       ${INSTALL_DATA} ${FILESDIR}/powder.6 \
+               ${DESTDIR}${PREFIX}/${PKGMANDIR}/man6
+       ${INSTALL_DATA} ${WRKSRC}/port/android/powder/res/drawable-mdpi/ic_launcher.png \
+               ${DESTDIR}${PREFIX}/share/icons/hicolor/48x48/apps/powder.png
        ${INSTALL_DATA} ${WRKSRC}/CREDITS.TXT \
                ${DESTDIR}${PREFIX}/share/doc/powder
        ${INSTALL_DATA} ${WRKSRC}/LICENSE.TXT \
@@ -32,4 +40,6 @@
                ${DESTDIR}${PREFIX}/share/doc/powder
 
 .include "../../devel/SDL/buildlink3.mk"
+.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
+.include "../../sysutils/desktop-file-utils/desktopdb.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 84a191093d23 -r ac2b77966eaa games/powder/PLIST
--- a/games/powder/PLIST        Tue Nov 24 17:49:54 2020 +0000
+++ b/games/powder/PLIST        Tue Nov 24 18:10:03 2020 +0000
@@ -1,5 +1,8 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2010/06/08 08:45:38 wiz Exp $
+@comment $NetBSD: PLIST,v 1.2 2020/11/24 18:10:03 nia Exp $
 bin/powder
+man/man6/powder.6
+share/applications/powder.desktop
 share/doc/powder/CREDITS.TXT
 share/doc/powder/LICENSE.TXT
 share/doc/powder/README.TXT
+share/icons/hicolor/48x48/apps/powder.png
diff -r 84a191093d23 -r ac2b77966eaa games/powder/distinfo
--- a/games/powder/distinfo     Tue Nov 24 17:49:54 2020 +0000
+++ b/games/powder/distinfo     Tue Nov 24 18:10:03 2020 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.5 2015/11/03 20:57:01 agc Exp $
+$NetBSD: distinfo,v 1.6 2020/11/24 18:10:03 nia Exp $
 
-SHA1 (powder117_src.tar.gz) = 968aed7171e48ea08abd951da679e30feb11545d
-RMD160 (powder117_src.tar.gz) = 52d8cbdc6f14e9fbaa38544c4f93307e7758e4dc
-SHA512 (powder117_src.tar.gz) = cdbf67d6d582af39c40cc0872411725d0c296326b21cf8efbe7c7ccd11cd3c831ad129e5e91fb661f938a399ac799509e5123653494f54398c55750026bc6736
-Size (powder117_src.tar.gz) = 1891043 bytes
+SHA1 (powder118_src.tar.gz) = 9e1b0fb2e59f4d05e75b10da65acd437a2ef29d7
+RMD160 (powder118_src.tar.gz) = 4273c515bde70db0e89f83c7d17e9bafbe6d8169
+SHA512 (powder118_src.tar.gz) = df2b6abd7453e7636588d13cf02a830ce1ebb8820bdb369afb3374ffd273fe5ef58e97ec35d8463cdb3d8b67e86f2b4afe0bcff7ee8ab5e2b7805a1b6209944c
+Size (powder118_src.tar.gz) = 1941412 bytes
diff -r 84a191093d23 -r ac2b77966eaa games/powder/files/powder.6
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/powder/files/powder.6       Tue Nov 24 18:10:03 2020 +0000
@@ -0,0 +1,21 @@
+.TH POWDER 6 "March  3, 2008"
+.SH NAME
+powder \- graphical dungeon crawling game
+.SH SYNOPSIS
+.B powder
+.SH DESCRIPTION
+This manual page documents briefly the
+.B powder
+command.
+.PP
+\fBpowder\fP is a graphical dungeon crawling game.
+.SH OPTIONS
+This program has no options.
+.SH SEE ALSO
+.BR hack (6)
+.br
+.SH AUTHOR
+powder was written by Jeff Lait.
+.PP
+This manual page was written by G\[:u]rkan Myczko <gurkan%phys.ethz.ch@localhost>,
+for the Debian project (but may be used by others).
diff -r 84a191093d23 -r ac2b77966eaa games/powder/files/powder.desktop
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/powder/files/powder.desktop Tue Nov 24 18:10:03 2020 +0000
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Name=Powder
+Comment=Graphical dungeon crawling game
+Exec=powder
+Icon=powder
+Terminal=false
+Type=Application
+Categories=Game;AdventureGame;



Home | Main Index | Thread Index | Old Index