svn commit: r444575 - in head/games/hyperrogue: . files
Dmitry Marakasov
amdmi3 at FreeBSD.org
Wed Jun 28 12:46:48 UTC 2017
Author: amdmi3
Date: Wed Jun 28 12:46:46 2017
New Revision: 444575
URL: https://svnweb.freebsd.org/changeset/ports/444575
Log:
- Update to 9.4g
Added:
head/games/hyperrogue/files/patch-sound.cpp (contents, props changed)
Deleted:
head/games/hyperrogue/files/patch-graph.cpp
Modified:
head/games/hyperrogue/Makefile
head/games/hyperrogue/distinfo
head/games/hyperrogue/files/patch-Makefile.am
head/games/hyperrogue/pkg-plist
Modified: head/games/hyperrogue/Makefile
==============================================================================
--- head/games/hyperrogue/Makefile Wed Jun 28 12:45:39 2017 (r444574)
+++ head/games/hyperrogue/Makefile Wed Jun 28 12:46:46 2017 (r444575)
@@ -2,8 +2,8 @@
# $FreeBSD$
PORTNAME= hyperrogue
-PORTVERSION= 8.3j
-PORTREVISION= 1
+PORTVERSION= 9.4g
+DISTVERSIONPREFIX= v
CATEGORIES= games
MAINTAINER= amdmi3 at FreeBSD.org
@@ -41,8 +41,6 @@ OPTIONS_DEFINE= DOCS
post-install:
${INSTALL_DATA} ${WRKSRC}/hr-icon.ico ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.ico
- @${MV} ${STAGEDIR}${DATADIR}/music/* ${STAGEDIR}${DATADIR}
- @${RMDIR} ${STAGEDIR}${DATADIR}/music
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
Modified: head/games/hyperrogue/distinfo
==============================================================================
--- head/games/hyperrogue/distinfo Wed Jun 28 12:45:39 2017 (r444574)
+++ head/games/hyperrogue/distinfo Wed Jun 28 12:46:46 2017 (r444575)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1488028592
-SHA256 (zenorogue-hyperrogue-8.3j_GH0.tar.gz) = f6cf02cd22eeb59af96952ab5d63c6a67815e318b4906ddde54c37696b36f2d0
-SIZE (zenorogue-hyperrogue-8.3j_GH0.tar.gz) = 47350032
+TIMESTAMP = 1498498940
+SHA256 (zenorogue-hyperrogue-v9.4g_GH0.tar.gz) = 62b611185afc045f83c837e592ceadc28b27ef6ffb09ca1adc11cc79c22008cc
+SIZE (zenorogue-hyperrogue-v9.4g_GH0.tar.gz) = 57345565
Modified: head/games/hyperrogue/files/patch-Makefile.am
==============================================================================
--- head/games/hyperrogue/files/patch-Makefile.am Wed Jun 28 12:45:39 2017 (r444574)
+++ head/games/hyperrogue/files/patch-Makefile.am Wed Jun 28 12:46:46 2017 (r444575)
@@ -1,20 +1,11 @@
---- Makefile.am.orig 2016-08-26 16:36:03 UTC
+--- Makefile.am.orig 2017-04-15 02:52:00 UTC
+++ Makefile.am
-@@ -6,15 +6,14 @@ dist_doc_DATA = README.md
+@@ -6,7 +6,7 @@ dist_doc_DATA = README.md
hyperrogue_SOURCES = hyper.cpp savepng.c
# Some definitions used in graph.cpp
--hyperrogue_CPPFLAGS = -DFONTDESTDIR=\"$(pkgdatadir)/DejaVuSans-Bold.ttf\" -DMUSICDESTDIR=\"$(pkgdatadir)/hyperrogue-music.txt\" -O2
-+hyperrogue_CPPFLAGS = -DFONTDESTDIR=\"$(pkgdatadir)/DejaVuSans-Bold.ttf\" -DMUSICDESTDIR=\"$(pkgdatadir)/hyperrogue-music.txt\"
+-hyperrogue_CPPFLAGS = -DFONTDESTDIR=\"$(pkgdatadir)/DejaVuSans-Bold.ttf\" -DMUSICDESTDIR=\"$(pkgdatadir)/hyperrogue-music.txt\" -DSOUNDDESTDIR=\"$(pkgdatadir)/sounds/\" -O2
++hyperrogue_CPPFLAGS = -DFONTDESTDIR=\"$(pkgdatadir)/DejaVuSans-Bold.ttf\" -DMUSICDESTDIR=\"$(pkgdatadir)/hyperrogue-music.txt\" -DSOUNDDESTDIR=\"$(pkgdatadir)/sounds/\"
# Musicdir
musicdir=$(datadir)/hyperrogue/music
- dist_music_DATA = music/hr3-caves.ogg music/hr3-desert.ogg music/hr3-hell.ogg music/hr3-jungle.ogg music/hr3-mirror.ogg music/hr3-rlyeh.ogg music/hr3-crossroads.ogg music/hr3-graveyard.ogg music/hr3-icyland.ogg music/hr3-laboratory.ogg music/hr3-motion.ogg
-
- music/hyperrogue-music.txt: hyperrogue
-- cp hyperrogue-music.txt music/hyperrogue-music.txt
-- sed -i 's+music+$(pkgdatadir)/music+g' music/hyperrogue-music.txt
-+ sed 's+music+$(pkgdatadir)/music+g' <hyperrogue-music.txt >music/hyperrogue-music.txt
-
- # Langen binary rules
- noinst_PROGRAMS = langen
Added: head/games/hyperrogue/files/patch-sound.cpp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/hyperrogue/files/patch-sound.cpp Wed Jun 28 12:46:46 2017 (r444575)
@@ -0,0 +1,11 @@
+--- sound.cpp.orig 2017-04-15 02:52:00 UTC
++++ sound.cpp
+@@ -122,7 +122,7 @@ bool loadMusicInfo(string dir) {
+ for(int i=0; i<size(dir); i++) if(dir[i] == '/' || dir[i] == '\\')
+ dir2 = dir.substr(0, i+1);
+ char buf[1000];
+- while(fgets(buf, 800, f) > 0) {
++ while(fgets(buf, 800, f) != NULL) {
+ for(int i=0; buf[i]; i++) if(buf[i] == 10 || buf[i] == 13) buf[i] = 0;
+ if(buf[0] == '[' && buf[3] == ']') {
+ int id = (buf[1] - '0') * 10 + buf[2] - '0';
Modified: head/games/hyperrogue/pkg-plist
==============================================================================
--- head/games/hyperrogue/pkg-plist Wed Jun 28 12:45:39 2017 (r444574)
+++ head/games/hyperrogue/pkg-plist Wed Jun 28 12:46:46 2017 (r444575)
@@ -1,15 +1,92 @@
bin/hyperrogue
%%DATADIR%%/DejaVuSans-Bold.ttf
-%%DATADIR%%/hr3-caves.ogg
-%%DATADIR%%/hr3-crossroads.ogg
-%%DATADIR%%/hr3-desert.ogg
-%%DATADIR%%/hr3-graveyard.ogg
-%%DATADIR%%/hr3-hell.ogg
-%%DATADIR%%/hr3-icyland.ogg
-%%DATADIR%%/hr3-jungle.ogg
-%%DATADIR%%/hr3-laboratory.ogg
-%%DATADIR%%/hr3-mirror.ogg
-%%DATADIR%%/hr3-motion.ogg
-%%DATADIR%%/hr3-rlyeh.ogg
%%DATADIR%%/hyperrogue-music.txt
+%%DATADIR%%/music/hr3-caves.ogg
+%%DATADIR%%/music/hr3-crossroads.ogg
+%%DATADIR%%/music/hr3-desert.ogg
+%%DATADIR%%/music/hr3-graveyard.ogg
+%%DATADIR%%/music/hr3-hell.ogg
+%%DATADIR%%/music/hr3-icyland.ogg
+%%DATADIR%%/music/hr3-jungle.ogg
+%%DATADIR%%/music/hr3-laboratory.ogg
+%%DATADIR%%/music/hr3-mirror.ogg
+%%DATADIR%%/music/hr3-motion.ogg
+%%DATADIR%%/music/hr3-rlyeh.ogg
+%%DATADIR%%/sounds/bull.ogg
+%%DATADIR%%/sounds/click.ogg
+%%DATADIR%%/sounds/closegate.ogg
+%%DATADIR%%/sounds/credits.txt
+%%DATADIR%%/sounds/die-bomberbird.ogg
+%%DATADIR%%/sounds/die-fairy.ogg
+%%DATADIR%%/sounds/die-prince.ogg
+%%DATADIR%%/sounds/die-princess.ogg
+%%DATADIR%%/sounds/die-troll.ogg
+%%DATADIR%%/sounds/die-vinebeast.ogg
+%%DATADIR%%/sounds/die-vinespirit.ogg
+%%DATADIR%%/sounds/dzia-prince.ogg
+%%DATADIR%%/sounds/dzia-princess.ogg
+%%DATADIR%%/sounds/explosion.ogg
+%%DATADIR%%/sounds/fire.ogg
+%%DATADIR%%/sounds/heal-prince.ogg
+%%DATADIR%%/sounds/heal-princess.ogg
+%%DATADIR%%/sounds/hit-axe1.ogg
+%%DATADIR%%/sounds/hit-axe2.ogg
+%%DATADIR%%/sounds/hit-axe3.ogg
+%%DATADIR%%/sounds/hit-crush1.ogg
+%%DATADIR%%/sounds/hit-crush2.ogg
+%%DATADIR%%/sounds/hit-crush3.ogg
+%%DATADIR%%/sounds/hit-orbsword.ogg
+%%DATADIR%%/sounds/hit-prince.ogg
+%%DATADIR%%/sounds/hit-princess.ogg
+%%DATADIR%%/sounds/hit-rose.ogg
+%%DATADIR%%/sounds/hit-sword1.ogg
+%%DATADIR%%/sounds/hit-sword2.ogg
+%%DATADIR%%/sounds/hit-sword3.ogg
+%%DATADIR%%/sounds/message-roar.ogg
+%%DATADIR%%/sounds/message-troll.ogg
+%%DATADIR%%/sounds/mousesqueak.ogg
+%%DATADIR%%/sounds/necromancy.ogg
+%%DATADIR%%/sounds/nervous.ogg
+%%DATADIR%%/sounds/opengate.ogg
+%%DATADIR%%/sounds/orb-frog.ogg
+%%DATADIR%%/sounds/orb-mind.ogg
+%%DATADIR%%/sounds/orb-ranged.ogg
+%%DATADIR%%/sounds/orb-teleport.ogg
+%%DATADIR%%/sounds/pickup-gem.ogg
+%%DATADIR%%/sounds/pickup-gold.ogg
+%%DATADIR%%/sounds/pickup-key.ogg
+%%DATADIR%%/sounds/pickup-mirror.ogg
+%%DATADIR%%/sounds/pickup-orb.ogg
+%%DATADIR%%/sounds/pickup-potion.ogg
+%%DATADIR%%/sounds/pickup-scroll.ogg
+%%DATADIR%%/sounds/pickup-speed.ogg
+%%DATADIR%%/sounds/pickup-winter.ogg
+%%DATADIR%%/sounds/pickup-yendor.ogg
+%%DATADIR%%/sounds/seen-air.ogg
+%%DATADIR%%/sounds/seen-cultist.ogg
+%%DATADIR%%/sounds/seen-cultistfire.ogg
+%%DATADIR%%/sounds/seen-cultistleader.ogg
+%%DATADIR%%/sounds/seen-dragon.ogg
+%%DATADIR%%/sounds/seen-eagle.ogg
+%%DATADIR%%/sounds/seen-earth.ogg
+%%DATADIR%%/sounds/seen-fairy.ogg
+%%DATADIR%%/sounds/seen-gardener.ogg
+%%DATADIR%%/sounds/seen-ghost.ogg
+%%DATADIR%%/sounds/seen-kraken.ogg
+%%DATADIR%%/sounds/seen-necromancer.ogg
+%%DATADIR%%/sounds/seen-rosebeauty.ogg
+%%DATADIR%%/sounds/seen-sandworm.ogg
+%%DATADIR%%/sounds/seen-skeleton.ogg
+%%DATADIR%%/sounds/seen-snake.ogg
+%%DATADIR%%/sounds/seen-troll.ogg
+%%DATADIR%%/sounds/seen-vizier.ogg
+%%DATADIR%%/sounds/seen-water.ogg
+%%DATADIR%%/sounds/seen-woof.ogg
+%%DATADIR%%/sounds/speak-prince.ogg
+%%DATADIR%%/sounds/speak-princess.ogg
+%%DATADIR%%/sounds/splash1.ogg
+%%DATADIR%%/sounds/splash2.ogg
+%%DATADIR%%/sounds/storm.ogg
+%%DATADIR%%/sounds/tada.ogg
+%%DATADIR%%/sounds/trapdoor.ogg
share/pixmaps/hyperrogue.ico
More information about the svn-ports-all
mailing list