1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-07 06:40:06 +00:00

Add julius g20180430, open source re-implementation of Caesar III.

PR:		228103
Submitted by:	Piotr Kubaj <pkubaj@anongoth.pl>
This commit is contained in:
Vanilla I. Shu 2018-05-14 02:29:04 +00:00
parent 6d3fb9beb6
commit d784b57584
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=469845
8 changed files with 63 additions and 0 deletions

View File

@ -462,6 +462,7 @@
SUBDIR += joequake
SUBDIR += jools
SUBDIR += jtans
SUBDIR += julius
SUBDIR += jumpnbump
SUBDIR += jutils
SUBDIR += jvgs

33
games/julius/Makefile Normal file
View File

@ -0,0 +1,33 @@
# Created by: Piotr Kubaj <pkubaj@anongoth.pl>
# $FreeBSD$
PORTNAME= julius
PORTVERSION= g20180430
CATEGORIES= games
MAINTAINER= pkubaj@anongoth.pl
COMMENT= Open source re-implementation of Caesar III
LICENSE= GPLv3
USES= cmake:outsource
USE_GITHUB= yes
GH_ACCOUNT= bvschaik
GH_TAGNAME= cb7ecdf
USE_SDL= mixer2 sdl2
SUB_FILES= julius pkg-message
PLIST_FILES= bin/${PORTNAME} \
${DATADIR}/${PORTNAME}
do-install:
${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_PROGRAM} ${BUILD_WRKSRC}/${PORTNAME} \
${STAGEDIR}${DATADIR}/
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} \
${STAGEDIR}${PREFIX}/bin/
.include <bsd.port.mk>

3
games/julius/distinfo Normal file
View File

@ -0,0 +1,3 @@
TIMESTAMP = 1525895014
SHA256 (bvschaik-julius-g20180430-cb7ecdf_GH0.tar.gz) = 7f60ba486c46c5cb55e6b581e29f8af3fd865dcbdc389f5b2ad639a568846487
SIZE (bvschaik-julius-g20180430-cb7ecdf_GH0.tar.gz) = 2381369

View File

@ -0,0 +1,3 @@
#!/bin/sh
cd %%PREFIX%%/share/julius && ./julius data

View File

@ -0,0 +1,11 @@
--- CMakeLists.txt.orig 2018-05-09 19:46:16 UTC
+++ CMakeLists.txt
@@ -343,7 +343,7 @@ if(MSVC)
include_directories(ext/dirent)
endif()
-target_link_libraries (julius ${SDL2_LIBRARY} ${SDL2_MIXER_LIBRARY})
+target_link_libraries (julius ${SDL2_LIBRARY} ${SDL2_MIXER_LIBRARY} execinfo)
install(TARGETS julius RUNTIME DESTINATION bin)

View File

@ -0,0 +1,8 @@
--- test/CMakeLists.txt.orig 2018-05-09 19:53:39 UTC
+++ test/CMakeLists.txt
@@ -82,3 +82,5 @@ add_integration_test(sav_routing_full ro
# God curses
add_integration_test(sav_curses curses.sav curses-done.sav 13350)
+
+target_link_libraries (autopilot execinfo)

View File

@ -0,0 +1 @@
To play this game, copy Caesar III game files to %%DATADIR%%/data.

3
games/julius/pkg-descr Normal file
View File

@ -0,0 +1,3 @@
An open source re-implementation of Caesar III
WWW: https://github.com/bvschaik/julius