From 7719e257309329bb7d81b2926436470644fdd39d Mon Sep 17 00:00:00 2001 From: Alexander Pavlov Date: Fri, 29 Dec 2023 23:12:18 +0300 Subject: [PATCH] Add FreeBSD template. --- .../ports/games/serioussam-alpha/Makefile | 40 +++++++++++++++++++ .../ports/games/serioussam-alpha/distinfo | 3 ++ .../ports/games/serioussam-alpha/pkg-descr | 23 +++++++++++ .../ports/games/serioussam-alpha/pkg-plist | 3 ++ 4 files changed, 69 insertions(+) create mode 100644 templates/freebsd/ports/games/serioussam-alpha/Makefile create mode 100644 templates/freebsd/ports/games/serioussam-alpha/distinfo create mode 100644 templates/freebsd/ports/games/serioussam-alpha/pkg-descr create mode 100644 templates/freebsd/ports/games/serioussam-alpha/pkg-plist diff --git a/templates/freebsd/ports/games/serioussam-alpha/Makefile b/templates/freebsd/ports/games/serioussam-alpha/Makefile new file mode 100644 index 0000000..34f0630 --- /dev/null +++ b/templates/freebsd/ports/games/serioussam-alpha/Makefile @@ -0,0 +1,40 @@ +PORTNAME= serioussam-alpha +DISTNAME= SeriousSamAlphaRemake +DISTVERSION= 1.5.3c +PORTREVISION= 1 +CATEGORIES= games + +MAINTAINER= t.x00100x.t@yandex.ru +COMMENT= Open source modification for game Serious Sam Classic +WWW= https://github.com/tx00100xt/SeriousSamAlphaRemake + +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/../LICENSE + +BUILD_DEPENDS= flex:textproc/flex + +RUN_DEPENDS= ${LOCALBASE}/bin/serioussam:games/serioussam + +USES= bison:build cmake compiler:c++11-lang +USE_CXXSTD= c++14 + +GH_ACCOUNT= tx00100xt +GH_PROJECT= SeriousSamAlphaRemake +USE_GITHUB= yes + +CMAKE_ARGS= -DRPI4:BOOL=FALSE -DUSE_ASM:BOOL=FALSE \ + -DUSE_SYSTEM_INSTALL:BOOL=TRUE + +WRKSRC_SUBDIR= Sources + +post-install: + ${INSTALL_MAN} ${WRKSRC}/../man/serioussam-alpha.1 \ + ${STAGEDIR}${PREFIX}/man/man1/serioussam-alpha.1 + +.include + +.if ${ARCH} == aarch64 || ${ARCH} == armv7 +CMAKE_ON= RPI4 +.endif + +.include diff --git a/templates/freebsd/ports/games/serioussam-alpha/distinfo b/templates/freebsd/ports/games/serioussam-alpha/distinfo new file mode 100644 index 0000000..9f5b158 --- /dev/null +++ b/templates/freebsd/ports/games/serioussam-alpha/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1703876564 +SHA256 (tx00100xt-SeriousSamAlphaRemake-1.5.3c_GH0.tar.gz) = 71d05c820ba234376b16767326d783634b27a1da79f56e1dc7ffff68b0fdb080 +SIZE (tx00100xt-SeriousSamAlphaRemake-1.5.3c_GH0.tar.gz) = 9432500 diff --git a/templates/freebsd/ports/games/serioussam-alpha/pkg-descr b/templates/freebsd/ports/games/serioussam-alpha/pkg-descr new file mode 100644 index 0000000..fd26d53 --- /dev/null +++ b/templates/freebsd/ports/games/serioussam-alpha/pkg-descr @@ -0,0 +1,23 @@ +Serious Sam Alpha is the period where Serious Sam was supposed to be a much +bigger game than it turned out to be. Generally, this period is between the +development of In the Flesh (1996) and Test 1 (2000). + +After egipet the player would travel into 6 different planets: the Water +Planet, Lava Planet, Green Planet, Ice Planet, Tropic Planet, and Rock +Planet. After completing all the planets, the player would be in a level +called Space Crusader, + +The "early build" of the game was made in early 1998. In the summer of 2013, +people from SeriousSite.ru sent an email to Croteam asking for a pre-release +version of "Serious Sam". Luckily, Roman Ribaric agreed to the request +and shared the old version with the consent of the other members of the +Croteam team. + +Download the mod content using the command: wget +https://archive.org/download/serious-sam-alpha-remake-data/SeriousSamAlphaRemake_v1.5.tar.xz + +Unpack the add-on archive into the directory: +~/.local/share/Serious-Engine/serioussam + +More details here: man serioussam-alpha +https://github.com/tx00100xt/SeriousSamAlphaRemake/wiki \ No newline at end of file diff --git a/templates/freebsd/ports/games/serioussam-alpha/pkg-plist b/templates/freebsd/ports/games/serioussam-alpha/pkg-plist new file mode 100644 index 0000000..1030238 --- /dev/null +++ b/templates/freebsd/ports/games/serioussam-alpha/pkg-plist @@ -0,0 +1,3 @@ +lib/serioussam/Mods/SSA/libGame.so +lib/serioussam/Mods/SSA/libEntities.so +man/man1/serioussam-alpha.1.gz