svn commit: r307500 - in head: . games games/starfighter games/starfighter/files
Pawel Pekala
pawel at FreeBSD.org
Sat Nov 17 09:52:53 UTC 2012
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 <nemysis at gmx.ch>
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 <alejandro at varnet.biz>
-#
+# Created by nemysis at 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 at FreeBSD.org
-COMMENT= Chris Bainfield is fighting for the freedom of the galaxy
+MAINTAINER= nemysis at 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 <bsd.port.options.mk>
-.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 <bsd.port.pre.mk>
+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 <bsd.port.post.mk>
+.include <bsd.port.mk>
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 at 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%%
More information about the svn-ports-head
mailing list