From owner-svn-ports-all@freebsd.org Tue Oct 11 00:57:40 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BF703C0CD87; Tue, 11 Oct 2016 00:57:40 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9C22683D; Tue, 11 Oct 2016 00:57:40 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u9B0vd5K059587; Tue, 11 Oct 2016 00:57:39 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u9B0vdLQ059581; Tue, 11 Oct 2016 00:57:39 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201610110057.u9B0vdLQ059581@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Tue, 11 Oct 2016 00:57:39 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r423738 - in head/games: . wordwarvi wordwarvi/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Oct 2016 00:57:40 -0000 Author: amdmi3 Date: Tue Oct 11 00:57:39 2016 New Revision: 423738 URL: https://svnweb.freebsd.org/changeset/ports/423738 Log: - Add games/wordwarvi Word War vi is your basic side-scrolling shoot 'em up '80s style arcade game. You pilot your "vi"per craft through core memory, rescuing lost .swp files, avoiding OS defenses, and wiping out those memory hogging emacs processes. When all the lost .swp files are rescued, head for the socket which will take you to the next node in the cluster. WWW: http://smcameron.github.io/wordwarvi/ Added: head/games/wordwarvi/ head/games/wordwarvi/Makefile (contents, props changed) head/games/wordwarvi/distinfo (contents, props changed) head/games/wordwarvi/files/ head/games/wordwarvi/files/patch-Makefile (contents, props changed) head/games/wordwarvi/files/patch-wordwarvi.c (contents, props changed) head/games/wordwarvi/pkg-descr (contents, props changed) Modified: head/games/Makefile Modified: head/games/Makefile ============================================================================== --- head/games/Makefile Tue Oct 11 00:01:27 2016 (r423737) +++ head/games/Makefile Tue Oct 11 00:57:39 2016 (r423738) @@ -1038,6 +1038,7 @@ SUBDIR += wolfpack SUBDIR += wop SUBDIR += wordplay + SUBDIR += wordwarvi SUBDIR += worldofpadman SUBDIR += wtf SUBDIR += wxlauncher Added: head/games/wordwarvi/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/wordwarvi/Makefile Tue Oct 11 00:57:39 2016 (r423738) @@ -0,0 +1,43 @@ +# Created by: Dmitry Marakasov +# $FreeBSD$ + +PORTNAME= wordwarvi +PORTVERSION= 1.0.2 +DISTVERSIONPREFIX= v +CATEGORIES= games + +MAINTAINER= amdmi3@FreeBSD.org +COMMENT= Side-scrolling shoot'em up '80s style arcade game + +LICENSE= GPLv2+ CC-BY-2.0 CC-BY-SA-3.0 +LICENSE_COMB= multi +LICENSE_FILE_GPLv2+ = ${WRKSRC}/COPYING + +USE_GITHUB= yes +GH_ACCOUNT= smcameron + +USES= gmake pkgconfig +USE_GNOME= gtk20 + +PORTDOCS= AAA_HOW_TO_MAKE_NEW_LEVELS.txt AUTHORS README changelog.txt +PORTDATA= * +PLIST_FILES= bin/${PORTNAME} \ + man/man6/${PORTNAME}.6.gz + +OPTIONS_DEFINE= SOUND DOCS +OPTIONS_DEFAULT=SOUND + +SOUND_LIB_DEPENDS= libportaudio.so:audio/portaudio \ + libvorbisfile.so:audio/libvorbis +SOUND_MAKE_ARGS_OFF= WITHAUDIO=no + +post-install: + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} + +post-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} +.for f in ${PORTDOCS} + ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/ +.endfor + +.include Added: head/games/wordwarvi/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/wordwarvi/distinfo Tue Oct 11 00:57:39 2016 (r423738) @@ -0,0 +1,3 @@ +TIMESTAMP = 1475776055 +SHA256 (smcameron-wordwarvi-v1.0.2_GH0.tar.gz) = 361d15af6edbe6db032db24de54e8f489a05b230572a8793b9889e2b8308a7ad +SIZE (smcameron-wordwarvi-v1.0.2_GH0.tar.gz) = 8814650 Added: head/games/wordwarvi/files/patch-Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/wordwarvi/files/patch-Makefile Tue Oct 11 00:57:39 2016 (r423738) @@ -0,0 +1,43 @@ +--- Makefile.orig 2016-03-11 15:16:11 UTC ++++ Makefile +@@ -1,6 +1,6 @@ +-PREFIX=/usr ++PREFIX?=/usr + DATADIR=${PREFIX}/share/wordwarvi +-MANDIR?=${PREFIX}/share/man ++MANDIR?=${PREFIX}/man + MANPAGEDIR=${MANDIR}/man6 + + SCREENSAVERFLAG= +@@ -45,7 +45,7 @@ OPENLASELIBDIR= + endif + + CC ?= gcc +-BUILD_CC ?= gcc ++BUILD_CC ?= ${CC} + + # DEBUG=-g + # DEBUG= +@@ -54,7 +54,8 @@ BUILD_CC ?= gcc + #OPTIMIZE_FLAG= + # OPTIMIZE_FLAG=-O3 + #OPTIMIZE_FLAG=-O3 -pedantic -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security +-CFLAGS ?= -O3 -pedantic ++CFLAGS ?= -O3 ++CFLAGS += -pedantic + OPTIMIZE_FLAG = ${CFLAGS} ${CPPFLAGS} + WARNFLAG=-pedantic -W -Wall + +@@ -116,10 +117,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) + Added: head/games/wordwarvi/files/patch-wordwarvi.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/wordwarvi/files/patch-wordwarvi.c Tue Oct 11 00:57:39 2016 (r423738) @@ -0,0 +1,17 @@ +--- wordwarvi.c.orig 2016-03-11 15:16:11 UTC ++++ 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); Added: head/games/wordwarvi/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/wordwarvi/pkg-descr Tue Oct 11 00:57:39 2016 (r423738) @@ -0,0 +1,8 @@ +Word War vi is your basic side-scrolling shoot 'em up '80s style +arcade game. You pilot your "vi"per craft through core memory, +rescuing lost .swp files, avoiding OS defenses, and wiping out those +memory hogging emacs processes. When all the lost .swp files are +rescued, head for the socket which will take you to the next node +in the cluster. + +WWW: http://smcameron.github.io/wordwarvi/