View | Details | Raw Unified | Return to bug 221885 | Differences between
and this patch

Collapse All | Expand All

(-)i/games/vcmi/Makefile (+39 lines)
Added Link Here
1
# Created by: Piotr Kubaj <pkubaj@anongoth.pl>
2
# $FreeBSD$
3
4
PORTNAME=		vcmi
5
DISTVERSION=		0.99-837
6
DISTVERSIONSUFFIX=	-g5d0cb3150
7
CATEGORIES=		games
8
9
MAINTAINER=	pkubaj@anongoth.pl
10
COMMENT=	Open-source engine for Heroes of Might and Magic III
11
12
LICENSE=	GPLv2
13
LICENSE_FILE=	${WRKSRC}/license.txt
14
15
LIB_DEPENDS=	libboost_date_time.so:devel/boost-libs \
16
		libavcodec.so:multimedia/ffmpeg \
17
		libminizip.so:archivers/minizip \
18
		libfuzzylite.so:devel/fuzzylite
19
RUN_DEPENDS=	innoextract:archivers/innoextract
20
21
USES=		cmake:outsource compiler:c++11-lang pkgconfig shebangfix
22
USE_GITHUB=	yes
23
USE_QT5=	buildtools_build core gui network qmake_build widgets
24
USE_SDL=	image2 mixer2 ttf2
25
USE_LDCONFIG=	${PREFIX}/lib/vcmi
26
SHEBANG_FILES=	vcmibuilder
27
INSTALLS_ICONS=	yes
28
29
CMAKE_BUILD_TYPE=	RelWithDebInfo # This is REQUIRED. Release build crashes when starting a game.
30
CMAKE_ARGS+=		-DFORCE_BUNDLED_FL:BOOL=OFF \
31
			-DENABLE_TEST:BOOL=OFF
32
33
.include <bsd.port.pre.mk>
34
35
.if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 39
36
CFLAGS+=	-Wno-error=varargs
37
.endif
38
39
.include <bsd.port.post.mk>
(-)i/games/vcmi/distinfo (+3 lines)
Added Link Here
1
TIMESTAMP = 1521672358
2
SHA256 (vcmi-vcmi-0.99-837-g5d0cb3150_GH0.tar.gz) = 9159729f7ca50250e2aae603b0277f45618e545c965933e2daaff6f5cea476f6
3
SIZE (vcmi-vcmi-0.99-837-g5d0cb3150_GH0.tar.gz) = 5611871
(-)i/games/vcmi/files/patch-server_CMakeLists.txt (+13 lines)
Added Link Here
1
--- server/CMakeLists.txt.orig	2017-09-18 07:46:58 UTC
2
+++ server/CMakeLists.txt
3
@@ -28,6 +28,10 @@ add_executable(vcmiserver ${server_SRCS} ${server_HEAD
4
 
5
 target_link_libraries(vcmiserver vcmi ${Boost_LIBRARIES} ${SYSTEM_LIBS})
6
 
7
+if(${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD")
8
+target_link_libraries(vcmiserver ${Boost_LIBRARIES} ${SYSTEM_LIBS} execinfo)
9
+endif(${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD")
10
+
11
 if(WIN32)
12
 	set_target_properties(vcmiserver
13
 		PROPERTIES
(-)i/games/vcmi/pkg-descr (+3 lines)
Added Link Here
1
VCMI is work-in-progress attempt to recreate engine for Heroes III, giving it 
2
new and extended possibilities. To use VCMI you need to own original data files.
3
WWW: https://github.com/vcmi/vcmi
(-)i/games/vcmi/pkg-message (+13 lines)
Added Link Here
1
You need data files from Heroes of Might and Magic III. You can find them in
2
any of the following:
3
* one or two CD's or CD images
4
* gog.com installer
5
* directory with installed game
6
7
Run the script using options appropriate to your input files:
8
9
vcmibuilder --cd1 /path/to/iso/or/cd --cd2 /path/to/second/cd
10
vcmibuilder --gog /path/to/gog.com/installer
11
vcmibuilder --data /path/to/h3/data
12
13
You should use only one of these commands.
(-)i/games/vcmi/pkg-plist (+168 lines)
Added Link Here
1
bin/vcmibuilder
2
bin/vcmiclient
3
bin/vcmilauncher
4
bin/vcmiserver
5
lib/vcmi/AI/libBattleAI.so
6
lib/vcmi/AI/libEmptyAI.so
7
lib/vcmi/AI/libStupidAI.so
8
lib/vcmi/AI/libVCAI.so
9
lib/vcmi/libvcmi.so
10
libdata/ldconfig/vcmi
11
share/applications/vcmiclient.desktop
12
share/applications/vcmilauncher.desktop
13
share/icons/hicolor/256x256/apps/vcmiclient.png
14
share/icons/hicolor/32x32/apps/vcmiclient.png
15
share/icons/hicolor/48x48/apps/vcmiclient.png
16
share/icons/hicolor/64x64/apps/vcmiclient.png
17
%%DATADIR%%/Mods/vcmi/Data/StackQueueLarge.png
18
%%DATADIR%%/Mods/vcmi/Data/StackQueueSmall.png
19
%%DATADIR%%/Mods/vcmi/Data/questDialog.png
20
%%DATADIR%%/Mods/vcmi/Data/s/std.verm
21
%%DATADIR%%/Mods/vcmi/Data/s/testy.erm
22
%%DATADIR%%/Mods/vcmi/Data/stackWindow/bonus-effects.png
23
%%DATADIR%%/Mods/vcmi/Data/stackWindow/button-panel.png
24
%%DATADIR%%/Mods/vcmi/Data/stackWindow/commander-abilities.png
25
%%DATADIR%%/Mods/vcmi/Data/stackWindow/commander-bg.png
26
%%DATADIR%%/Mods/vcmi/Data/stackWindow/icons.png
27
%%DATADIR%%/Mods/vcmi/Data/stackWindow/info-panel-0.png
28
%%DATADIR%%/Mods/vcmi/Data/stackWindow/info-panel-1.png
29
%%DATADIR%%/Mods/vcmi/Data/stackWindow/info-panel-2.png
30
%%DATADIR%%/Mods/vcmi/Data/stackWindow/spell-effects.png
31
%%DATADIR%%/Mods/vcmi/Sprites/PortraitsLarge.json
32
%%DATADIR%%/Mods/vcmi/Sprites/PortraitsSmall.json
33
%%DATADIR%%/Mods/vcmi/Sprites/QuickRecruitmentWindow/CreaturePurchaseCard.png
34
%%DATADIR%%/Mods/vcmi/Sprites/QuickRecruitmentWindow/QuickRecruitmentAllButton.def
35
%%DATADIR%%/Mods/vcmi/Sprites/QuickRecruitmentWindow/QuickRecruitmentNoneButton.def
36
%%DATADIR%%/Mods/vcmi/Sprites/QuickRecruitmentWindow/costBackground.png
37
%%DATADIR%%/Mods/vcmi/Sprites/ScSelC.json
38
%%DATADIR%%/Mods/vcmi/Sprites/buttons/commander.json
39
%%DATADIR%%/Mods/vcmi/Sprites/buttons/commanderNormal.png
40
%%DATADIR%%/Mods/vcmi/Sprites/buttons/commanderPressed.png
41
%%DATADIR%%/Mods/vcmi/Sprites/buttons/resolution.json
42
%%DATADIR%%/Mods/vcmi/Sprites/buttons/resolutionNormal.png
43
%%DATADIR%%/Mods/vcmi/Sprites/buttons/resolutionPressed.png
44
%%DATADIR%%/Mods/vcmi/Sprites/itpa.json
45
%%DATADIR%%/Mods/vcmi/Sprites/mapFormatIcons/vcmi1.png
46
%%DATADIR%%/Mods/vcmi/Sprites/stackWindow/cancel-normal.png
47
%%DATADIR%%/Mods/vcmi/Sprites/stackWindow/cancel-pressed.png
48
%%DATADIR%%/Mods/vcmi/Sprites/stackWindow/cancelButton.json
49
%%DATADIR%%/Mods/vcmi/Sprites/stackWindow/level-0.png
50
%%DATADIR%%/Mods/vcmi/Sprites/stackWindow/level-1.png
51
%%DATADIR%%/Mods/vcmi/Sprites/stackWindow/level-10.png
52
%%DATADIR%%/Mods/vcmi/Sprites/stackWindow/level-2.png
53
%%DATADIR%%/Mods/vcmi/Sprites/stackWindow/level-3.png
54
%%DATADIR%%/Mods/vcmi/Sprites/stackWindow/level-4.png
55
%%DATADIR%%/Mods/vcmi/Sprites/stackWindow/level-5.png
56
%%DATADIR%%/Mods/vcmi/Sprites/stackWindow/level-6.png
57
%%DATADIR%%/Mods/vcmi/Sprites/stackWindow/level-7.png
58
%%DATADIR%%/Mods/vcmi/Sprites/stackWindow/level-8.png
59
%%DATADIR%%/Mods/vcmi/Sprites/stackWindow/level-9.png
60
%%DATADIR%%/Mods/vcmi/Sprites/stackWindow/levels.json
61
%%DATADIR%%/Mods/vcmi/Sprites/stackWindow/switchModeIcons.json
62
%%DATADIR%%/Mods/vcmi/Sprites/stackWindow/upgrade-normal.png
63
%%DATADIR%%/Mods/vcmi/Sprites/stackWindow/upgrade-pressed.png
64
%%DATADIR%%/Mods/vcmi/Sprites/stackWindow/upgradeButton.json
65
%%DATADIR%%/Mods/vcmi/Sprites/vcmi/battleQueue/defendBig.png
66
%%DATADIR%%/Mods/vcmi/Sprites/vcmi/battleQueue/defendSmall.png
67
%%DATADIR%%/Mods/vcmi/Sprites/vcmi/battleQueue/statesBig.json
68
%%DATADIR%%/Mods/vcmi/Sprites/vcmi/battleQueue/statesSmall.json
69
%%DATADIR%%/Mods/vcmi/Sprites/vcmi/battleQueue/waitBig.png
70
%%DATADIR%%/Mods/vcmi/Sprites/vcmi/battleQueue/waitSmall.png
71
%%DATADIR%%/Mods/vcmi/mod.json
72
%%DATADIR%%/config/ERMU_to_picture.json
73
%%DATADIR%%/config/NEUTRAL.PAL
74
%%DATADIR%%/config/ambientSounds.json
75
%%DATADIR%%/config/artifacts.json
76
%%DATADIR%%/config/battleStartpos.json
77
%%DATADIR%%/config/battles_graphics.json
78
%%DATADIR%%/config/bonuses.json
79
%%DATADIR%%/config/bonuses_texts.json
80
%%DATADIR%%/config/buildings5.json
81
%%DATADIR%%/config/campaignMedia.json
82
%%DATADIR%%/config/campaignSets.json
83
%%DATADIR%%/config/campaign_regions.json
84
%%DATADIR%%/config/commanders.json
85
%%DATADIR%%/config/creatures/castle.json
86
%%DATADIR%%/config/creatures/conflux.json
87
%%DATADIR%%/config/creatures/dungeon.json
88
%%DATADIR%%/config/creatures/fortress.json
89
%%DATADIR%%/config/creatures/inferno.json
90
%%DATADIR%%/config/creatures/necropolis.json
91
%%DATADIR%%/config/creatures/neutral.json
92
%%DATADIR%%/config/creatures/rampart.json
93
%%DATADIR%%/config/creatures/special.json
94
%%DATADIR%%/config/creatures/stronghold.json
95
%%DATADIR%%/config/creatures/tower.json
96
%%DATADIR%%/config/defaultMods.json
97
%%DATADIR%%/config/factions/castle.json
98
%%DATADIR%%/config/factions/conflux.json
99
%%DATADIR%%/config/factions/dungeon.json
100
%%DATADIR%%/config/factions/fortress.json
101
%%DATADIR%%/config/factions/inferno.json
102
%%DATADIR%%/config/factions/necropolis.json
103
%%DATADIR%%/config/factions/neutral.json
104
%%DATADIR%%/config/factions/rampart.json
105
%%DATADIR%%/config/factions/random.json
106
%%DATADIR%%/config/factions/stronghold.json
107
%%DATADIR%%/config/factions/tower.json
108
%%DATADIR%%/config/filesystem.json
109
%%DATADIR%%/config/fonts.json
110
%%DATADIR%%/config/gameConfig.json
111
%%DATADIR%%/config/heroClasses.json
112
%%DATADIR%%/config/heroes/castle.json
113
%%DATADIR%%/config/heroes/conflux.json
114
%%DATADIR%%/config/heroes/dungeon.json
115
%%DATADIR%%/config/heroes/fortress.json
116
%%DATADIR%%/config/heroes/inferno.json
117
%%DATADIR%%/config/heroes/necropolis.json
118
%%DATADIR%%/config/heroes/rampart.json
119
%%DATADIR%%/config/heroes/special.json
120
%%DATADIR%%/config/heroes/stronghold.json
121
%%DATADIR%%/config/heroes/tower.json
122
%%DATADIR%%/config/mainmenu.json
123
%%DATADIR%%/config/mapOverrides.json
124
%%DATADIR%%/config/objects/creatureBanks.json
125
%%DATADIR%%/config/objects/dwellings.json
126
%%DATADIR%%/config/objects/generic.json
127
%%DATADIR%%/config/objects/moddables.json
128
%%DATADIR%%/config/objects/rewardable.json
129
%%DATADIR%%/config/obstacles.json
130
%%DATADIR%%/config/resolutions.json
131
%%DATADIR%%/config/resources.json
132
%%DATADIR%%/config/schemas/artifact.json
133
%%DATADIR%%/config/schemas/bonus.json
134
%%DATADIR%%/config/schemas/creature.json
135
%%DATADIR%%/config/schemas/faction.json
136
%%DATADIR%%/config/schemas/hero.json
137
%%DATADIR%%/config/schemas/heroClass.json
138
%%DATADIR%%/config/schemas/mapHeader.json
139
%%DATADIR%%/config/schemas/mod.json
140
%%DATADIR%%/config/schemas/object.json
141
%%DATADIR%%/config/schemas/objectTemplate.json
142
%%DATADIR%%/config/schemas/objectType.json
143
%%DATADIR%%/config/schemas/settings.json
144
%%DATADIR%%/config/schemas/skill.json
145
%%DATADIR%%/config/schemas/spell.json
146
%%DATADIR%%/config/schemas/template.json
147
%%DATADIR%%/config/schemas/townBuilding.json
148
%%DATADIR%%/config/schemas/townSiege.json
149
%%DATADIR%%/config/schemas/townStructure.json
150
%%DATADIR%%/config/skills.json
151
%%DATADIR%%/config/sp_sounds.json
152
%%DATADIR%%/config/spells/ability.json
153
%%DATADIR%%/config/spells/adventure.json
154
%%DATADIR%%/config/spells/offensive.json
155
%%DATADIR%%/config/spells/other.json
156
%%DATADIR%%/config/spells/timed.json
157
%%DATADIR%%/config/startres.json
158
%%DATADIR%%/config/terrainViewPatterns.json
159
%%DATADIR%%/config/terrains.json
160
%%DATADIR%%/config/translate.json
161
%%DATADIR%%/launcher/icons/menu-game.png
162
%%DATADIR%%/launcher/icons/menu-mods.png
163
%%DATADIR%%/launcher/icons/menu-settings.png
164
%%DATADIR%%/launcher/icons/mod-delete.png
165
%%DATADIR%%/launcher/icons/mod-disabled.png
166
%%DATADIR%%/launcher/icons/mod-download.png
167
%%DATADIR%%/launcher/icons/mod-enabled.png
168
%%DATADIR%%/launcher/icons/mod-update.png

Return to bug 221885