From nobody Wed Sep 21 07:57:07 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MXW376g60z4cf5m; Wed, 21 Sep 2022 07:57:07 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MXW3768zqz3QWW; Wed, 21 Sep 2022 07:57:07 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1663747027; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=GkdO5arkE9hK9CdWW8mc35oiYlnU0M8GKILvSg7MX7g=; b=AnFGdFwCJf2R6GtGoeuCKzpbZkNu967mCztaty0uiYZDyBRepyB1E7As31mYB73lAHK9vv xAkoWAa3PssWMzecrtkR/GIeKQisv97vkKTVFjGIm/L7wEmQSICAaC9uoFe8DiAUF4HH0R 8gECfUBroic8fLonXYaGZaLUsttncOq1OhYQkqkNYnGLYqatgzvCFk2Bpz2h7Pmx2Ayb1b RpuUa9HFU9i1QSWsniMJkZiFNJWBgXpSCITFEXVw+G8zluVaFeuktXnBYVo9jgbzTcQPOn Uc5nhiE5TSlmR32LwmcGGSl7R32hM8I+vQJMMCxurRoQlAI1D2CjQ9h/ork4ig== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MXW375Cbkz10d8; Wed, 21 Sep 2022 07:57:07 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 28L7v7gL039738; Wed, 21 Sep 2022 07:57:07 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 28L7v7iG039737; Wed, 21 Sep 2022 07:57:07 GMT (envelope-from git) Date: Wed, 21 Sep 2022 07:57:07 GMT Message-Id: <202209210757.28L7v7iG039737@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Alexey Dokuchaev Subject: git: 736806fd2af8 - main - games/vcmi: new port had been added (+) List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: danfe X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 736806fd2af80366e8c132e35aeea7e8450e269e Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1663747027; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=GkdO5arkE9hK9CdWW8mc35oiYlnU0M8GKILvSg7MX7g=; b=GVkT2FeynFoV/GDWznqUjXkh/2plcnYasPEJFF8Q8sco9SaTkTGzKf3UxpH1pRmMMFnR6u +aJ3X4MPZ+K5dYlHgPD5psxJiicu+Rv65TJEXLsFNYVs6vrb4XHiEUMz6dnf6jmy9vxe+L o/CIi/aeTydAE0seUUqqBEv1SECP1i4HxNok67KoGgjpxLHtrbATSCabaUf5dyHcYj78Kd kCTtiO+mtxTqYlWFtXbcY6g1qZz1fkPJdl9KcDLCdHgNL4z7X3CTrntU8mzfECF9qB4pap nWAQqJqIcgdjc7U2y0atIYZ2qlTdIdTqU9snK1P1H3Xbku9FPdgDq5IdtvB6RA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1663747027; a=rsa-sha256; cv=none; b=kNi3Vn3Dmwy8WLnL79mo6cgWVWhzWpfFnk6OIJQumRDvtRqhPr0zq+qqJYicT7kVeSeEPW yz8o/iB3/dCym8ZOPf6+p/8iMY8M72l+uguPRnRRH5/cgwl5iCDjEiqIigDyTXRTOgBRSD O1fsU8QDBL///f8ALdLr5XTb+8wcPeW/a/41SJdHf+g8NqjzrE6fTW18rgucIQM55JeNk6 5nWH5+YH+mIZ1103vLabLBy3oX3XKIbJ6AHfuQpYCu8a/r8UEfh7y1Fg9hETcQoEghBj78 Gs2I5oyqI+nXi06HoCockbNozRQ1CLH2qnfQsA6+Xk3cuPekphMdms+z8T1OvQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by danfe: URL: https://cgit.FreeBSD.org/ports/commit/?id=736806fd2af80366e8c132e35aeea7e8450e269e commit 736806fd2af80366e8c132e35aeea7e8450e269e Author: Alexey Dokuchaev AuthorDate: 2022-09-21 07:55:44 +0000 Commit: Alexey Dokuchaev 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 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: <