parent
cf87ea8e80
commit
368f328876
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=567259
6 changed files with 79 additions and 0 deletions
|
@ -825,6 +825,7 @@
|
|||
SUBDIR += r1q2
|
||||
SUBDIR += railroad-rampage
|
||||
SUBDIR += rawgl
|
||||
SUBDIR += re3
|
||||
SUBDIR += redeclipse
|
||||
SUBDIR += redeclipse-data
|
||||
SUBDIR += redorblack
|
||||
|
|
54
games/re3/Makefile
Normal file
54
games/re3/Makefile
Normal file
|
@ -0,0 +1,54 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= re3
|
||||
DISTVERSION= g20210219
|
||||
CATEGORIES= games
|
||||
|
||||
MAINTAINER= pkubaj@FreeBSD.org
|
||||
COMMENT= Reverse-engineered GTA3 engine
|
||||
|
||||
BUILD_DEPENDS= premake5:devel/premake5
|
||||
LIB_DEPENDS= libglfw.so:graphics/glfw \
|
||||
libmpg123.so:audio/mpg123 \
|
||||
libsndfile.so:audio/libsndfile \
|
||||
libsysinfo.so:devel/libsysinfo
|
||||
|
||||
USES= gl gmake openal shebangfix xorg
|
||||
SHEBANG_FILES= printHash.sh
|
||||
USE_GL= gl
|
||||
USE_GITHUB= nodefault
|
||||
GH_TUPLE= aap:librw:8b2caf8f:librw \
|
||||
xiph:ogg:684c7377:ogg \
|
||||
xiph:opus:6bae366f:opus \
|
||||
xiph:opusfile:6452e838:opusfile
|
||||
USE_GITLAB= yes
|
||||
GL_SITE= https://git.rip
|
||||
GL_ACCOUNT= Obama
|
||||
GL_COMMIT= 9a7fa478578beaba947ea867c15a25e411d641d8
|
||||
bash_CMD= /bin/sh
|
||||
USE_XORG= x11
|
||||
|
||||
PLIST_FILES= bin/${PORTNAME}
|
||||
PORTDATA= *
|
||||
SUB_FILES= ${PORTNAME}
|
||||
|
||||
post-extract:
|
||||
${MV} ${WRKSRC_librw}/* ${WRKSRC}/vendor/librw
|
||||
${MV} ${WRKSRC_ogg}/* ${WRKSRC}/vendor/ogg
|
||||
${MV} ${WRKSRC_opus}/* ${WRKSRC}/vendor/opus
|
||||
${MV} ${WRKSRC_opusfile}/* ${WRKSRC}/vendor/opusfile
|
||||
|
||||
do-configure:
|
||||
cd ${WRKSRC} && premake5 --with-librw gmake2
|
||||
|
||||
do-build:
|
||||
cd ${WRKSRC}/build && ${MAKE_ENV} ${MAKE_CMD} config=release_bsd-${ARCH:S/i386/x86/:C/armv.*/arm/:S/aarch64/arm64/}-librw_gl3_glfw-oal
|
||||
|
||||
do-install:
|
||||
${INSTALL_SCRIPT} ${WRKDIR}/re3 ${STAGEDIR}${PREFIX}/bin
|
||||
${MKDIR} ${STAGEDIR}${DATADIR}
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/bin/bsd-${ARCH:S/i386/x86/:C/armv.*/arm/:S/aarch64/arm64/}-librw_gl3_glfw-oal/Release/re3 ${STAGEDIR}${DATADIR}/
|
||||
(cd ${WRKSRC}/gamefiles && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/)
|
||||
|
||||
|
||||
.include <bsd.port.mk>
|
11
games/re3/distinfo
Normal file
11
games/re3/distinfo
Normal file
|
@ -0,0 +1,11 @@
|
|||
TIMESTAMP = 1614780033
|
||||
SHA256 (aap-librw-8b2caf8f_GH0.tar.gz) = c0855f10ae701b6b535adb713bd056804b3c08ab330c4154a5fcce0278ddeaa4
|
||||
SIZE (aap-librw-8b2caf8f_GH0.tar.gz) = 1330359
|
||||
SHA256 (xiph-ogg-684c7377_GH0.tar.gz) = aeced327a9c59ac6bc012081299b2d4057cc2149ceb72e2c2fbea30f4e26a575
|
||||
SIZE (xiph-ogg-684c7377_GH0.tar.gz) = 251696
|
||||
SHA256 (xiph-opus-6bae366f_GH0.tar.gz) = 6ae4d7bcd4d33173a2dc23d2f53a35256975d4ea24c4c91001258d13fcae8576
|
||||
SIZE (xiph-opus-6bae366f_GH0.tar.gz) = 832727
|
||||
SHA256 (xiph-opusfile-6452e838_GH0.tar.gz) = ac1e948612e91fb621f12c0e925874795a596aab31033e95763aa3f57764d757
|
||||
SIZE (xiph-opusfile-6452e838_GH0.tar.gz) = 145453
|
||||
SHA256 (Obama-re3-9a7fa478578beaba947ea867c15a25e411d641d8_GL0.tar.gz) = f6a19e0729a28cdb6b499a43948fd6bbeb85188e99e01c4071aa58d1df6f62ca
|
||||
SIZE (Obama-re3-9a7fa478578beaba947ea867c15a25e411d641d8_GL0.tar.gz) = 9791771
|
8
games/re3/files/pkg-message.in
Normal file
8
games/re3/files/pkg-message.in
Normal file
|
@ -0,0 +1,8 @@
|
|||
[
|
||||
{ type: install
|
||||
message: <<EOM
|
||||
To complete the installation of this port, you need to copy the files
|
||||
all GTA3 files from the original GTA3 distribution to %%DATADIR%%.
|
||||
EOM
|
||||
}
|
||||
]
|
2
games/re3/files/re3.in
Normal file
2
games/re3/files/re3.in
Normal file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
cd %%DATADIR%% && exec ./re3
|
3
games/re3/pkg-descr
Normal file
3
games/re3/pkg-descr
Normal file
|
@ -0,0 +1,3 @@
|
|||
Classic Tomb Raider open-source engine
|
||||
|
||||
WWW: https://git.rip/Obama/re3
|
Loading…
Reference in a new issue