summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2015-09-03 19:37:21 +0000
committerJan Beich <jbeich@FreeBSD.org>2015-09-03 19:37:21 +0000
commit4094fc8306a987024cefef65e1714a3a292b791e (patch)
treeb30d9ae46ff0d394143647025f4f345667b39781
parent- Update to 2.0.1 (diff)
games/openra: install MIME data
From ChangeLog for 20150614: - Added file associations for .orarep replay files and handling of openra:// URLs for connecting directly to game servers. [OpenRA#4528, OpenRA#7934]
Notes
Notes: svn path=/head/; revision=396040
-rw-r--r--games/openra/Makefile7
-rw-r--r--games/openra/pkg-plist3
2 files changed, 7 insertions, 3 deletions
diff --git a/games/openra/Makefile b/games/openra/Makefile
index 2fd5c2638f15..4ceffc12aaa2 100644
--- a/games/openra/Makefile
+++ b/games/openra/Makefile
@@ -3,7 +3,7 @@
PORTNAME= openra
PORTVERSION= 20150614
DISTVERSIONPREFIX= release-
-PORTREVISION= 4
+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 \
@@ -49,12 +49,13 @@ USE_GITHUB= yes
GH_PROJECT= OpenRA
NO_ARCH= yes
-USES= gmake lua:51,run mono openal:soft shebangfix
+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_ARGS= VERSION="${GH_TAGNAME}"
-INSTALL_TARGET= install-all install-linux-shortcuts
+INSTALL_TARGET= install-all install-linux-mime install-linux-shortcuts
DATADIR= ${PREFIX}/lib/${PORTNAME}
PORTDATA= *
PORTDOCS= *.html
diff --git a/games/openra/pkg-plist b/games/openra/pkg-plist
index 16dbebc49e3e..e286ed9f7b5e 100644
--- a/games/openra/pkg-plist
+++ b/games/openra/pkg-plist
@@ -1,6 +1,8 @@
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
@@ -10,3 +12,4 @@ 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
+share/mime/packages/openra.xml