Date: Wed, 21 Sep 2022 07:57:07 GMT From: Alexey Dokuchaev <danfe@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 736806fd2af8 - main - games/vcmi: new port had been added (+) Message-ID: <202209210757.28L7v7iG039737@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by danfe: URL: https://cgit.FreeBSD.org/ports/commit/?id=736806fd2af80366e8c132e35aeea7e8450e269e commit 736806fd2af80366e8c132e35aeea7e8450e269e Author: Alexey Dokuchaev <danfe@FreeBSD.org> AuthorDate: 2022-09-21 07:55:44 +0000 Commit: Alexey Dokuchaev <danfe@FreeBSD.org> CommitDate: 2022-09-21 07:55:44 +0000 games/vcmi: new port had been added (+) VCMI is an open-source project aiming to reimplement HoMM3:WoG and SoD game engines, giving it new and extended possibilities. WWW: https://vcmi.eu/ --- games/Makefile | 1 + games/vcmi/Makefile | 47 ++++++++++++ games/vcmi/distinfo | 3 + games/vcmi/pkg-descr | 14 ++++ games/vcmi/pkg-message | 13 ++++ games/vcmi/pkg-plist | 201 +++++++++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 279 insertions(+) diff --git a/games/Makefile b/games/Makefile index fc5711428d5c..e7721c6d2c1a 100644 --- a/games/Makefile +++ b/games/Makefile @@ -1018,6 +1018,7 @@ SUBDIR += vanilla-conquer SUBDIR += vavoom SUBDIR += vavoom-extras + SUBDIR += vcmi SUBDIR += vectoroids SUBDIR += veloren SUBDIR += violetland diff --git a/games/vcmi/Makefile b/games/vcmi/Makefile new file mode 100644 index 000000000000..07c2046d3140 --- /dev/null +++ b/games/vcmi/Makefile @@ -0,0 +1,47 @@ +PORTNAME= vcmi +PORTVERSION= 1.0.0 +CATEGORIES= games + +MAINTAINER= danfe@FreeBSD.org +COMMENT= Open-source engine for Heroes of Might and Magic III +WWW= https://vcmi.eu/ + +LICENSE= GPLv2+ + +LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg \ + libboost_atomic.so:devel/boost-libs \ + libfuzzylite.so:devel/fuzzylite \ + libluajit-5.1.so:lang/luajit \ + libminizip.so:archivers/minizip \ + libtbb.so:devel/onetbb +RUN_DEPENDS= bash:shells/bash + +USES= cmake sdl shebangfix +USE_GITHUB= yes +USE_SDL= image2 mixer2 sdl2 ttf2 +SHEBANG_FILES= vcmibuilder +CMAKE_ARGS= -DCMAKE_INSTALL_RPATH_USE_LINK_PATH:BOOL=ON \ + -DCMAKE_INSTALL_RPATH:PATH=${PREFIX}/lib/${PORTNAME} \ + -DENABLE_GITVERSION:BOOL=OFF -DENABLE_TEST:BOOL=OFF \ + -DFORCE_BUNDLED_FL:BOOL=OFF + +PORTDOCS= AUTHORS ChangeLog README.md + +OPTIONS_DEFINE= DOCS LAUNCHER +OPTIONS_DEFAULT=LAUNCHER +OPTIONS_SUB= yes + +LAUNCHER_DESC= Build Qt-based game launcher +LAUNCHER_USES= qt:5 +LAUNCHER_USE= QT=buildtools:build,qmake:build,core,gui,network,widgets +LAUNCHER_CMAKE_OFF= -DENABLE_LAUNCHER:BOOL=OFF + +post-configure: + ${SED} -e 's,@GIT_SHA1@,cedc9a9,' ${WRKSRC}/Version.cpp.in \ + > ${BUILD_WRKSRC}/Version.cpp + +post-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} + +.include <bsd.port.mk> diff --git a/games/vcmi/distinfo b/games/vcmi/distinfo new file mode 100644 index 000000000000..70c12c46bbd7 --- /dev/null +++ b/games/vcmi/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1662892941 +SHA256 (vcmi-vcmi-1.0.0_GH0.tar.gz) = 1033f69c55f2f7d071ea5f278f41d5f97abe9087e339718569681a3f46a0e7d0 +SIZE (vcmi-vcmi-1.0.0_GH0.tar.gz) = 5885358 diff --git a/games/vcmi/pkg-descr b/games/vcmi/pkg-descr new file mode 100644 index 000000000000..d7e5bf7527c2 --- /dev/null +++ b/games/vcmi/pkg-descr @@ -0,0 +1,14 @@ +VCMI is an open-source project aiming to reimplement HoMM3:WoG and SoD +game engines, giving it new and extended possibilities. Among current +features are: + + - Complete gameplay mechanics + - Almost all objects, abilities, spells, and other content + - Basic battle AI and adventure AI + - Many GUI improvements: high resolutions, stack queue, + creature window + - Advanced and easy modding support -- add new towns, creatures, + heroes, artifacts and spells without limits or conflicts + - Launcher for easy configuration -- download mods from our + server and install them immediately! + - Random map generator that supports objects added by mods diff --git a/games/vcmi/pkg-message b/games/vcmi/pkg-message new file mode 100644 index 000000000000..9eaa0c437db2 --- /dev/null +++ b/games/vcmi/pkg-message @@ -0,0 +1,13 @@ +[ +{ type: install + message: <<EOM +VCMI requires data from the original Heroes of Might and Magic III: Shadow +of Death or Complete editions. Data files from native GNU/Linux port made +by Loki Entertainment Software (The Restoration of Erathia) will not work. + +Install the game in Wine or manually unpack GOG installer, and copy "Data", +"Maps" and "Mp3" from Heroes III to /home/$USER/.local/share/vcmi/ or, if +$XDG_DATA_HOME is set, to $XDG_DATA_HOME/vcmi/. +EOM +} +] diff --git a/games/vcmi/pkg-plist b/games/vcmi/pkg-plist new file mode 100644 index 000000000000..e24de2005e48 --- /dev/null +++ b/games/vcmi/pkg-plist @@ -0,0 +1,201 @@ +bin/vcmibuilder +bin/vcmiclient +%%LAUNCHER%%bin/vcmilauncher +bin/vcmiserver +lib/vcmi/AI/libBattleAI.so +lib/vcmi/AI/libEmptyAI.so +lib/vcmi/AI/libNullkiller.so +lib/vcmi/AI/libStupidAI.so +lib/vcmi/AI/libVCAI.so +lib/vcmi/libvcmi.so +lib/vcmi/scripting/libvcmiERM.so +lib/vcmi/scripting/libvcmiLua.so +share/applications/vcmiclient.desktop +%%LAUNCHER%%share/applications/vcmilauncher.desktop +share/icons/hicolor/256x256/apps/vcmiclient.png +share/icons/hicolor/32x32/apps/vcmiclient.png +share/icons/hicolor/48x48/apps/vcmiclient.png +share/icons/hicolor/64x64/apps/vcmiclient.png +%%LAUNCHER%%share/metainfo/eu.vcmi.VCMI.metainfo.xml +%%DATADIR%%/Mods/vcmi/Data/QuickRecruitmentWindow/CreaturePurchaseCard.png +%%DATADIR%%/Mods/vcmi/Data/StackQueueLarge.png +%%DATADIR%%/Mods/vcmi/Data/StackQueueSmall.png +%%DATADIR%%/Mods/vcmi/Data/questDialog.png +%%DATADIR%%/Mods/vcmi/Data/s/std.verm +%%DATADIR%%/Mods/vcmi/Data/s/testy.erm +%%DATADIR%%/Mods/vcmi/Data/stackWindow/bonus-effects.png +%%DATADIR%%/Mods/vcmi/Data/stackWindow/button-panel.png +%%DATADIR%%/Mods/vcmi/Data/stackWindow/commander-abilities.png +%%DATADIR%%/Mods/vcmi/Data/stackWindow/commander-bg.png +%%DATADIR%%/Mods/vcmi/Data/stackWindow/icons.png +%%DATADIR%%/Mods/vcmi/Data/stackWindow/info-panel-0.png +%%DATADIR%%/Mods/vcmi/Data/stackWindow/info-panel-1.png +%%DATADIR%%/Mods/vcmi/Data/stackWindow/info-panel-2.png +%%DATADIR%%/Mods/vcmi/Data/stackWindow/spell-effects.png +%%DATADIR%%/Mods/vcmi/Maps/VCMI_Tests_2011b.h3m +%%DATADIR%%/Mods/vcmi/Sprites/PortraitsLarge.json +%%DATADIR%%/Mods/vcmi/Sprites/PortraitsSmall.json +%%DATADIR%%/Mods/vcmi/Sprites/QuickRecruitmentWindow/CreaturePurchaseCard.png +%%DATADIR%%/Mods/vcmi/Sprites/QuickRecruitmentWindow/QuickRecruitmentAllButton.def +%%DATADIR%%/Mods/vcmi/Sprites/QuickRecruitmentWindow/QuickRecruitmentNoneButton.def +%%DATADIR%%/Mods/vcmi/Sprites/QuickRecruitmentWindow/costBackground.png +%%DATADIR%%/Mods/vcmi/Sprites/ScSelC.json +%%DATADIR%%/Mods/vcmi/Sprites/buttons/commander.json +%%DATADIR%%/Mods/vcmi/Sprites/buttons/commanderNormal.png +%%DATADIR%%/Mods/vcmi/Sprites/buttons/commanderPressed.png +%%DATADIR%%/Mods/vcmi/Sprites/buttons/resolution.json +%%DATADIR%%/Mods/vcmi/Sprites/buttons/resolutionNormal.png +%%DATADIR%%/Mods/vcmi/Sprites/buttons/resolutionPressed.png +%%DATADIR%%/Mods/vcmi/Sprites/itpa.json +%%DATADIR%%/Mods/vcmi/Sprites/mapFormatIcons/vcmi1.png +%%DATADIR%%/Mods/vcmi/Sprites/stackWindow/cancel-normal.png +%%DATADIR%%/Mods/vcmi/Sprites/stackWindow/cancel-pressed.png +%%DATADIR%%/Mods/vcmi/Sprites/stackWindow/cancelButton.json +%%DATADIR%%/Mods/vcmi/Sprites/stackWindow/level-0.png +%%DATADIR%%/Mods/vcmi/Sprites/stackWindow/level-1.png +%%DATADIR%%/Mods/vcmi/Sprites/stackWindow/level-10.png +%%DATADIR%%/Mods/vcmi/Sprites/stackWindow/level-2.png +%%DATADIR%%/Mods/vcmi/Sprites/stackWindow/level-3.png +%%DATADIR%%/Mods/vcmi/Sprites/stackWindow/level-4.png +%%DATADIR%%/Mods/vcmi/Sprites/stackWindow/level-5.png +%%DATADIR%%/Mods/vcmi/Sprites/stackWindow/level-6.png +%%DATADIR%%/Mods/vcmi/Sprites/stackWindow/level-7.png +%%DATADIR%%/Mods/vcmi/Sprites/stackWindow/level-8.png +%%DATADIR%%/Mods/vcmi/Sprites/stackWindow/level-9.png +%%DATADIR%%/Mods/vcmi/Sprites/stackWindow/levels.json +%%DATADIR%%/Mods/vcmi/Sprites/stackWindow/switchModeIcons.json +%%DATADIR%%/Mods/vcmi/Sprites/stackWindow/upgrade-normal.png +%%DATADIR%%/Mods/vcmi/Sprites/stackWindow/upgrade-pressed.png +%%DATADIR%%/Mods/vcmi/Sprites/stackWindow/upgradeButton.json +%%DATADIR%%/Mods/vcmi/Sprites/vcmi/battleQueue/defendBig.png +%%DATADIR%%/Mods/vcmi/Sprites/vcmi/battleQueue/defendSmall.png +%%DATADIR%%/Mods/vcmi/Sprites/vcmi/battleQueue/statesBig.json +%%DATADIR%%/Mods/vcmi/Sprites/vcmi/battleQueue/statesSmall.json +%%DATADIR%%/Mods/vcmi/Sprites/vcmi/battleQueue/waitBig.png +%%DATADIR%%/Mods/vcmi/Sprites/vcmi/battleQueue/waitSmall.png +%%DATADIR%%/Mods/vcmi/mod.json +%%DATADIR%%/config/ERMU_to_picture.json +%%DATADIR%%/config/NEUTRAL.PAL +%%DATADIR%%/config/ai/object-priorities.txt +%%DATADIR%%/config/ambientSounds.json +%%DATADIR%%/config/artifacts.json +%%DATADIR%%/config/battleStartpos.json +%%DATADIR%%/config/battlefields.json +%%DATADIR%%/config/battles_graphics.json +%%DATADIR%%/config/bonuses.json +%%DATADIR%%/config/bonuses_texts.json +%%DATADIR%%/config/buildings5.json +%%DATADIR%%/config/campaignMedia.json +%%DATADIR%%/config/campaignSets.json +%%DATADIR%%/config/campaign_regions.json +%%DATADIR%%/config/commanders.json +%%DATADIR%%/config/creatures/castle.json +%%DATADIR%%/config/creatures/conflux.json +%%DATADIR%%/config/creatures/dungeon.json +%%DATADIR%%/config/creatures/fortress.json +%%DATADIR%%/config/creatures/inferno.json +%%DATADIR%%/config/creatures/necropolis.json +%%DATADIR%%/config/creatures/neutral.json +%%DATADIR%%/config/creatures/rampart.json +%%DATADIR%%/config/creatures/special.json +%%DATADIR%%/config/creatures/stronghold.json +%%DATADIR%%/config/creatures/tower.json +%%DATADIR%%/config/defaultMods.json +%%DATADIR%%/config/factions/castle.json +%%DATADIR%%/config/factions/conflux.json +%%DATADIR%%/config/factions/dungeon.json +%%DATADIR%%/config/factions/fortress.json +%%DATADIR%%/config/factions/inferno.json +%%DATADIR%%/config/factions/necropolis.json +%%DATADIR%%/config/factions/neutral.json +%%DATADIR%%/config/factions/rampart.json +%%DATADIR%%/config/factions/random.json +%%DATADIR%%/config/factions/stronghold.json +%%DATADIR%%/config/factions/tower.json +%%DATADIR%%/config/filesystem.json +%%DATADIR%%/config/fonts.json +%%DATADIR%%/config/gameConfig.json +%%DATADIR%%/config/heroClasses.json +%%DATADIR%%/config/heroes/castle.json +%%DATADIR%%/config/heroes/conflux.json +%%DATADIR%%/config/heroes/dungeon.json +%%DATADIR%%/config/heroes/fortress.json +%%DATADIR%%/config/heroes/inferno.json +%%DATADIR%%/config/heroes/necropolis.json +%%DATADIR%%/config/heroes/rampart.json +%%DATADIR%%/config/heroes/special.json +%%DATADIR%%/config/heroes/stronghold.json +%%DATADIR%%/config/heroes/tower.json +%%DATADIR%%/config/mainmenu.json +%%DATADIR%%/config/mapOverrides.json +%%DATADIR%%/config/objects/creatureBanks.json +%%DATADIR%%/config/objects/dwellings.json +%%DATADIR%%/config/objects/generic.json +%%DATADIR%%/config/objects/moddables.json +%%DATADIR%%/config/objects/rewardable.json +%%DATADIR%%/config/obstacles.json +%%DATADIR%%/config/randomMap.json +%%DATADIR%%/config/resolutions.json +%%DATADIR%%/config/resources.json +%%DATADIR%%/config/schemas/artifact.json +%%DATADIR%%/config/schemas/battlefield.json +%%DATADIR%%/config/schemas/bonus.json +%%DATADIR%%/config/schemas/creature.json +%%DATADIR%%/config/schemas/faction.json +%%DATADIR%%/config/schemas/hero.json +%%DATADIR%%/config/schemas/heroClass.json +%%DATADIR%%/config/schemas/mapHeader.json +%%DATADIR%%/config/schemas/mod.json +%%DATADIR%%/config/schemas/object.json +%%DATADIR%%/config/schemas/objectTemplate.json +%%DATADIR%%/config/schemas/objectType.json +%%DATADIR%%/config/schemas/script.json +%%DATADIR%%/config/schemas/settings.json +%%DATADIR%%/config/schemas/skill.json +%%DATADIR%%/config/schemas/spell.json +%%DATADIR%%/config/schemas/template.json +%%DATADIR%%/config/schemas/townBuilding.json +%%DATADIR%%/config/schemas/townSiege.json +%%DATADIR%%/config/schemas/townStructure.json +%%DATADIR%%/config/skills.json +%%DATADIR%%/config/sp_sounds.json +%%DATADIR%%/config/spells/ability.json +%%DATADIR%%/config/spells/adventure.json +%%DATADIR%%/config/spells/offensive.json +%%DATADIR%%/config/spells/other.json +%%DATADIR%%/config/spells/timed.json +%%DATADIR%%/config/startres.json +%%DATADIR%%/config/terrainViewPatterns.json +%%DATADIR%%/config/terrains.json +%%DATADIR%%/config/translate.json +%%LAUNCHER%%%%DATADIR%%/launcher/icons/menu-game.png +%%LAUNCHER%%%%DATADIR%%/launcher/icons/menu-mods.png +%%LAUNCHER%%%%DATADIR%%/launcher/icons/menu-settings.png +%%LAUNCHER%%%%DATADIR%%/launcher/icons/mod-delete.png +%%LAUNCHER%%%%DATADIR%%/launcher/icons/mod-disabled.png +%%LAUNCHER%%%%DATADIR%%/launcher/icons/mod-download.png +%%LAUNCHER%%%%DATADIR%%/launcher/icons/mod-enabled.png +%%LAUNCHER%%%%DATADIR%%/launcher/icons/mod-update.png +%%DATADIR%%/scripts/lib/Metatype.lua +%%DATADIR%%/scripts/lib/erm.lua +%%DATADIR%%/scripts/lib/erm/BM.lua +%%DATADIR%%/scripts/lib/erm/BU.lua +%%DATADIR%%/scripts/lib/erm/DO.lua +%%DATADIR%%/scripts/lib/erm/FU.lua +%%DATADIR%%/scripts/lib/erm/FU_T.lua +%%DATADIR%%/scripts/lib/erm/GM_T.lua +%%DATADIR%%/scripts/lib/erm/HE.lua +%%DATADIR%%/scripts/lib/erm/IF.lua +%%DATADIR%%/scripts/lib/erm/MA.lua +%%DATADIR%%/scripts/lib/erm/MF.lua +%%DATADIR%%/scripts/lib/erm/MF_T.lua +%%DATADIR%%/scripts/lib/erm/OB_T.lua +%%DATADIR%%/scripts/lib/erm/OW.lua +%%DATADIR%%/scripts/lib/erm/PI_T.lua +%%DATADIR%%/scripts/lib/erm/ReceiverBase.lua +%%DATADIR%%/scripts/lib/erm/TM.lua +%%DATADIR%%/scripts/lib/erm/TM_T.lua +%%DATADIR%%/scripts/lib/erm/TriggerBase.lua +%%DATADIR%%/scripts/lib/erm/UN.lua +%%DATADIR%%/scripts/lib/erm/VR.lua +%%DATADIR%%/scripts/lib/verm.lua
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202209210757.28L7v7iG039737>