-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update OpenBSD templates. Added fixes from Stefan Hagen. https://marc.info/?l=openbsd-ports&m=170161542700837
- Loading branch information
Showing
4 changed files
with
67 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,63 +1,57 @@ | ||
# The source code also contains definitions for | ||
# architectures riscv64 s390x powerpc64le. | ||
# Building code for them workd. | ||
# Work on real hardware has been | ||
# tested for architectures: armv7 aaarch64 under Linux | ||
COMMENT = open source version of the classic Serious Sam game | ||
N= serioussam | ||
V= 1.10.6c | ||
|
||
ONLY_FOR_ARCHS = amd64 i386 | ||
DIST_TUPLE = github tx00100xt SeriousSamClassic ${V} . | ||
|
||
GH_ACCOUNT = tx00100xt | ||
GH_PROJECT = SeriousSamClassic | ||
GH_TAGNAME = 1.10.6c | ||
PKGNAME = ${N}-${V} | ||
DISTNAME = SeriousSamClassic-${V} | ||
CATEGORIES = games | ||
|
||
COMMENT = Open source version of game Serious Sam Classic | ||
N= serioussam | ||
V= 1.10.6c | ||
PKGNAME = ${N}-${V} | ||
DISTNAME = SeriousSamClassic-${V} | ||
CATEGORIES = games | ||
REVISION = 1 | ||
HOMEPAGE = https://github.com/tx00100xt/SeriousSamClassic | ||
|
||
HOMEPAGE = https://github.com/tx00100xt/SeriousSamClassic | ||
|
||
MAINTAINER = YOUR NAME <YOUR MAIL> | ||
MAINTAINER = Alexander Pavlov <[email protected]> | ||
|
||
# GPLv2 | ||
PERMIT_PACKAGE = Yes | ||
|
||
WANTLIB += ${COMPILER_LIBCXX} SDL2 c m z ogg \ | ||
pthread vorbis vorbisfile | ||
# Extra: ogg.6 vorbis.9 vorbisfile.6 (dlopen) | ||
WANTLIB = ${COMPILER_LIBCXX} SDL2 c m ogg pthread vorbis vorbisfile z | ||
|
||
MODULES = devel/cmake | ||
MODULES = devel/cmake | ||
|
||
COMPILER = base-clang ports-gcc | ||
COMPILER = base-clang ports-gcc | ||
|
||
CONFIGURE_ARGS += -DUSE_SYSTEM_INSTALL=ON | ||
|
||
BUILD_DEPENDS = devel/sdl2 \ | ||
devel/bison \ | ||
audio/libvorbis \ | ||
audio/libogg \ | ||
graphics/ImageMagick | ||
BUILD_DEPENDS = audio/libogg \ | ||
audio/libvorbis \ | ||
devel/bison \ | ||
devel/sdl2 \ | ||
graphics/ImageMagick | ||
|
||
# Libraries loaded with dlopen(3) | ||
LIB_DEPENDS = devel/sdl2 \ | ||
audio/libvorbis \ | ||
audio/libogg \ | ||
LIB_DEPENDS = audio/libogg \ | ||
audio/libvorbis \ | ||
devel/sdl2 | ||
|
||
RUN_DEPENDS = devel/desktop-file-utils \ | ||
x11/gtk+4,-guic | ||
|
||
NO_TEST = Yes | ||
NO_TEST = Yes | ||
|
||
# Unocmment this for aarch64 and armv7 architectures | ||
#.if ${MACHINE_ARCH} == aarch64 || ${MACHINE_ARCH} == armv7 | ||
#CONFIGURE_ARGS += -DRPI4=ON | ||
#.endif | ||
.if ${MACHINE_ARCH} == aarch64 || ${MACHINE_ARCH} == armv7 | ||
CONFIGURE_ARGS += -DRPI4=ON | ||
.endif | ||
|
||
.if ${MACHINE_ARCH}== i386 || ${MACHINE_ARCH}== amd64 | ||
CONFIGURE_ARGS += -DUSE_ASM=OFF | ||
.endif | ||
|
||
post-install: | ||
${INSTALL_MAN} ${WRKSRC}/man/bsd/serioussam.1 ${PREFIX}/man/man1/serioussam.1 | ||
${INSTALL_MAN} ${WRKSRC}/man/bsd/serioussamclassic.1 ${PREFIX}/man/man1/serioussamclassic.1 | ||
${INSTALL_MAN} ${WRKSRC}/man/bsd/serioussam.1 \ | ||
${PREFIX}/man/man1/serioussam.1 | ||
${INSTALL_MAN} ${WRKSRC}/man/bsd/serioussamclassic.1 \ | ||
${PREFIX}/man/man1/serioussamclassic.1 | ||
|
||
.include <bsd.port.mk> | ||
.include <bsd.port.mk> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
SHA256 (SeriousSamClassic-1.10.6c.tar.gz) = M2KX/TKzkrZlYaBmlmciirY+5a9UDd4RsXnv8N2M7yA= | ||
SIZE (SeriousSamClassic-1.10.6c.tar.gz) = 28936901 | ||
SHA256 (tx00100xt-SeriousSamClassic-1.10.6c.tar.gz) = M2KX/TKzkrZlYaBmlmciirY+5a9UDd4RsXnv8N2M7yA= | ||
SIZE (tx00100xt-SeriousSamClassic-1.10.6c.tar.gz) = 28936901 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,18 @@ | ||
+----------------------------------------------------------------------- | ||
+---------------------------------------------------------------------- | ||
| Running ${PKGSTEM} on OpenBSD | ||
+----------------------------------------------------------------------- | ||
+---------------------------------------------------------------------- | ||
|
||
Playing Serious Sam: The First and Second Encounter still requires Steam | ||
or GOG or CD copy of the game. This implementation of the source code | ||
provides for installation in the system, in the | ||
/usr/local/bin, /usr/local/lib, /usr/local/share directories. | ||
Playing Serious Sam: The First and Second Encounter requires the Steam, | ||
GOG or CD copy of the game. | ||
|
||
Copy all content of the games Serious Sam Classic First Encounter and | ||
Serious Sam Classic Second Encounter to the appropriate directories: | ||
Copy all content of the original game and to the appropriate | ||
directories: | ||
|
||
~/.local/share/Serious-Engine/serioussam/ - for TFE | ||
~/.local/share/Serious-Engine/serioussamse/ - for TSE | ||
|
||
They'll be here user data, such as game settings, log, saves, demos. | ||
These direcotories will contain user data, such as game settings, log, | ||
saves and demos. | ||
|
||
For more information, see: | ||
https://github.com/tx00100xt/SeriousSamClassic/wiki |