Import Wargus 2.4.2 as wip/wargus.

This commit is contained in:
Charlotte Koch 2019-07-06 14:39:29 -07:00
parent 3e20a7f9dc
commit a0e28812ed
6 changed files with 1745 additions and 0 deletions

View File

@ -4901,6 +4901,7 @@ SUBDIR+= wackamole
SUBDIR+= waffle
SUBDIR+= wanderer
SUBDIR+= wang-ttf
SUBDIR+= wargus
SUBDIR+= warsow
SUBDIR+= watch
SUBDIR+= wayland

5
wargus/DESCR Normal file
View File

@ -0,0 +1,5 @@
Wargus is a Warcraft2 mod that allows you to play Warcraft2 with the
Stratagus engine. The game looks and sounds exactly like Warcraft2. The
gameplay is very close to Warcraft2's gameplay, with slight enhancements
towards Starcraft. You can find more details on Wargus and on how to install
it under Linux, Windows and Mac at http://wargus.github.io.

22
wargus/Makefile Normal file
View File

@ -0,0 +1,22 @@
# $NetBSD$
DISTNAME= wargus-2.4.2
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_GITHUB:=Wargus/}
GITHUB_TAG= v${PKGVERSION_NOREV}
MAINTAINER= cfkoch@edgebsd.org
HOMEPAGE= https://github.com/Wargus/wargus
COMMENT= Importer and scripts for Warcraft2 and Aleonas Tales
LICENSE= gnu-gpl-v2
EXTRACT_USING= gtar
USE_CMAKE= yes
USE_LANGUAGES= c c++
.include "../../archivers/bzip2/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../wip/stratagus/buildlink3.mk"
.include "../../wip/tolua++/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

1695
wargus/PLIST Normal file

File diff suppressed because it is too large Load Diff

7
wargus/distinfo Normal file
View File

@ -0,0 +1,7 @@
$NetBSD$
SHA1 (wargus-2.4.2.tar.gz) = 3c7829f7708fa58b4111627a89c72d6fda73d8bd
RMD160 (wargus-2.4.2.tar.gz) = 9a36311df9353acdd30772d4b528257583debd85
SHA512 (wargus-2.4.2.tar.gz) = 7fbd1e983baa6081d2aea06a1f83a87e1efc008915c789406b7ef1e8e0d0086e0e5cc0d98ad1d6fcb222a2feb277d0da090ff5fb3c192da3d3d5bd5c1b87889d
Size (wargus-2.4.2.tar.gz) = 46013993 bytes
SHA1 (patch-rip_music_unix.cpp) = ff44c21c2af780dbf3822d5632f7dc16c552b77c

View File

@ -0,0 +1,15 @@
$NetBSD$
Add NetBSD support.
--- rip_music_unix.cpp.orig 2019-07-06 14:13:14.581553880 -0700
+++ rip_music_unix.cpp 2019-07-06 14:14:56.991326608 -0700
@@ -44,7 +44,7 @@
#elif defined(__FreeBSD__)
# include <sys/param.h>
# include <sys/mount.h>
-#elif defined(__APPLE__)
+#elif defined(__APPLE__) || defined(__NetBSD__)
# define __dev_t dev_t
# define __ino_t ino_t
#endif