The battle for wesnoth, a strategy game

This commit is contained in:
espie 2005-02-19 21:48:44 +00:00
parent 79c2dcee03
commit 194848203a
9 changed files with 3245 additions and 0 deletions

44
games/wesnoth/Makefile Normal file
View File

@ -0,0 +1,44 @@
# $OpenBSD: Makefile,v 1.1.1.1 2005/02/19 21:48:44 espie Exp $
COMMENT= "strategy game with fantasy theme"
DISTNAME= wesnoth-0.8.10
CATEGORIES= games x11
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=wesnoth/}
HOMEPAGE= http://www.wesnoth.org/
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= X11 freetype stdc++ pthread m usbhid c Xext z
USE_LIBTOOL= Yes
LIB_DEPENDS= SDL::devel/sdl \
SDL_image::devel/sdl-image \
SDL_net::devel/sdl-net \
SDL_mixer::devel/sdl-mixer \
zipios::archivers/zipios
# The detection of kde-config/gnome-config will only lead to some
# desktop file installation...
# png is only required for the tools, which we don't build yet.
MODULES= devel/gettext
CONFIGURE_STYLE=gnu
FLAVORS= lite
FLAVOR?=
.if ${FLAVOR:L:Mlite}
CONFIGURE_ARGS+=--enable-lite
.endif
CONFIGURE_ENV+=LDFLAGS=-L${LOCALBASE}/lib
CONFIGURE_ARGS+=--enable-server --enable-campaign-server --enable-editor
MAKE_FLAGS=LIBINTL='-L${LOCALBASE}/lib -lintl -liconv'
.include <bsd.port.mk>

4
games/wesnoth/distinfo Normal file
View File

@ -0,0 +1,4 @@
MD5 (wesnoth-0.8.10.tar.gz) = 0fbda4c35f0a6cf9f18df453a7f83f7c
RMD160 (wesnoth-0.8.10.tar.gz) = 163c06adf923049b4d6f0afea7ee74687d02eb29
SHA1 (wesnoth-0.8.10.tar.gz) = fa1c401b39d1630ef2e2319e169225dd71f333dd
SIZE (wesnoth-0.8.10.tar.gz) = 36687797

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-src_campaign_server_Makefile_in,v 1.1.1.1 2005/02/19 21:48:44 espie Exp $
--- src/campaign_server/Makefile.in.orig Sat Feb 19 13:46:37 2005
+++ src/campaign_server/Makefile.in Sat Feb 19 13:46:48 2005
@@ -71,7 +71,7 @@ am_campaignd_OBJECTS = campaign_server.$
network_worker.$(OBJEXT) publish_campaign.$(OBJEXT) \
thread.$(OBJEXT) xcoll.$(OBJEXT)
campaignd_OBJECTS = $(am_campaignd_OBJECTS)
-campaignd_LDADD = $(LDADD)
+campaignd_LDADD = $(LDADD) $(LTLIBINTL)
am__DEPENDENCIES_1 =
campaignd_DEPENDENCIES = $(am__DEPENDENCIES_1)
DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-src_server_Makefile_in,v 1.1.1.1 2005/02/19 21:48:44 espie Exp $
--- src/server/Makefile.in.orig Sat Feb 19 13:32:20 2005
+++ src/server/Makefile.in Sat Feb 19 13:32:44 2005
@@ -72,7 +72,7 @@ am_wesnothd_OBJECTS = game.$(OBJEXT) inp
network.$(OBJEXT) network_worker.$(OBJEXT) thread.$(OBJEXT) \
xcoll.$(OBJEXT)
wesnothd_OBJECTS = $(am_wesnothd_OBJECTS)
-wesnothd_LDADD = $(LDADD)
+wesnothd_LDADD = $(LDADD) $(LTLIBINTL)
am__DEPENDENCIES_1 =
wesnothd_DEPENDENCIES = $(am__DEPENDENCIES_1)
DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-src_zip_Makefile_in,v 1.1.1.1 2005/02/19 21:48:44 espie Exp $
--- src/zip/Makefile.in.orig Sat Feb 19 14:05:12 2005
+++ src/zip/Makefile.in Sat Feb 19 14:05:51 2005
@@ -69,7 +69,7 @@ am_wesnoth_zip_OBJECTS = zip.$(OBJEXT) c
filesystem.$(OBJEXT) game_config.$(OBJEXT) gettext.$(OBJEXT) \
log.$(OBJEXT) network.$(OBJEXT) variable.$(OBJEXT)
wesnoth_zip_OBJECTS = $(am_wesnoth_zip_OBJECTS)
-wesnoth_zip_LDADD = $(LDADD)
+wesnoth_zip_LDADD = $(LDADD) $(LTLIBINTL) $(LIBZIPIOS)
DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
depcomp = $(SHELL) $(top_srcdir)/config/depcomp
am__depfiles_maybe = depfiles

View File

@ -0,0 +1,10 @@
$OpenBSD: patch-src_zip_zip_cpp,v 1.1.1.1 2005/02/19 21:48:44 espie Exp $
--- src/zip/zip.cpp.orig Sat Feb 19 13:50:47 2005
+++ src/zip/zip.cpp Sat Feb 19 13:50:55 2005
@@ -1,5 +1,6 @@
#include "../config.hpp"
#include "../game_config.hpp"
+#include "../filesystem.hpp"
#include <iostream>
#include <sstream>
#include <vector>

11
games/wesnoth/pkg/DESCR Normal file
View File

@ -0,0 +1,11 @@
The Battle for Wesnoth
is a turn-based strategy game with a fantasy theme.
Build your army, keeping your most experienced fighters from one mission
to the next. You can recruit fighters from a large selection of units,
offering various strategic strengths and weaknesses on different
terrains and against different opponents.
Flavors:
lite
stripped down version without music and some graphics.

View File

@ -0,0 +1,38 @@
@comment $OpenBSD: PFRAG.no-lite,v 1.1.1.1 2005/02/19 21:48:44 espie Exp $
share/wesnoth/images/campaigns/Heir_To_The_Throne/
share/wesnoth/images/campaigns/Heir_To_The_Throne/story/
share/wesnoth/images/campaigns/Heir_To_The_Throne/story/story0a.png
share/wesnoth/images/campaigns/Heir_To_The_Throne/story/story0b.png
share/wesnoth/images/campaigns/Heir_To_The_Throne/story/story1.png
share/wesnoth/images/campaigns/Heir_To_The_Throne/story/story2.png
share/wesnoth/images/campaigns/Heir_To_The_Throne/story/story3.png
share/wesnoth/images/campaigns/Heir_To_The_Throne/story/story4.png
share/wesnoth/images/campaigns/Heir_To_The_Throne/story/story5.png
share/wesnoth/images/campaigns/Heir_To_The_Throne/story/story6.png
share/wesnoth/images/campaigns/Heir_To_The_Throne/story/story7.png
share/wesnoth/images/campaigns/Heir_To_The_Throne/story/story8.png
share/wesnoth/images/campaigns/Heir_To_The_Throne/story/story9.png
share/wesnoth/images/campaigns/Son_Of_The_Black_Eye/
share/wesnoth/images/campaigns/Son_Of_The_Black_Eye/maps/
share/wesnoth/images/campaigns/Son_Of_The_Black_Eye/maps/sotbe.png
share/wesnoth/images/campaigns/Son_Of_The_Black_Eye/maps/sotbe1.png
share/wesnoth/images/campaigns/Son_Of_The_Black_Eye/maps/sotbe2.png
share/wesnoth/images/campaigns/Son_Of_The_Black_Eye/maps/sotbe3.png
share/wesnoth/images/campaigns/The_Rise_of_Wesnoth/story/
share/wesnoth/images/campaigns/The_Rise_of_Wesnoth/story/east.png
share/wesnoth/images/campaigns/The_Rise_of_Wesnoth/story/the_duel.png
share/wesnoth/images/campaigns/The_Rise_of_Wesnoth/story/trow-logo.png
share/wesnoth/images/campaigns/The_Rise_of_Wesnoth/story/west.png
share/wesnoth/music/
share/wesnoth/music/elf-land.ogg
share/wesnoth/music/frantic.ogg
share/wesnoth/music/main_menu.ogg
share/wesnoth/music/underground.ogg
share/wesnoth/music/wesnoth-1.ogg
share/wesnoth/music/wesnoth-2.ogg
share/wesnoth/music/wesnoth-3.ogg
share/wesnoth/music/wesnoth-4.ogg
share/wesnoth/music/wesnoth-5.ogg
share/wesnoth/music/wesnoth-6.ogg
share/wesnoth/music/wesnoth-7.ogg
share/wesnoth/music/wesnoth-8.ogg

3102
games/wesnoth/pkg/PLIST Normal file

File diff suppressed because it is too large Load Diff