From 479fe0ca03386019f9a5b191ff82a78a95d0f92c Mon Sep 17 00:00:00 2001 From: Pawel Pekala Date: Sat, 2 Mar 2013 14:26:20 +0000 Subject: [PATCH] - Add desktop entry file - Remove ABI versions from LIB_DEPENDS - Update pkg-descr - Convert to OptionsNG PR: ports/175976 Submitted by: Kevin Zheng Approved by: Martin Tournoij (maintainer) --- games/boswars/Makefile | 21 +++++++++++---------- games/boswars/pkg-descr | 27 +++++++++++---------------- 2 files changed, 22 insertions(+), 26 deletions(-) diff --git a/games/boswars/Makefile b/games/boswars/Makefile index 1ac2f2a3978d..5bd55900906d 100644 --- a/games/boswars/Makefile +++ b/games/boswars/Makefile @@ -1,25 +1,21 @@ -# New ports collection makefile for: bos -# Date created: 14 Oct 2005 -# Whom: Alejandro Pulver -# +# Created by: Alejandro Pulver # $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_INCDIR} LIBPATH= ${LOCALBASE}/lib ${LUA_LIBDIR} CFLAGS+= -DSTRATAGUS_LIB_PATH='"\"${DATADIR}\""' +DESKTOP_ENTRIES= "Bos Wars" "${COMMENT}" "" \ + "boswars" "Game;StrategyGame;" false + +.include + 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} diff --git a/games/boswars/pkg-descr b/games/boswars/pkg-descr index 2a163dfcbe82..04005fd11f17 100644 --- a/games/boswars/pkg-descr +++ b/games/boswars/pkg-descr @@ -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. +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. +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. -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 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/