summaryrefslogtreecommitdiff
path: root/games/stratagus
diff options
context:
space:
mode:
authorwiz <wiz>2004-08-17 12:29:14 +0000
committerwiz <wiz>2004-08-17 12:29:14 +0000
commita6e54e5c69a7aa66f23e5ce207d833c734d61ce8 (patch)
tree4e4c26387508fcea195aa47ba3f58ed60caf4289 /games/stratagus
parentba05eaaae23aaa9a9a40bd4acc89146cd827f5c3 (diff)
downloadpkgsrc-a6e54e5c69a7aa66f23e5ce207d833c734d61ce8.tar.gz
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.
Diffstat (limited to 'games/stratagus')
-rw-r--r--games/stratagus/DESCR4
-rw-r--r--games/stratagus/Makefile39
-rw-r--r--games/stratagus/PLIST40
-rw-r--r--games/stratagus/distinfo5
-rw-r--r--games/stratagus/patches/patch-aa13
5 files changed, 101 insertions, 0 deletions
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
+ **