From f1be20e917174f99c13268d8978042cb9f3ae71a Mon Sep 17 00:00:00 2001 From: wiz Date: Tue, 17 Aug 2004 12:29:14 +0000 Subject: Initial import of stratagus: Stratagus is a free cross-platform real-time strategy game engine. It includes support for playing over the internet/LAN, or playing a computer opponent. The engine is configurable and can be used to create games with a wide-range of features specific to your needs. --- games/stratagus/DESCR | 4 ++++ games/stratagus/Makefile | 39 +++++++++++++++++++++++++++++++++++++++ games/stratagus/PLIST | 40 ++++++++++++++++++++++++++++++++++++++++ games/stratagus/distinfo | 5 +++++ games/stratagus/patches/patch-aa | 13 +++++++++++++ 5 files changed, 101 insertions(+) create mode 100644 games/stratagus/DESCR create mode 100644 games/stratagus/Makefile create mode 100644 games/stratagus/PLIST create mode 100644 games/stratagus/distinfo create mode 100644 games/stratagus/patches/patch-aa diff --git a/games/stratagus/DESCR b/games/stratagus/DESCR new file mode 100644 index 00000000000..00f42102fea --- /dev/null +++ b/games/stratagus/DESCR @@ -0,0 +1,4 @@ +Stratagus is a free cross-platform real-time strategy game engine. +It includes support for playing over the internet/LAN, or playing +a computer opponent. The engine is configurable and can be used to +create games with a wide-range of features specific to your needs. diff --git a/games/stratagus/Makefile b/games/stratagus/Makefile new file mode 100644 index 00000000000..070641623ba --- /dev/null +++ b/games/stratagus/Makefile @@ -0,0 +1,39 @@ +# $NetBSD: Makefile,v 1.1.1.1 2004/08/17 12:29:14 wiz Exp $ +# + +DISTNAME= stratagus-2.1-src +PKGNAME= ${DISTNAME:S/-src//} +CATEGORIES= games +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=stratagus/} + +MAINTAINER= wiz@NetBSD.org +HOMEPAGE= http://stratagus.sourceforge.net/ +COMMENT= Real-time strategy engine + +WRKSRC= ${WRKDIR}/stratagus-040702 +USE_BUILDLINK3= yes +USE_GNU_TOOLS+= make +USE_PKGLOCALEDIR= yes +GNU_CONFIGURE= yes + +CONFIGURE_ARGS+= --with-flac --with-mad + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/stratagus ${PREFIX}/bin + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/stratagus + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/stratagus/graphics + ${INSTALL_DATA} ${WRKSRC}/doc/*.* ${PREFIX}/share/doc/stratagus + ${INSTALL_DATA} ${WRKSRC}/doc/graphics/* \ + ${PREFIX}/share/doc/stratagus/graphics + +.include "../../archivers/bzip2/buildlink3.mk" +.include "../../audio/flac/buildlink3.mk" +.include "../../audio/libmad/buildlink3.mk" +.include "../../audio/libmikmod/buildlink3.mk" +.include "../../audio/libvorbis/buildlink3.mk" +.include "../../devel/SDL/buildlink3.mk" +.include "../../devel/zlib/buildlink3.mk" +.include "../../graphics/png/buildlink3.mk" +.include "../../lang/lua/buildlink3.mk" +.include "../../multimedia/libogg/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/games/stratagus/PLIST b/games/stratagus/PLIST new file mode 100644 index 00000000000..c97cf1e61ae --- /dev/null +++ b/games/stratagus/PLIST @@ -0,0 +1,40 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2004/08/17 12:29:14 wiz Exp $ +bin/stratagus +share/doc/stratagus/ChangeLog.html +share/doc/stratagus/README-SDL.txt +share/doc/stratagus/datadir.html +share/doc/stratagus/development.html +share/doc/stratagus/faq.html +share/doc/stratagus/gpl.html +share/doc/stratagus/index.html +share/doc/stratagus/install.html +share/doc/stratagus/media.html +share/doc/stratagus/todo.html +share/doc/stratagus/vp32_opensource_license_9-6-01.txt +share/doc/stratagus/graphics/stratagus.gimp +share/doc/stratagus/graphics/palette.html +share/doc/stratagus/graphics/tileset.html +share/doc/stratagus/graphics/unit.html +share/doc/stratagus/graphics/defect_human_wall.png +share/doc/stratagus/graphics/coast_and_ground.png +share/doc/stratagus/graphics/dark_coast.png +share/doc/stratagus/graphics/dark_ground.png +share/doc/stratagus/graphics/forest_and_ground.png +share/doc/stratagus/graphics/defect_orc_wall.png +share/doc/stratagus/graphics/destroyed_wall.png +share/doc/stratagus/graphics/farm.png +share/doc/stratagus/graphics/fog_of_war.png +share/doc/stratagus/graphics/human_wall.png +share/doc/stratagus/graphics/light_and_dark_ground.png +share/doc/stratagus/graphics/light_and_dark_coast.png +share/doc/stratagus/graphics/light_and_dark_water.png +share/doc/stratagus/graphics/light_coast.png +share/doc/stratagus/graphics/light_ground.png +share/doc/stratagus/graphics/orc_wall.png +share/doc/stratagus/graphics/peasant.png +share/doc/stratagus/graphics/rocks_and_coast.png +share/doc/stratagus/graphics/summer.png +share/doc/stratagus/graphics/summer_klein.png +share/doc/stratagus/graphics/water_and_coast.png +@dirrm share/doc/stratagus/graphics +@dirrm share/doc/stratagus diff --git a/games/stratagus/distinfo b/games/stratagus/distinfo new file mode 100644 index 00000000000..6b6b20984f5 --- /dev/null +++ b/games/stratagus/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2004/08/17 12:29:14 wiz Exp $ + +SHA1 (stratagus-2.1-src.tar.gz) = 33181d57e018825a450f1e8c0ec31b0887cbd39c +Size (stratagus-2.1-src.tar.gz) = 995686 bytes +SHA1 (patch-aa) = 2f1403d58b3a745845c3b3e94abb7cf65b00194d diff --git a/games/stratagus/patches/patch-aa b/games/stratagus/patches/patch-aa new file mode 100644 index 00000000000..25a0dbe5871 --- /dev/null +++ b/games/stratagus/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1.1.1 2004/08/17 12:29:14 wiz Exp $ + +--- src/stratagus/stratagus.c.orig 2004-06-26 01:22:34.000000000 +0200 ++++ src/stratagus/stratagus.c +@@ -341,7 +341,7 @@ char* strdcat3(const char* l, const char + return res; + } + +-#if !defined(BSD) ++#if !defined(BSD) || defined(__NetBSD__) + /** + ** Case insensitive version of strstr + ** -- cgit v1.2.3