pkgsrc-Changes archive

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

CVS commit: pkgsrc/games/wordwarvi



Module Name:    pkgsrc
Committed By:   kamil
Date:           Tue Jul 26 20:05:17 UTC 2016

Added Files:
        pkgsrc/games/wordwarvi: DESCR Makefile PLIST distinfo
        pkgsrc/games/wordwarvi/patches: patch-Makefile patch-wordwarvi.c

Log Message:
Import wordwarvi-1.0.2 as games/wordwarvi

wordwarvi, or "Word War vi", is an old school '80's style side
scrolling space shoot'em up video game.

You pilot your "vi-per" craft through core memory, trying to avoid
OS defenses and wipe out the memory hogging emacs processes and
rescue lost vi-per pilots (.swp files) stranded from crashed vi
sessions before heading through the socket to the next node in the
cluster to do it all over again.

Originally packaged in pkgsrc-wip by:
- Thomas Klausner
- Aleksej Saushev
and
- myself.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/games/wordwarvi/DESCR \
    pkgsrc/games/wordwarvi/Makefile pkgsrc/games/wordwarvi/PLIST \
    pkgsrc/games/wordwarvi/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/games/wordwarvi/patches/patch-Makefile \
    pkgsrc/games/wordwarvi/patches/patch-wordwarvi.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/games/wordwarvi/DESCR
diff -u /dev/null pkgsrc/games/wordwarvi/DESCR:1.1
--- /dev/null   Tue Jul 26 20:05:17 2016
+++ pkgsrc/games/wordwarvi/DESCR        Tue Jul 26 20:05:17 2016
@@ -0,0 +1,8 @@
+wordwarvi, or "Word War vi", is an old school '80's style side
+scrolling space shoot'em up video game.
+
+You pilot your "vi-per" craft through core memory, trying to avoid
+OS defenses and wipe out the memory hogging emacs processes and
+rescue lost vi-per pilots (.swp files) stranded from crashed vi
+sessions before heading through the socket to the next node in the
+cluster to do it all over again.
Index: pkgsrc/games/wordwarvi/Makefile
diff -u /dev/null pkgsrc/games/wordwarvi/Makefile:1.1
--- /dev/null   Tue Jul 26 20:05:17 2016
+++ pkgsrc/games/wordwarvi/Makefile     Tue Jul 26 20:05:17 2016
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1 2016/07/26 20:05:17 kamil Exp $
+#
+
+DISTNAME=      wordwarvi-1.0.2
+CATEGORIES=    games
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=smcameron/}
+GITHUB_TAG=    v${PKGVERSION_NOREV}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      http://smcameron.github.io/wordwarvi/
+COMMENT=       Side-scrolling shoot 'em up '80s style arcade game
+LICENSE=       gnu-gpl-v2
+
+USE_TOOLS+=    gmake pkg-config
+
+MAKE_FLAGS+=   PREFIX=${PREFIX}
+MAKE_ENV+=     MANDIR=${PREFIX}/${PKGMANDIR}
+
+.include "../../audio/libvorbis/buildlink3.mk"
+.include "../../audio/portaudio-devel/buildlink3.mk"
+.include "../../x11/gtk2/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/games/wordwarvi/PLIST
diff -u /dev/null pkgsrc/games/wordwarvi/PLIST:1.1
--- /dev/null   Tue Jul 26 20:05:17 2016
+++ pkgsrc/games/wordwarvi/PLIST        Tue Jul 26 20:05:17 2016
@@ -0,0 +1,64 @@
+@comment $NetBSD: PLIST,v 1.1 2016/07/26 20:05:17 kamil Exp $
+bin/wordwarvi
+man/man6/wordwarvi.6
+share/wordwarvi/sounds/UseTheSource.ogg
+share/wordwarvi/sounds/aaaah_it_burns.ogg
+share/wordwarvi/sounds/abducted.ogg
+share/wordwarvi/sounds/big_explosion.ogg
+share/wordwarvi/sounds/bodyslam.ogg
+share/wordwarvi/sounds/bombexplosion.ogg
+share/wordwarvi/sounds/clang.ogg
+share/wordwarvi/sounds/destiny_facedown.ogg
+share/wordwarvi/sounds/dtox3monomix.ogg
+share/wordwarvi/sounds/fallingscreamhi.ogg
+share/wordwarvi/sounds/flak_gun_sound.ogg
+share/wordwarvi/sounds/flak_hit.ogg
+share/wordwarvi/sounds/gravity_bomb.ogg
+share/wordwarvi/sounds/gunwheel_sound.ogg
+share/wordwarvi/sounds/help_down_here.ogg
+share/wordwarvi/sounds/help_up_here.ogg
+share/wordwarvi/sounds/highscoremusic.ogg
+share/wordwarvi/sounds/hohoho.ogg
+share/wordwarvi/sounds/hohoho_merry_xmas.ogg
+share/wordwarvi/sounds/jetwash.ogg
+share/wordwarvi/sounds/lucky-holiday-cornbread-stuffing-mono.ogg
+share/wordwarvi/sounds/lucky13-steve-mono-mix.ogg
+share/wordwarvi/sounds/metalbang1.ogg
+share/wordwarvi/sounds/metalbang2.ogg
+share/wordwarvi/sounds/metalbang3.ogg
+share/wordwarvi/sounds/metalbang4.ogg
+share/wordwarvi/sounds/metalbang5.ogg
+share/wordwarvi/sounds/metalbang6.ogg
+share/wordwarvi/sounds/metalbang7.ogg
+share/wordwarvi/sounds/metalbang8.ogg
+share/wordwarvi/sounds/missile_alarm.ogg
+share/wordwarvi/sounds/missile_alarm_2.ogg
+share/wordwarvi/sounds/missile_explosion.ogg
+share/wordwarvi/sounds/missile_launch_2.ogg
+share/wordwarvi/sounds/new_ground_smack.ogg
+share/wordwarvi/sounds/nice_bank_shot.ogg
+share/wordwarvi/sounds/ooooof.ogg
+share/wordwarvi/sounds/ow_my_spine.ogg
+share/wordwarvi/sounds/radar_fail.ogg
+share/wordwarvi/sounds/radar_ready.ogg
+share/wordwarvi/sounds/rocket_exhaust_1.ogg
+share/wordwarvi/sounds/stonebang1.ogg
+share/wordwarvi/sounds/stonebang2.ogg
+share/wordwarvi/sounds/stonebang3.ogg
+share/wordwarvi/sounds/stonebang4.ogg
+share/wordwarvi/sounds/stonebang5.ogg
+share/wordwarvi/sounds/stonebang6.ogg
+share/wordwarvi/sounds/stonebang7.ogg
+share/wordwarvi/sounds/stonebang8.ogg
+share/wordwarvi/sounds/synthetic_bomb.ogg
+share/wordwarvi/sounds/synthetic_gunshot_2.ogg
+share/wordwarvi/sounds/synthetic_laser.ogg
+share/wordwarvi/sounds/synthetic_thunder_short.ogg
+share/wordwarvi/sounds/tesla_tower.ogg
+share/wordwarvi/sounds/timpani_boing.ogg
+share/wordwarvi/sounds/toyota_celica_cardoor_sample.ogg
+share/wordwarvi/sounds/us_quarter.ogg
+share/wordwarvi/sounds/volcano_eruption.ogg
+share/wordwarvi/sounds/woohoo.ogg
+share/wordwarvi/sounds/yay_santa.ogg
+share/wordwarvi/sounds/zzzt.ogg
Index: pkgsrc/games/wordwarvi/distinfo
diff -u /dev/null pkgsrc/games/wordwarvi/distinfo:1.1
--- /dev/null   Tue Jul 26 20:05:17 2016
+++ pkgsrc/games/wordwarvi/distinfo     Tue Jul 26 20:05:17 2016
@@ -0,0 +1,8 @@
+$NetBSD: distinfo,v 1.1 2016/07/26 20:05:17 kamil Exp $
+
+SHA1 (wordwarvi-1.0.2.tar.gz) = 3db0e404113d0377c358083d78ee21645ab654b6
+RMD160 (wordwarvi-1.0.2.tar.gz) = ab4a0442384610db3fd9d598c183638949612546
+SHA512 (wordwarvi-1.0.2.tar.gz) = 231e02b339dc1f73345113ee37ddcd4fc5110e6e4402b46aee60a969c6b554cc59dc4bb6389f2537d1e418489831f84580fadb05df42ebeede7b56945389b86d
+Size (wordwarvi-1.0.2.tar.gz) = 8814650 bytes
+SHA1 (patch-Makefile) = 6bfbabe7d925e0332c482ba5d4d7911e66f22698
+SHA1 (patch-wordwarvi.c) = 2317eaa5f8428b4831182b55723f81971c48c34c

Index: pkgsrc/games/wordwarvi/patches/patch-Makefile
diff -u /dev/null pkgsrc/games/wordwarvi/patches/patch-Makefile:1.1
--- /dev/null   Tue Jul 26 20:05:17 2016
+++ pkgsrc/games/wordwarvi/patches/patch-Makefile       Tue Jul 26 20:05:17 2016
@@ -0,0 +1,19 @@
+$NetBSD: patch-Makefile,v 1.1 2016/07/26 20:05:17 kamil Exp $
+
+Install executable into ${PREFIX}/bin
+
+--- Makefile.orig      2016-03-11 15:16:11.000000000 +0000
++++ Makefile
+@@ -116,10 +116,10 @@ wordwarvi.6.gz:  wordwarvi.6
+       gzip -c wordwarvi.6 > wordwarvi.6.gz
+ 
+ install: wordwarvi wordwarvi.6.gz
+-      mkdir -p $(DESTDIR)$(PREFIX)/games
++      mkdir -p $(DESTDIR)$(PREFIX)/bin
+       mkdir -p $(DESTDIR)$(DATADIR)/sounds
+       mkdir -p $(DESTDIR)$(MANPAGEDIR)
+-      install -p -m 755 wordwarvi $(DESTDIR)$(PREFIX)/games
++      install -p -m 755 wordwarvi $(DESTDIR)$(PREFIX)/bin
+       install -p -m 644 sounds/*.ogg $(DESTDIR)$(DATADIR)/sounds
+       install -p -m 644 wordwarvi.6.gz $(DESTDIR)$(MANPAGEDIR)
+ 
Index: pkgsrc/games/wordwarvi/patches/patch-wordwarvi.c
diff -u /dev/null pkgsrc/games/wordwarvi/patches/patch-wordwarvi.c:1.1
--- /dev/null   Tue Jul 26 20:05:17 2016
+++ pkgsrc/games/wordwarvi/patches/patch-wordwarvi.c    Tue Jul 26 20:05:17 2016
@@ -0,0 +1,32 @@
+$NetBSD: patch-wordwarvi.c,v 1.1 2016/07/26 20:05:17 kamil Exp $
+
+Walk-around memory corruption (double-free(3)?)
+
+Use standard getopt_long(3) - fixes NetBSD.
+
+--- wordwarvi.c.orig   2016-03-11 15:16:11.000000000 +0000
++++ wordwarvi.c
+@@ -11559,12 +11559,14 @@ void start_level()
+       srandom(level.random_seed);
+       generate_terrain(&terrain);
+ 
++#if 0
+       add_buildings(&terrain);/* Some FreeBSD users report that */
+                               /*add_buildings() causes crashes. */
+                               /* Commenting this out on FreeBSD */
+                               /* may help, but, no buildings. */
+                               /* I've looked at the code, but */
+                               /* don't see anything wrong with it. */
++#endif
+       add_humanoids(&terrain);
+       add_bridges(&terrain);
+       add_socket(&terrain);
+@@ -13967,7 +13969,7 @@ int main(int argc, char *argv[])
+ 
+       while (1) {
+               int rc, n; 
+-              rc = getopt_long_only(argc, argv, "", wordwarvi_options, &opt);
++              rc = getopt_long(argc, argv, "", wordwarvi_options, &opt);
+               if (rc == -1)
+                       break;
+               switch (rc) {



Home | Main Index | Thread Index | Old Index