svn commit: r469845 - in head/games: . julius julius/files
Vanilla I. Shu
vanilla at FreeBSD.org
Mon May 14 02:29:07 UTC 2018
Author: vanilla
Date: Mon May 14 02:29:04 2018
New Revision: 469845
URL: https://svnweb.freebsd.org/changeset/ports/469845
Log:
Add julius g20180430, open source re-implementation of Caesar III.
PR: 228103
Submitted by: Piotr Kubaj <pkubaj at anongoth.pl>
Added:
head/games/julius/
head/games/julius/Makefile (contents, props changed)
head/games/julius/distinfo (contents, props changed)
head/games/julius/files/
head/games/julius/files/julius.in (contents, props changed)
head/games/julius/files/patch-CMakeLists.txt (contents, props changed)
head/games/julius/files/patch-test_CMakeLists.txt (contents, props changed)
head/games/julius/files/pkg-message.in (contents, props changed)
head/games/julius/pkg-descr (contents, props changed)
Modified:
head/games/Makefile
Modified: head/games/Makefile
==============================================================================
--- head/games/Makefile Mon May 14 00:40:22 2018 (r469844)
+++ head/games/Makefile Mon May 14 02:29:04 2018 (r469845)
@@ -462,6 +462,7 @@
SUBDIR += joequake
SUBDIR += jools
SUBDIR += jtans
+ SUBDIR += julius
SUBDIR += jumpnbump
SUBDIR += jutils
SUBDIR += jvgs
Added: head/games/julius/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/julius/Makefile Mon May 14 02:29:04 2018 (r469845)
@@ -0,0 +1,33 @@
+# Created by: Piotr Kubaj <pkubaj at anongoth.pl>
+# $FreeBSD$
+
+PORTNAME= julius
+PORTVERSION= g20180430
+CATEGORIES= games
+
+MAINTAINER= pkubaj at 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>
Added: head/games/julius/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/julius/distinfo Mon May 14 02:29:04 2018 (r469845)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1525895014
+SHA256 (bvschaik-julius-g20180430-cb7ecdf_GH0.tar.gz) = 7f60ba486c46c5cb55e6b581e29f8af3fd865dcbdc389f5b2ad639a568846487
+SIZE (bvschaik-julius-g20180430-cb7ecdf_GH0.tar.gz) = 2381369
Added: head/games/julius/files/julius.in
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/julius/files/julius.in Mon May 14 02:29:04 2018 (r469845)
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+cd %%PREFIX%%/share/julius && ./julius data
Added: head/games/julius/files/patch-CMakeLists.txt
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/julius/files/patch-CMakeLists.txt Mon May 14 02:29:04 2018 (r469845)
@@ -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)
+
Added: head/games/julius/files/patch-test_CMakeLists.txt
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/julius/files/patch-test_CMakeLists.txt Mon May 14 02:29:04 2018 (r469845)
@@ -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)
Added: head/games/julius/files/pkg-message.in
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/julius/files/pkg-message.in Mon May 14 02:29:04 2018 (r469845)
@@ -0,0 +1 @@
+To play this game, copy Caesar III game files to %%DATADIR%%/data.
Added: head/games/julius/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/julius/pkg-descr Mon May 14 02:29:04 2018 (r469845)
@@ -0,0 +1,3 @@
+An open source re-implementation of Caesar III
+
+WWW: https://github.com/bvschaik/julius
More information about the svn-ports-all
mailing list