games/openra: update to 20150830
Changes: https://github.com/OpenRA/OpenRA/wiki/Changelog#release-20150919
This commit is contained in:
parent
d178e0c8af
commit
399dd06b61
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=397352
4 changed files with 24 additions and 27 deletions
|
@ -1,9 +1,8 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= openra
|
||||
PORTVERSION= 20150614
|
||||
PORTVERSION= 20150919
|
||||
DISTVERSIONPREFIX= release-
|
||||
PORTREVISION= 5
|
||||
CATEGORIES= games
|
||||
# XXX Convert to USES=nuget or package dependencies instead
|
||||
MASTER_SITES= https://nuget.org/api/v2/package/StyleCopPlus.MSBuild/4.7.49.5?dummy=/:StyleCopPlus \
|
||||
|
@ -17,7 +16,7 @@ MASTER_SITES= https://nuget.org/api/v2/package/StyleCopPlus.MSBuild/4.7.49.5?dum
|
|||
https://nuget.org/api/v2/package/NUnit/2.6.4?dummy=/:NUnit \
|
||||
https://nuget.org/api/v2/package/Mono.Nat/1.2.21?dummy=/:Mono_Nat \
|
||||
https://nuget.org/api/v2/package/FuzzyLogicLibrary/1.2.0?dummy=/:FuzzyLogicLibrary \
|
||||
https://github.com/${GH_ACCOUNT}/SDL2-CS/releases/download/20140407/:SDL2_CS \
|
||||
https://github.com/${GH_ACCOUNT}/SDL2-CS/releases/download/20150709/:SDL2_CS \
|
||||
https://github.com/${GH_ACCOUNT}/Eluant/releases/download/20140425/:Eluant \
|
||||
https://geolite.maxmind.com/download/geoip/database/:GeoLite2
|
||||
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
|
||||
|
@ -53,9 +52,10 @@ USES= desktop-file-utils gmake lua:51,run mono openal:soft \
|
|||
shared-mime-info shebangfix
|
||||
SHEBANG_FILES= launch-dedicated.sh
|
||||
USE_SDL= sdl2
|
||||
MAKE_ENV= prefix="${PREFIX}"
|
||||
MAKE_ENV= prefix="${PREFIX}" mandir="${PREFIX}/man"
|
||||
MAKE_ARGS= VERSION="${GH_TAGNAME}"
|
||||
INSTALL_TARGET= install-all install-linux-mime install-linux-shortcuts
|
||||
INSTALL_TARGET= install-all install-man-page \
|
||||
install-linux-mime install-linux-shortcuts
|
||||
DATADIR= ${PREFIX}/lib/${PORTNAME}
|
||||
PORTDATA= *
|
||||
PORTDOCS= *.html
|
||||
|
@ -83,10 +83,8 @@ post-extract:
|
|||
done
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -e 's/Linux/${OPSYS}/' \
|
||||
-e '/CP_R/s,hicolor/,hicolor,' \
|
||||
${REINPLACE_CMD} \
|
||||
-e '\,thirdparty/.*\.sh,d' \
|
||||
-e 's/crashdialog/gamemonitor/' \
|
||||
-e '/echo/!s/ @/ /' \
|
||||
-e '/^mods:/s/$$/ version/' \
|
||||
-e '/^docs:/s/$$/ all/' \
|
||||
|
@ -98,9 +96,6 @@ post-patch:
|
|||
${SED} 's/@LIBLUA51@/liblua-${LUA_VER}.so/' \
|
||||
${WRKSRC}/thirdparty/Eluant.dll.config.in \
|
||||
>${WRKSRC}/Eluant.dll.config
|
||||
# DragonFly lacks BSD suffix
|
||||
${REINPLACE_CMD} -e 's/"BSD"/"${OPSYS}"/' \
|
||||
${WRKSRC}/OpenRA.Game/Platform.cs
|
||||
|
||||
post-build-DOCS-on:
|
||||
@${ECHO_MSG} Generating HTML documentation...
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
SHA256 (openra-OpenRA-release-20150614_GH0.tar.gz) = 8e5bbb292438697e1cd761b7fdfe7d0325c66a4f5edd8289943fd2beadcd8a2c
|
||||
SIZE (openra-OpenRA-release-20150614_GH0.tar.gz) = 15178734
|
||||
SHA256 (openra-OpenRA-release-20150919_GH0.tar.gz) = e4f294bcd2e9d1e56dd3c16b74bd4aa8191a15a9de436fed083cecb5bb0618f1
|
||||
SIZE (openra-OpenRA-release-20150919_GH0.tar.gz) = 10432411
|
||||
SHA256 (StyleCopPlus.MSBuild-4.7.49.5.zip) = b98a8ed20c5e82ff5fe6c2a52ecd45bffd4d4ab284611f35a25889c3bba364c3
|
||||
SIZE (StyleCopPlus.MSBuild-4.7.49.5.zip) = 124724
|
||||
SHA256 (StyleCop.MSBuild-4.7.49.0.zip) = 6680dedaa5d27fb1ead475015de98e476e58fa9a27e4b7ad0f08d5f7d8f6ee66
|
||||
|
@ -22,9 +22,9 @@ SHA256 (Mono.Nat-1.2.21.zip) = fa380d8b531069e0dd7a5d8dffe70b128f591205e43207428
|
|||
SIZE (Mono.Nat-1.2.21.zip) = 23598
|
||||
SHA256 (FuzzyLogicLibrary-1.2.0.zip) = b464509236260f53d963771ed99410a7e1cdbd268a2bde43b189e7d15044a174
|
||||
SIZE (FuzzyLogicLibrary-1.2.0.zip) = 70571
|
||||
SHA256 (SDL2-CS.dll) = 61ea325dad3c585449d606c031d6fb2d37ac517ddae78851790846a35dc4d47f
|
||||
SIZE (SDL2-CS.dll) = 2882560
|
||||
SHA256 (SDL2-CS.dll) = acb68619a8043b044f55a0e3bf9eaaf7b418962dd58757defd6d74c0132f4757
|
||||
SIZE (SDL2-CS.dll) = 2884608
|
||||
SHA256 (Eluant.dll) = abb67679c241ae35a430f79696792cbd9093ceda5998f6f578d0fd763ee440b0
|
||||
SIZE (Eluant.dll) = 64000
|
||||
SHA256 (GeoLite2-Country.mmdb.gz) = f43c191618a57b05ea3a1fb23f19fd71e0f8be8cb7bc0a50222f7be4e67a9b53
|
||||
SIZE (GeoLite2-Country.mmdb.gz) = 1015224
|
||||
SHA256 (GeoLite2-Country.mmdb.gz) = ec7d5c78024b3d952742ccf62619de35863b78c3c43fd738d66750916dc2bd52
|
||||
SIZE (GeoLite2-Country.mmdb.gz) = 1016027
|
||||
|
|
|
@ -1,12 +1,11 @@
|
|||
# Without zenity(1) fallback to either WinForms or no crash dialog
|
||||
|
||||
--- Makefile~
|
||||
--- Makefile.orig 2015-08-28 13:11:47 UTC
|
||||
+++ Makefile
|
||||
@@ -381,10 +381,28 @@ install-linux-mime:
|
||||
@@ -400,12 +400,34 @@ install-man-page: man-page
|
||||
install-linux-scripts:
|
||||
@echo "#!/bin/sh" > openra
|
||||
@echo 'cd "$(gameinstalldir)"' >> openra
|
||||
- @echo 'mono OpenRA.Game.exe "$$@"' >> openra
|
||||
+ @echo 'ZENITY=`which zenity`' >> openra
|
||||
+ @echo 'if [ -z "$$ZENITY" ] && (' >> openra
|
||||
+ @echo ' # from mono/io-layer/processes.c' >> openra
|
||||
|
@ -14,9 +13,17 @@
|
|||
+ @echo ' hash gnome-open 2>/dev/null ||' >> openra
|
||||
+ @echo ' hash kfmclient 2>/dev/null)' >> openra
|
||||
+ @echo 'then' >> openra
|
||||
+ifeq ($(DEBUG), $(filter $(DEBUG),false no n off 0))
|
||||
+ @echo ' mono OpenRA.exe "$$@"' >> openra
|
||||
+else
|
||||
+ @echo ' mono --debug OpenRA.exe "$$@"' >> openra
|
||||
+endif
|
||||
+ @echo 'else' >> openra
|
||||
+ @echo ' mono OpenRA.Game.exe "$$@"' >> openra
|
||||
ifeq ($(DEBUG), $(filter $(DEBUG),false no n off 0))
|
||||
@echo 'mono OpenRA.Game.exe "$$@"' >> openra
|
||||
else
|
||||
@echo 'mono --debug OpenRA.Game.exe "$$@"' >> openra
|
||||
endif
|
||||
+ @echo 'fi' >> openra
|
||||
@echo 'if [ $$? != 0 -a $$? != 1 ]' >> openra
|
||||
@echo 'then' >> openra
|
||||
|
@ -31,5 +38,3 @@
|
|||
+ @echo ' exit 1' >> openra
|
||||
+ @echo ' fi' >> openra
|
||||
@echo '$$ZENITY --question --title "OpenRA" --text "OpenRA has encountered a fatal error.\nLog Files are available in ~/.openra." --ok-label "Quit" --cancel-label "View FAQ" || xdg-open https://github.com/OpenRA/OpenRA/wiki/FAQ' >> openra
|
||||
@echo 'exit 1' >> openra
|
||||
@echo 'fi' >> openra
|
||||
|
|
|
@ -1,15 +1,12 @@
|
|||
bin/openra
|
||||
bin/openra-editor
|
||||
share/applications/openra-editor.desktop
|
||||
share/applications/openra-join-servers.desktop
|
||||
share/applications/openra-replays.desktop
|
||||
share/applications/openra.desktop
|
||||
share/icons/hicolor/128x128/apps/openra.png
|
||||
share/icons/hicolor/16x16/apps/openra.png
|
||||
share/icons/hicolor/32x32/apps/openra-editor.png
|
||||
share/icons/hicolor/32x32/apps/openra.png
|
||||
share/icons/hicolor/48x48/apps/openra-editor.png
|
||||
share/icons/hicolor/48x48/apps/openra.png
|
||||
share/icons/hicolor/64x64/apps/openra.png
|
||||
share/icons/hicolor/scalable/apps/openra.svg
|
||||
man/man6/openra.6.gz
|
||||
share/mime/packages/openra.xml
|
||||
|
|
Loading…
Reference in a new issue