ports/175976: [patch] Install desktop icon for games/boswars
Kevin Zheng
kevinz5000 at gmail.com
Sat Feb 9 04:20:00 UTC 2013
>Number: 175976
>Category: ports
>Synopsis: [patch] Install desktop icon for games/boswars
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sat Feb 09 04:20:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Kevin Zheng
>Release: 9.1-RELEASE
>Organization:
>Environment:
FreeBSD sigma.local 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243826: Tue Dec 4 06:55:39 UTC 2012 root at obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
>Description:
Install a desktop icon for games/boswars. This desktop icon will work, but unfortunately doesn't have an icon image associated with it. While here,
- Trim Makefile header
- Take out indefinite article from COMMENT
- Sort LIB_DEPENDS
- Cosmetic changes to pkg-descr
- Bump PORTREVISION
Portlint is unhappy with NOPORTDOCS, but I didn't figure out how to fix it. Committer should fix that.
>How-To-Repeat:
Not applicable.
>Fix:
Apply the attached patch.
Patch attached with submission follows:
diff -ruN /usr/ports/games/boswars/Makefile boswars/Makefile
--- /usr/ports/games/boswars/Makefile 2012-11-16 23:57:33.000000000 -0600
+++ boswars/Makefile 2013-01-10 22:31:40.000000000 -0600
@@ -1,25 +1,21 @@
-# New ports collection makefile for: bos
-# Date created: 14 Oct 2005
-# Whom: Alejandro Pulver <alejandro at varnet.biz>
-#
+# Created by: Alejandro Pulver <alejandro at varnet.biz>
# $FreeBSD: ports/games/boswars/Makefile,v 1.25 2012/11/17 05:57:33 svnexp Exp $
-#
PORTNAME= boswars
PORTVERSION= 2.6.1
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= games
MASTER_SITES= http://www.boswars.org/dist/releases/
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
MAINTAINER= martin at arp242.net
-COMMENT= A real-time strategy game
+COMMENT= Futuristic real-time strategy game
LICENSE= GPLv2
LIB_DEPENDS= png15:${PORTSDIR}/graphics/png \
- theora.0:${PORTSDIR}/multimedia/libtheora \
- vorbis.4:${PORTSDIR}/audio/libvorbis
+ theora:${PORTSDIR}/multimedia/libtheora \
+ vorbis:${PORTSDIR}/audio/libvorbis
USE_LUA= 5.1
USE_SDL= sdl
@@ -30,6 +26,9 @@
LIBPATH= ${LOCALBASE}/lib ${LUA_LIBDIR}
CFLAGS+= -DSTRATAGUS_LIB_PATH='"\"${DATADIR}\""'
+DESKTOP_ENTRIES= "Bos Wars" "${COMMENT}" "" \
+ "boswars" "Game;StrategyGame;" false
+
post-patch:
@${REINPLACE_CMD} -e '\
s|-pthread|${PTHREAD_LIBS}|g; \
diff -ruN /usr/ports/games/boswars/pkg-descr boswars/pkg-descr
--- /usr/ports/games/boswars/pkg-descr 2011-11-12 11:17:55.000000000 -0600
+++ boswars/pkg-descr 2012-12-16 11:40:50.000000000 -0600
@@ -1,22 +1,17 @@
-Bos Wars is a real-time strategy game that uses a modified version of the
-Stratagus game engine.
-
Bos Wars is a futuristic real time strategy game (RTS). In a RTS game, the
player has to combat his enemies while developing his war economy. Everything
-runs in real-time, as opposed to turn-based games where the player always has
-to wait for his turn. The trick is to balance the effort put into building his
-economy and building an army to defend and attack the enemies.
-
-Bos Wars has a dynamic rate based economy. Energy is produced by power plants
-and magma gets pumped from hot spots. Buildings and mobile units are also
-built at a continuous rate. Control of larger parts of the map creates the
-potential to increase your economy throughput. Holding key points like roads
-and passages allow for different strategies.
+runs in real-time, as opposed to turn-based games where the player always
+has to wait for his turn. The trick is to balance the effort put into
+building his economy and building an army to defend and attack the enemies.
-It is possible to play against human opponents over LAN, internet, or against
-the computer. Bos Wars successfully runs under Linux, MS Windows, BSD, and Mac
-OS X.
+Bos Wars has a dynamic rate based economy. Energy is produced by power
+plants and magma gets pumped from hot spots. Buildings and mobile units
+are also built at a continuous rate. Control of larger parts of the map
+creates the potential to increase your economy throughput. Holding key
+points like roads and passages allow for different strategies.
-Bos Wars aims to create a completely original and fun open source RTS game.
+It is possible to play against human opponents over LAN, internet, or
+against the computer. Bos Wars successfully runs under Linux, MS Windows,
+BSD, and Mac OS X.
WWW: http://www.boswars.org/
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list