Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Mar 2013 14:26:21 +0000 (UTC)
From:      Pawel Pekala <pawel@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r313231 - head/games/boswars
Message-ID:  <201303021426.r22EQLb9014617@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pawel
Date: Sat Mar  2 14:26:20 2013
New Revision: 313231
URL: http://svnweb.freebsd.org/changeset/ports/313231

Log:
  - Add desktop entry file
  - Remove ABI versions from LIB_DEPENDS
  - Update pkg-descr
  - Convert to OptionsNG
  
  PR:		ports/175976
  Submitted by:	Kevin Zheng <kevinz5000@gmail.com>
  Approved by:	Martin Tournoij <martin@arp242.net> (maintainer)

Modified:
  head/games/boswars/Makefile   (contents, props changed)
  head/games/boswars/pkg-descr   (contents, props changed)

Modified: head/games/boswars/Makefile
==============================================================================
--- head/games/boswars/Makefile	Sat Mar  2 13:48:31 2013	(r313230)
+++ head/games/boswars/Makefile	Sat Mar  2 14:26:20 2013	(r313231)
@@ -1,25 +1,21 @@
-# New ports collection makefile for:	bos
-# Date created:				14 Oct 2005
-# Whom:					Alejandro Pulver <alejandro@varnet.biz>
-#
+# Created by: Alejandro Pulver <alejandro@varnet.biz>
 # $FreeBSD$
-#
 
 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@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,11 @@ CPPPATH=	${LOCALBASE}/include ${LUA_INCD
 LIBPATH=	${LOCALBASE}/lib ${LUA_LIBDIR}
 CFLAGS+=	-DSTRATAGUS_LIB_PATH='"\"${DATADIR}\""'
 
+DESKTOP_ENTRIES=	"Bos Wars" "${COMMENT}" "" \
+			"boswars" "Game;StrategyGame;" false
+
+.include <bsd.port.options.mk>
+
 post-patch:
 	@${REINPLACE_CMD} -e '\
 		s|-pthread|${PTHREAD_LIBS}|g; \
@@ -44,7 +45,7 @@ do-install:
 	${CP} -R ${WRKSRC}/${f} ${DATADIR}
 .endfor
 
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	${MKDIR} ${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/CHANGELOG ${WRKSRC}/README.txt ${DOCSDIR}
 	${CP} -R ${WRKSRC}/doc/* ${DOCSDIR}

Modified: head/games/boswars/pkg-descr
==============================================================================
--- head/games/boswars/pkg-descr	Sat Mar  2 13:48:31 2013	(r313230)
+++ head/games/boswars/pkg-descr	Sat Mar  2 14:26:20 2013	(r313231)
@@ -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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201303021426.r22EQLb9014617>