From owner-svn-ports-head@FreeBSD.ORG Sat Nov 17 09:52:53 2012 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B2E593EA; Sat, 17 Nov 2012 09:52:53 +0000 (UTC) (envelope-from pawel@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 97B918FC08; Sat, 17 Nov 2012 09:52:53 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id qAH9qr01074444; Sat, 17 Nov 2012 09:52:53 GMT (envelope-from pawel@svn.freebsd.org) Received: (from pawel@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id qAH9qrCo074438; Sat, 17 Nov 2012 09:52:53 GMT (envelope-from pawel@svn.freebsd.org) Message-Id: <201211170952.qAH9qrCo074438@svn.freebsd.org> From: Pawel Pekala Date: Sat, 17 Nov 2012 09:52:53 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r307500 - in head: . games games/starfighter games/starfighter/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-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Nov 2012 09:52:53 -0000 Author: pawel Date: Sat Nov 17 09:52:53 2012 New Revision: 307500 URL: http://svnweb.freebsd.org/changeset/ports/307500 Log: (Readdition of games/starfighter which was removed on 218872) Project: Starfighter is an old school 2D shoot 'em up. In the game you take on the role of a rebel pilot called Chris, who is attempting to overthrow a military corporation called Weapco. Weapco has seized control of the known universe and currently rules it with an iron fist. Chris can no longer stand back and watch as millions of people suffer and die. He steals an experimental craft known as "Firefly" and begins his mission to fight his way to Sol, freeing key systems along the way. The game opens with Chris attempting to escape a Weapco patrol that has intercepted him. WWW: http://sourceforge.net/projects/pr-starfighter/ PR: ports/173494 Submitted by: nemysis Feature safe: yes Added: head/games/starfighter/ - copied from r218872, head/games/starfighter/ Deleted: head/games/starfighter/files/ Modified: head/MOVED head/games/Makefile head/games/starfighter/Makefile (contents, props changed) head/games/starfighter/distinfo (contents, props changed) head/games/starfighter/pkg-descr (contents, props changed) head/games/starfighter/pkg-plist (contents, props changed) Modified: head/MOVED ============================================================================== --- head/MOVED Sat Nov 17 03:39:49 2012 (r307499) +++ head/MOVED Sat Nov 17 09:52:53 2012 (r307500) @@ -231,7 +231,6 @@ japanese/lyx-doc||2008-08-18|Obsolete games/blobandconquer||2008-08-20|Removed due to copyright problems games/blobwars||2008-08-20|Removed due to copyright problems games/randomshooter||2008-08-20|Removed due to copyright problems -games/starfighter||2008-08-20|Removed due to copyright problems devel/autoconf261|devel/autoconf262|2008-08-20|Migration to autoconf-2.62 x11-themes/enlightenment-theme-BlueSteel||2008-08-20|Deprecated by x11-themes/e16-themes x11-themes/enlightenment-theme-BrushedMetal-Tigert||2008-08-20|Deprecated by x11-themes/e16-themes Modified: head/games/Makefile ============================================================================== --- head/games/Makefile Sat Nov 17 03:39:49 2012 (r307499) +++ head/games/Makefile Sat Nov 17 09:52:53 2012 (r307500) @@ -860,6 +860,7 @@ SUBDIR += spider SUBDIR += spring SUBDIR += springlobby + SUBDIR += starfighter SUBDIR += starlanes SUBDIR += steelstorm SUBDIR += stepbill Modified: head/games/starfighter/Makefile ============================================================================== --- head/games/starfighter/Makefile Tue Aug 19 22:26:36 2008 (r218872) +++ head/games/starfighter/Makefile Sat Nov 17 09:52:53 2012 (r307500) @@ -1,51 +1,52 @@ -# New ports collection makefile for: starfighter -# Date created: 13 Jul 2005 -# Whom: Alejandro Pulver -# +# Created by nemysis@gmx.ch # $FreeBSD$ -# PORTNAME= starfighter -DISTVERSION= 1.1-1 -PORTREVISION= 4 +PORTVERSION= 1.2 CATEGORIES= games -MASTER_SITES= NETBSD \ - http://www.amdmi3.ru/distfiles/ +MASTER_SITES= SF/pr-${PORTNAME}/ \ + SF/nemysisfreebsdp/:icons +DISTFILES= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \ + ${PORTNAME}.png:icons +DIST_SUBDIR= ${PORTNAME} +EXTRACT_ONLY= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} -MAINTAINER= alepulver@FreeBSD.org -COMMENT= Chris Bainfield is fighting for the freedom of the galaxy +MAINTAINER= nemysis@gmx.ch +COMMENT= Liberate the universe from the evil company WEAPCO + +LICENSE= GPLv2 USE_GMAKE= yes -USE_SDL= image mixer sdl +USE_ICONV= yes +USE_XORG= x11 xau xdmcp +USE_SDL= image mixer +WITH_ZLIB= yes -WRKSRC= ${WRKDIR}/${PORTNAME}-1.1 +INSTALLS_ICONS= yes -OPTIONS= OPTIMIZED_CFLAGS "Enable compilation optimizations" on +DESKTOP_ENTRIES="Project Starfighter" "${COMMENT}" "${PORTNAME}" \ + "${PORTNAME}" "Game;ArcadeGame;" ${FALSE} -MAKEFILE= makefile +.include -.if !defined(NOPORTDOCS) -post-install: - ${MKDIR} ${DOCSDIR} - @${RM} ${WRKSRC}/docs/LICENSE - ${INSTALL_DATA} ${WRKSRC}/docs/* ${DOCSDIR} +post-patch: + @${REINPLACE_CMD} \ + -e 's| -O2 -Wall|${CXXFLAGS}|' \ + -e 's|docs/\*|docs/index.html|' \ + -e 's|/usr|${LOCALBASE}|' \ + -e 's|$$(PREFIX)/games/|$$(PREFIX)/bin/|' \ + -e 's|/share/games/parallelrealities/|/share/starfighter/|' \ + ${WRKSRC}/makefile + +.if !${PORT_OPTIONS:MDOCS} + @${REINPLACE_CMD} -i '' -e '/$$(DESTDIR)$$(DOCDIR)/d' ${WRKSRC}/makefile .endif + @(cd ${WRKSRC} && ${CP} makefile Makefile) -.include +do-build: + @(cd ${WRKSRC} && ${GMAKE}) -post-patch: -# Fix Makefile. - @${REINPLACE_CMD} -e 's|sdl-config|${SDL_CONFIG}| ; \ - s|\(-Wall\)|${CFLAGS} \1|' \ - ${WRKSRC}/${MAKEFILE} - -# Fix SDL include statement. - @${REINPLACE_CMD} -e 's|\(#include.*\)SDL/\(SDL.*\)|\1\2|' \ - ${WRKSRC}/code/*.cpp ${WRKSRC}/code/*.h - -# Enable/disable compilation optimizations. -.if defined(WITHOUT_OPTIMIZED_CFLAGS) - @${REINPLACE_CMD} -e 's|-O3||g' ${WRKSRC}/${MAKEFILE} -.endif +post-install: + ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${PORTNAME}.png ${PREFIX}/share/pixmaps -.include +.include Modified: head/games/starfighter/distinfo ============================================================================== --- head/games/starfighter/distinfo Tue Aug 19 22:26:36 2008 (r218872) +++ head/games/starfighter/distinfo Sat Nov 17 09:52:53 2012 (r307500) @@ -1,3 +1,4 @@ -MD5 (starfighter-1.1-1.tar.gz) = 6a4b704dbc83c7403842b936f95ee958 -SHA256 (starfighter-1.1-1.tar.gz) = 820d7c52fb997dca3e7b2a5f8183936474395dbae343f618540e0183a4c17186 -SIZE (starfighter-1.1-1.tar.gz) = 2523399 +SHA256 (starfighter/starfighter-1.2.tar.gz) = d2e05e45bbc49cbe4f597e0db715fdf64e2aa771f1c77d5055d9db9d5e32fd5e +SIZE (starfighter/starfighter-1.2.tar.gz) = 1233548 +SHA256 (starfighter/starfighter.png) = 7e6b0ccb71b5f52c96044db7b063f61f862c87fe3d7405fa6e521d335638c53b +SIZE (starfighter/starfighter.png) = 1203 Modified: head/games/starfighter/pkg-descr ============================================================================== --- head/games/starfighter/pkg-descr Tue Aug 19 22:26:36 2008 (r218872) +++ head/games/starfighter/pkg-descr Sat Nov 17 09:52:53 2012 (r307500) @@ -1,11 +1,10 @@ -After decades of war one company, who had gained powerful supplying both sides -with weaponary, steps forwards and crushes both warring factions in one swift -movement. Using far superior weaponary and AI craft, the company was completely -unstoppable and now no one can stand in their way. Thousands began to perish -under the iron fist of the company. The people cried out for a saviour, for -someone to light this dark hour... and someone did. +Project: Starfighter is an old school 2D shoot 'em up. In the game you take on +the role of a rebel pilot called Chris, who is attempting to overthrow a +military corporation called Weapco. Weapco has seized control of the known +universe and currently rules it with an iron fist. Chris can no longer stand +back and watch as millions of people suffer and die. He steals an experimental +craft known as "Firefly" and begins his mission to fight his way to Sol, +freeing key systems along the way. The game opens with Chris attempting to +escape a Weapco patrol that has intercepted him. -WWW: http://www.parallelrealities.co.uk/starfighter.php - -- Alejandro Pulver -alejandro@varnet.biz +WWW: http://sourceforge.net/projects/pr-starfighter/ Modified: head/games/starfighter/pkg-plist ============================================================================== --- head/games/starfighter/pkg-plist Tue Aug 19 22:26:36 2008 (r218872) +++ head/games/starfighter/pkg-plist Sat Nov 17 09:52:53 2012 (r307500) @@ -1,15 +1,6 @@ bin/starfighter -%%PORTDOCS%%%%DOCSDIR%%/ammo.gif -%%PORTDOCS%%%%DOCSDIR%%/cash.gif %%PORTDOCS%%%%DOCSDIR%%/index.html -%%PORTDOCS%%%%DOCSDIR%%/plasmaAmmo.png -%%PORTDOCS%%%%DOCSDIR%%/plasmaDamage.png -%%PORTDOCS%%%%DOCSDIR%%/plasmaRate.png -%%PORTDOCS%%%%DOCSDIR%%/rocketAmmo.png -%%PORTDOCS%%%%DOCSDIR%%/sflogo.gif -%%PORTDOCS%%%%DOCSDIR%%/shield.gif -%%PORTDOCS%%%%DOCSDIR%%/superCharge.png -%%PORTDOCS%%%%DOCSDIR%%/targetArrow.png +share/pixmaps/starfighter.png %%DATADIR%%/starfighter.pak @dirrm %%DATADIR%% %%PORTDOCS%%@dirrm %%DOCSDIR%%