View | Details | Raw Unified | Return to bug 260562
Collapse All | Expand All

(-)b/games/stratagus/Makefile (-23 / +24 lines)
Lines 1-9 Link Here
1
# Created by: Travis Poppe <tlp@liquidx.org>
1
# Created by: Travis Poppe <tlp@liquidx.org>
2
2
3
PORTNAME=	stratagus
3
PORTNAME=	stratagus
4
PORTVERSION=	2.4.2
4
PORTVERSION=	3.1.2
5
DISTVERSIONPREFIX=	v
5
DISTVERSIONPREFIX=	v
6
PORTREVISION=	3
7
CATEGORIES=	games
6
CATEGORIES=	games
8
7
9
MAINTAINER=	amdmi3@FreeBSD.org
8
MAINTAINER=	amdmi3@FreeBSD.org
Lines 15-36 LICENSE_FILE= ${WRKSRC}/COPYING Link Here
15
LIB_DEPENDS=	libpng.so:graphics/png \
14
LIB_DEPENDS=	libpng.so:graphics/png \
16
		libtolua++-${LUA_VER}.so:lang/tolua++
15
		libtolua++-${LUA_VER}.so:lang/tolua++
17
16
18
USE_GITHUB=	yes
17
USES=		cmake compiler:gcc-c++11-lib gl lua:51 ninja pkgconfig \
19
GH_ACCOUNT=	Wargus
18
		python:run sdl sqlite
20
19
21
USES=		cmake compiler:c++11-lang gl lua:51 pkgconfig sdl sqlite python:run
22
USE_GL=		gl glu
20
USE_GL=		gl glu
23
USE_SDL=	sdl
21
USE_GITHUB=	yes
22
USE_SDL=	image2 mixer2
24
CMAKE_ARGS=	-DGAMEDIR:STRING="bin" \
23
CMAKE_ARGS=	-DGAMEDIR:STRING="bin" \
25
		-DTOLUA++_APP:STRING="tolua++-${LUA_VER}" \
24
		-DTOLUA++_APP:STRING="tolua++-${LUA_VER}" \
26
		-DTOLUA++_INCLUDE_DIR:STRING="${LUA_INCDIR}" \
25
		-DTOLUA++_INCLUDE_DIR:STRING="${LUA_INCDIR}" \
27
		-DTOLUA++_LIBRARY:STRING="${LUA_LIBDIR}/libtolua++.so"
26
		-DTOLUA++_LIBRARY:STRING="${LUA_LIBDIR}/libtolua++.so"
28
CMAKE_ON=	ENABLE_DEV
27
CMAKE_ON=	ENABLE_DEV
29
28
30
PORTDOCS=	*
29
GH_ACCOUNT=	Wargus
31
30
32
OPTIONS_DEFINE=	MIKMOD MNG THEORA VORBIS X11 FLUIDSYNTH DOCS
31
OPTIONS_DEFINE=		DOCS FLUIDSYNTH MIKMOD MNG THEORA VORBIS X11
33
OPTIONS_DEFAULT=MIKMOD MNG THEORA VORBIS X11 FLUIDSYNTH
32
OPTIONS_DEFAULT=	FLUIDSYNTH MIKMOD MNG THEORA VORBIS X11
33
34
FLUIDSYNTH_LIB_DEPENDS=	libfluidsynth.so:audio/fluidsynth
35
FLUIDSYNTH_CMAKE_BOOL=	WITH_FLUIDSYNTH
34
36
35
MIKMOD_LIB_DEPENDS=	libmikmod.so:audio/libmikmod
37
MIKMOD_LIB_DEPENDS=	libmikmod.so:audio/libmikmod
36
MIKMOD_CMAKE_BOOL=	WITH_MIKMOD
38
MIKMOD_CMAKE_BOOL=	WITH_MIKMOD
Lines 42-69 MNG_CMAKE_BOOL= WITH_MNG Link Here
42
THEORA_LIB_DEPENDS=	libtheora.so:multimedia/libtheora
44
THEORA_LIB_DEPENDS=	libtheora.so:multimedia/libtheora
43
THEORA_CMAKE_BOOL=	WITH_THEORA
45
THEORA_CMAKE_BOOL=	WITH_THEORA
44
46
45
VORBIS_LIB_DEPENDS=	libvorbis.so:audio/libvorbis \
47
VORBIS_LIB_DEPENDS=	libogg.so:audio/libogg \
46
			libogg.so:audio/libogg
48
			libvorbis.so:audio/libvorbis
47
VORBIS_CMAKE_BOOL=	WITH_OGGVORBIS
49
VORBIS_CMAKE_BOOL=	WITH_OGGVORBIS
48
50
49
X11_DESC=		X11 clipboard pasting support
51
X11_DESC=	X11 clipboard pasting support
50
X11_USES=		xorg
52
X11_USES=	xorg
51
X11_USE=		XORG=x11
53
X11_USE=	XORG=x11
52
X11_CMAKE_BOOL=		WITH_X11
54
X11_CMAKE_BOOL=	WITH_X11
53
54
FLUIDSYNTH_LIB_DEPENDS=	libfluidsynth.so:audio/fluidsynth
55
FLUIDSYNTH_CMAKE_BOOL=	WITH_FLUIDSYNTH
56
55
57
post-patch:
56
post-patch:
58
	@${REINPLACE_CMD} -e 's|"python"|"${PYTHON_CMD}"|' \
57
	@${REINPLACE_CMD} -e 's|"python"|"${PYTHON_CMD}"|' \
59
		${WRKSRC}/gameheaders/stratagus-tinyfiledialogs.h
58
		${WRKSRC}/gameheaders/stratagus-tinyfiledialogs.h
60
59
61
post-install:
62
	${INSTALL_DATA} ${WRKSRC}/doc/stratagus.6 ${STAGEDIR}${MAN6PREFIX}/man/man6
63
64
post-install-DOCS-on:
60
post-install-DOCS-on:
65
	@cd ${WRKSRC}/doc && ${COPYTREE_SHARE} "[a-z]*.html *.txt graphics scripts" \
61
	${MKDIR} ${STAGEDIR}${DOCSDIR}
66
		${STAGEDIR}${DOCSDIR}
62
	${INSTALL_MAN} ${WRKSRC}/doc/${PORTNAME}.6 \
63
		${STAGEDIR}${MAN6PREFIX}/man/man6
64
	${INSTALL_MAN} ${WRKSRC}/README.md ${STAGEDIR}${MAN6PREFIX}
65
	(cd ${WRKSRC}/doc && \
66
		${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} \
67
		"! -name ${PORTNAME}.6")
67
68
68
.include <bsd.port.pre.mk>
69
.include <bsd.port.pre.mk>
69
70
(-)b/games/stratagus/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1538587339
1
TIMESTAMP = 1639882984
2
SHA256 (Wargus-stratagus-v2.4.2_GH0.tar.gz) = 366be8255c7e7cb694661b5db08b81908885a8ff89007d6e24769bf619235b89
2
SHA256 (Wargus-stratagus-v3.1.2_GH0.tar.gz) = e88dbf5e9136329d5fbba403224465633c0b06c307dd1abef4073d58f34464e5
3
SIZE (Wargus-stratagus-v2.4.2_GH0.tar.gz) = 1114717
3
SIZE (Wargus-stratagus-v3.1.2_GH0.tar.gz) = 1190124
(-)b/games/stratagus/pkg-descr (-2 / +2 lines)
Lines 2-7 Stratagus is a free cross-platform real-time strategy gaming engine. It Link Here
2
includes support for playing over the internet/LAN, or playing a computer
2
includes support for playing over the internet/LAN, or playing a computer
3
opponent. The engine is configurable and can be used to create games with
3
opponent. The engine is configurable and can be used to create games with
4
a wide-range of features specific to your needs. See the data sets page
4
a wide-range of features specific to your needs. See the data sets page
5
for a list of current games using the stratagus engine.
5
for a list of current games using the Stratagus engine.
6
6
7
WWW: https://launchpad.net/stratagus
7
WWW: https://stratagus.com/stratagus.html
(-)b/games/stratagus/pkg-message (-7 / +6 lines)
Lines 1-16 Link Here
1
[
1
[
2
{ type: install
2
{ type: install
3
  message: <<EOM
3
  message: <<EOM
4
NOTE: This is only the engine. If you wish to play a game that uses the
4
NOTE: This is the engine only. If you would like to play a game that uses the
5
Stratagus engine, you must manually download the Stratagus game data.
5
Stratagus engine, you must install supporting games of the engine.
6
6
7
You can use the 'games/wargus' port to extract data from a legal copy of
7
wartool, available in 'games/wargus' allows the user to extract game data
8
Warcraft 2 (original DOS version required, won't work with the battle.net
8
from legitimate copies of Warcraft 2, for use by Stratagus.
9
edition).
10
9
11
For more information, please take a look at the following URL:
10
For more information, visit the following URL:
12
11
13
http://stratagus.sourceforge.net/games.shtml
12
https://stratagus.com/
14
13
15
Enjoy!
14
Enjoy!
16
EOM
15
EOM
(-)b/games/stratagus/pkg-plist (-3 / +56 lines)
Lines 1-9 Link Here
1
bin/png2stratagus
1
bin/png2stratagus
2
bin/metaserver
3
bin/stratagus
2
bin/stratagus
4
@comment include/stratagus-game-installer.nsi
3
include/stratagus-game-installer.nsi
5
include/stratagus-game-launcher.h
4
include/stratagus-game-launcher.h
6
include/stratagus-gameutils.h
5
include/stratagus-gameutils.h
7
include/stratagus-tinyfiledialogs.h
6
include/stratagus-tinyfiledialogs.h
8
@comment include/stratagus-maemo-extract.h
9
man/man6/stratagus.6.gz
7
man/man6/stratagus.6.gz
8
%%PORTDOCS%%%%DOCSDIR%%/Doxyfile-footer.html
9
%%PORTDOCS%%%%DOCSDIR%%/Doxyfile-header.html
10
%%PORTDOCS%%%%DOCSDIR%%/Doxyfile.in
11
%%PORTDOCS%%%%DOCSDIR%%/README-SDL.txt
12
%%PORTDOCS%%%%DOCSDIR%%/changelog.html
13
%%PORTDOCS%%%%DOCSDIR%%/development.html
14
%%PORTDOCS%%%%DOCSDIR%%/faq.html
15
%%PORTDOCS%%%%DOCSDIR%%/gpl.html
16
%%PORTDOCS%%%%DOCSDIR%%/graphics/coast_and_ground.png
17
%%PORTDOCS%%%%DOCSDIR%%/graphics/dark_coast.png
18
%%PORTDOCS%%%%DOCSDIR%%/graphics/dark_ground.png
19
%%PORTDOCS%%%%DOCSDIR%%/graphics/defect_human_wall.png
20
%%PORTDOCS%%%%DOCSDIR%%/graphics/defect_orc_wall.png
21
%%PORTDOCS%%%%DOCSDIR%%/graphics/destroyed_wall.png
22
%%PORTDOCS%%%%DOCSDIR%%/graphics/farm.png
23
%%PORTDOCS%%%%DOCSDIR%%/graphics/fog_of_war.png
24
%%PORTDOCS%%%%DOCSDIR%%/graphics/forest_and_ground.png
25
%%PORTDOCS%%%%DOCSDIR%%/graphics/human_wall.png
26
%%PORTDOCS%%%%DOCSDIR%%/graphics/light_and_dark_coast.png
27
%%PORTDOCS%%%%DOCSDIR%%/graphics/light_and_dark_ground.png
28
%%PORTDOCS%%%%DOCSDIR%%/graphics/light_and_dark_water.png
29
%%PORTDOCS%%%%DOCSDIR%%/graphics/light_coast.png
30
%%PORTDOCS%%%%DOCSDIR%%/graphics/light_ground.png
31
%%PORTDOCS%%%%DOCSDIR%%/graphics/orc_wall.png
32
%%PORTDOCS%%%%DOCSDIR%%/graphics/palette.html
33
%%PORTDOCS%%%%DOCSDIR%%/graphics/peasant.png
34
%%PORTDOCS%%%%DOCSDIR%%/graphics/rocks_and_coast.png
35
%%PORTDOCS%%%%DOCSDIR%%/graphics/stratagus.gimp
36
%%PORTDOCS%%%%DOCSDIR%%/graphics/summer.png
37
%%PORTDOCS%%%%DOCSDIR%%/graphics/summer_klein.png
38
%%PORTDOCS%%%%DOCSDIR%%/graphics/tileset.html
39
%%PORTDOCS%%%%DOCSDIR%%/graphics/water_and_coast.png
40
%%PORTDOCS%%%%DOCSDIR%%/guichan-copyright.txt
41
%%PORTDOCS%%%%DOCSDIR%%/index.html
42
%%PORTDOCS%%%%DOCSDIR%%/install.html
43
%%PORTDOCS%%%%DOCSDIR%%/lua/generate_index.py
44
%%PORTDOCS%%%%DOCSDIR%%/media.html
45
%%PORTDOCS%%%%DOCSDIR%%/metaserver_protocol.txt
46
%%PORTDOCS%%%%DOCSDIR%%/scripts/ai.html
47
%%PORTDOCS%%%%DOCSDIR%%/scripts/config.html
48
%%PORTDOCS%%%%DOCSDIR%%/scripts/findlua.py
49
%%PORTDOCS%%%%DOCSDIR%%/scripts/game.html
50
%%PORTDOCS%%%%DOCSDIR%%/scripts/index.html
51
%%PORTDOCS%%%%DOCSDIR%%/scripts/magic.html
52
%%PORTDOCS%%%%DOCSDIR%%/scripts/makeindex.py
53
%%PORTDOCS%%%%DOCSDIR%%/scripts/mappresentation.html
54
%%PORTDOCS%%%%DOCSDIR%%/scripts/mapsetup.html
55
%%PORTDOCS%%%%DOCSDIR%%/scripts/research.html
56
%%PORTDOCS%%%%DOCSDIR%%/scripts/savegame.html
57
%%PORTDOCS%%%%DOCSDIR%%/scripts/showindex.py
58
%%PORTDOCS%%%%DOCSDIR%%/scripts/sound.html
59
%%PORTDOCS%%%%DOCSDIR%%/scripts/tileset.html
60
%%PORTDOCS%%%%DOCSDIR%%/scripts/triggers.html
61
%%PORTDOCS%%%%DOCSDIR%%/scripts/ui.html
62
%%PORTDOCS%%%%DOCSDIR%%/scripts/unittype.html

Return to bug 260562