Skip to content

Commit

Permalink
Add FreeBSD template.
Browse files Browse the repository at this point in the history
  • Loading branch information
tx00100xt committed Dec 29, 2023
1 parent 7113dff commit 7719e25
Show file tree
Hide file tree
Showing 4 changed files with 69 additions and 0 deletions.
40 changes: 40 additions & 0 deletions templates/freebsd/ports/games/serioussam-alpha/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
PORTNAME= serioussam-alpha
DISTNAME= SeriousSamAlphaRemake
DISTVERSION= 1.5.3c
PORTREVISION= 1
CATEGORIES= games

MAINTAINER= [email protected]
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 <bsd.port.options.mk>

.if ${ARCH} == aarch64 || ${ARCH} == armv7
CMAKE_ON= RPI4
.endif

.include <bsd.port.mk>
3 changes: 3 additions & 0 deletions templates/freebsd/ports/games/serioussam-alpha/distinfo
Original file line number Diff line number Diff line change
@@ -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
23 changes: 23 additions & 0 deletions templates/freebsd/ports/games/serioussam-alpha/pkg-descr
Original file line number Diff line number Diff line change
@@ -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
3 changes: 3 additions & 0 deletions templates/freebsd/ports/games/serioussam-alpha/pkg-plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
lib/serioussam/Mods/SSA/libGame.so
lib/serioussam/Mods/SSA/libEntities.so
man/man1/serioussam-alpha.1.gz

0 comments on commit 7719e25

Please sign in to comment.