aboutsummaryrefslogtreecommitdiff
path: root/games/violetland
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2009-10-27 00:04:59 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2009-10-27 00:04:59 +0000
commit52a3803cae820c2cd8cd59d6217570592c0e7646 (patch)
tree392ad4f51f5a42985ea12943f76ab39ed843f676 /games/violetland
parent0338726813de8c9df26a67b8e897ca6f20209f6a (diff)
downloadports-52a3803cae820c2cd8cd59d6217570592c0e7646.tar.gz
ports-52a3803cae820c2cd8cd59d6217570592c0e7646.zip
Notes
Diffstat (limited to 'games/violetland')
-rw-r--r--games/violetland/Makefile6
-rw-r--r--games/violetland/distinfo6
-rw-r--r--games/violetland/files/patch-src-system-FileUtility.cpp30
3 files changed, 4 insertions, 38 deletions
diff --git a/games/violetland/Makefile b/games/violetland/Makefile
index cc8857c808e9..90068b415bb9 100644
--- a/games/violetland/Makefile
+++ b/games/violetland/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= violetland
-PORTVERSION= 0.2.0
+PORTVERSION= 0.2.1
CATEGORIES= games
MASTER_SITES= GOOGLE_CODE
DISTNAME= ${PORTNAME}-v${PORTVERSION}-src
@@ -30,8 +30,4 @@ DESKTOP_ENTRIES="Violetland" \
"Game;ArcadeGame;" \
false
-post-patch:
- @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' \
- ${WRKSRC}/src/system/FileUtility.cpp
-
.include <bsd.port.mk>
diff --git a/games/violetland/distinfo b/games/violetland/distinfo
index 1aa87528cfda..999fbbc8fb9b 100644
--- a/games/violetland/distinfo
+++ b/games/violetland/distinfo
@@ -1,3 +1,3 @@
-MD5 (violetland-v0.2.0-src.zip) = b2e9f9f9fab09a47a41db8cd9f78ea38
-SHA256 (violetland-v0.2.0-src.zip) = dc720b7b6b145264e886ce065ed3440902778630c3f086d1d3d67019d5325cdd
-SIZE (violetland-v0.2.0-src.zip) = 3001882
+MD5 (violetland-v0.2.1-src.zip) = 50d5b18840dc22bd084fc6839780cb7c
+SHA256 (violetland-v0.2.1-src.zip) = 2b54f683a16a6b1f34420d59ba37f0d7563299dd30dd74beb9d19a5d02488fd3
+SIZE (violetland-v0.2.1-src.zip) = 3004370
diff --git a/games/violetland/files/patch-src-system-FileUtility.cpp b/games/violetland/files/patch-src-system-FileUtility.cpp
deleted file mode 100644
index 95d9998b9138..000000000000
--- a/games/violetland/files/patch-src-system-FileUtility.cpp
+++ /dev/null
@@ -1,30 +0,0 @@
---- src/system/FileUtility.cpp.orig 2009-10-19 05:14:24.000000000 +0400
-+++ src/system/FileUtility.cpp 2009-10-25 22:04:22.000000000 +0300
-@@ -22,8 +22,8 @@
- if (!(ep->data.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY))
- files++;
- #endif //_WIN32W
--#ifdef linux
-- if (ep->d_type == 0x8)
-+#ifdef __FreeBSD__
-+ if (ep->d_type == DT_REG)
- files++;
- #endif //linux
- (void) closedir(dp);
-@@ -49,13 +49,9 @@
- m_usrPath = m_resPath;
- delete[] exePath;
- #endif //_WIN32
--#ifdef linux
-- char result[PATH_MAX];
-- readlink("/proc/self/exe", result, PATH_MAX);
-- FileUtility::truncateFullPathToDir(result);
-- m_appPath = result;
-- m_resPath = m_appPath;
-- m_resPath.append("/../share/violetland/");
-+#ifdef __FreeBSD__
-+ m_appPath = "%%PREFIX%%/bin";
-+ m_resPath = "%%PREFIX%%/share/violetland/";
- m_usrPath = getenv("HOME");
- m_usrPath.append("/.config");
- mkdir(m_usrPath.c_str(), S_IRWXU | S_IRGRP | S_IROTH);