aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorJason Unovitch <junovitch@FreeBSD.org>2017-03-05 02:32:53 +0000
committerJason Unovitch <junovitch@FreeBSD.org>2017-03-05 02:32:53 +0000
commit78d5bb6e620797bfa0627efd8f0e7ad052f7446b (patch)
tree61c2a8fc6a7ca93f779a4a8f621593cb7e695b1b /games
parent8643d00296c2136f711310c6940026cb9e26169b (diff)
downloadports-78d5bb6e620797bfa0627efd8f0e7ad052f7446b.tar.gz
ports-78d5bb6e620797bfa0627efd8f0e7ad052f7446b.zip
Notes
Diffstat (limited to 'games')
-rw-r--r--games/manaplus/Makefile2
-rw-r--r--games/manaplus/distinfo6
-rw-r--r--games/manaplus/files/patch-src_fs_paths.cpp10
-rw-r--r--games/manaplus/pkg-plist7
4 files changed, 21 insertions, 4 deletions
diff --git a/games/manaplus/Makefile b/games/manaplus/Makefile
index b4f50afb6df5..f0f4ea64630e 100644
--- a/games/manaplus/Makefile
+++ b/games/manaplus/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= manaplus
-PORTVERSION= 1.7.2.18
+PORTVERSION= 1.7.3.4
CATEGORIES= games
MASTER_SITES= http://download.evolonline.org/manaplus/download/${PORTVERSION}/
diff --git a/games/manaplus/distinfo b/games/manaplus/distinfo
index 50b64b96ce76..c9d3c652359b 100644
--- a/games/manaplus/distinfo
+++ b/games/manaplus/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1487688916
-SHA256 (manaplus-1.7.2.18.tar.xz) = 308bd47abcc0d2d032deb2137766820288b9fff4821f38130dc8d50220234545
-SIZE (manaplus-1.7.2.18.tar.xz) = 14768848
+TIMESTAMP = 1488653063
+SHA256 (manaplus-1.7.3.4.tar.xz) = 20d8ccd4d91edc0f9de4db9d5c0ae99906be393f6d762b87c2d784279ffe7d55
+SIZE (manaplus-1.7.3.4.tar.xz) = 14794704
diff --git a/games/manaplus/files/patch-src_fs_paths.cpp b/games/manaplus/files/patch-src_fs_paths.cpp
new file mode 100644
index 000000000000..cd2728c7710a
--- /dev/null
+++ b/games/manaplus/files/patch-src_fs_paths.cpp
@@ -0,0 +1,10 @@
+--- src/fs/paths.cpp.orig 2017-02-27 21:31:48 UTC
++++ src/fs/paths.cpp
+@@ -51,6 +51,7 @@
+ #ifndef WIN32
+ #include <sys/types.h>
+ #include <pwd.h>
++#include <unistd.h>
+ #endif // WIN32
+
+ #ifdef ANDROID
diff --git a/games/manaplus/pkg-plist b/games/manaplus/pkg-plist
index a56ac624b856..18390f3b2c51 100644
--- a/games/manaplus/pkg-plist
+++ b/games/manaplus/pkg-plist
@@ -2,6 +2,7 @@ bin/dyecmd
bin/manaplus
man/man6/manaplus.6.gz
man/man6/manaplustest.6.gz
+share/appdata/manaplus.appdata.xml
share/applications/manaplus.desktop
share/applications/manaplustest.desktop
%%NLS%%share/locale/ca/LC_MESSAGES/manaplus.mo
@@ -277,6 +278,8 @@ share/applications/manaplustest.desktop
%%DATADIR%%/data/test/arrow_up_B.png
%%DATADIR%%/data/test/arrow_up_S.png
%%DATADIR%%/data/test/dir1/file1.txt
+%%DATADIR%%/data/test/dir2/file1.txt
+%%DATADIR%%/data/test/dir2/file2.txt
%%DATADIR%%/data/test/dye.png
%%DATADIR%%/data/test/equipmentwindow.xml
%%DATADIR%%/data/test/hide.png
@@ -289,6 +292,10 @@ share/applications/manaplustest.desktop
%%DATADIR%%/data/test/test.txt
%%DATADIR%%/data/test/test.zip
%%DATADIR%%/data/test/test2.txt
+%%DATADIR%%/data/test/test2.zip
+%%DATADIR%%/data/test/test3.zip
+%%DATADIR%%/data/test/test4.zip
+%%DATADIR%%/data/test/test5.zip
%%DATADIR%%/data/test/testintmap.xml
%%DATADIR%%/data/test/units.xml
%%DATADIR%%/data/themes/blacknblack/bubble.png