aboutsummaryrefslogtreecommitdiff
path: root/x11-fm
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2014-12-23 14:25:09 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2014-12-23 14:25:09 +0000
commit1f8bbffbfbac3afe1518813d08df5e3ed10a1992 (patch)
tree10942d7c9cc5e8aa9d2d72e52410f469cfc4cfaf /x11-fm
parent30ad956649925475bc50fa2c57d145504c765d6f (diff)
downloadports-1f8bbffbfbac3afe1518813d08df5e3ed10a1992.tar.gz
ports-1f8bbffbfbac3afe1518813d08df5e3ed10a1992.zip
Notes
Diffstat (limited to 'x11-fm')
-rw-r--r--x11-fm/walcommander/Makefile18
-rw-r--r--x11-fm/walcommander/distinfo4
-rw-r--r--x11-fm/walcommander/files/patch-src-CMakeLists.txt10
3 files changed, 26 insertions, 6 deletions
diff --git a/x11-fm/walcommander/Makefile b/x11-fm/walcommander/Makefile
index 984024d46fec..ba5b32e8d366 100644
--- a/x11-fm/walcommander/Makefile
+++ b/x11-fm/walcommander/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= walcommander
-PORTVERSION= 0.18.0
+PORTVERSION= 0.18.1
CATEGORIES= x11-fm
MAINTAINER= amdmi3@FreeBSD.org
@@ -15,9 +15,9 @@ USE_GITHUB= yes
GH_ACCOUNT= corporateshark
GH_PROJECT= WalCommander
GH_TAGNAME= release-${PORTVERSION}
-GH_COMMIT= 362ad22
+GH_COMMIT= 3103626
-USES= compiler:c++11-lib cmake
+USES= compiler:c++11-lib cmake:outsource
USE_XORG= x11
PORTDOCS= CHANGELOG CHANGELOG.GitHub README.md readme_eng.txt
@@ -39,10 +39,20 @@ SSH_LIB_DEPENDS= libssh2.so:${PORTSDIR}/security/libssh2
SSH_CMAKE_ON= -DWITH_LIBSSH2=ON
SSH_CMAKE_OFF= -DWITH_LIBSSH2=OFF
+.include <bsd.port.pre.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} < 900000
+BROKEN= does not build on 8.x (lack of long long support)
+.endif
+
+.if ${COMPILER_TYPE} == gcc
+CXXFLAGS+= -D_GLIBCXX_USE_C99 # gcc c++11 support is broken on FreeBSD
+.endif
+
post-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/
.endfor
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/x11-fm/walcommander/distinfo b/x11-fm/walcommander/distinfo
index ebe640ce8ab2..ac065cedde92 100644
--- a/x11-fm/walcommander/distinfo
+++ b/x11-fm/walcommander/distinfo
@@ -1,2 +1,2 @@
-SHA256 (walcommander-0.18.0.tar.gz) = f04ad9caca3c24489768f33cbbd4406ce51a04326dee38ecdb5859e71e4c7c4f
-SIZE (walcommander-0.18.0.tar.gz) = 4847457
+SHA256 (walcommander-0.18.1.tar.gz) = 614efc37248b518841185a3228f6712afbdb12a9f23611c786ae86b813fd3244
+SIZE (walcommander-0.18.1.tar.gz) = 4861073
diff --git a/x11-fm/walcommander/files/patch-src-CMakeLists.txt b/x11-fm/walcommander/files/patch-src-CMakeLists.txt
new file mode 100644
index 000000000000..5b7796eba13a
--- /dev/null
+++ b/x11-fm/walcommander/files/patch-src-CMakeLists.txt
@@ -0,0 +1,10 @@
+diff --git src/CMakeLists.txt src/CMakeLists.txt
+index 3cd29ed..888b4ad 100644
+--- src/CMakeLists.txt
++++ src/CMakeLists.txt
+@@ -226,4 +226,4 @@ TARGET_LINK_LIBRARIES(wcm ${wcm_LIBS})
+ # install
+ INSTALL(TARGETS wcm RUNTIME DESTINATION bin)
+ INSTALL(FILES wcm.desktop DESTINATION share/applications)
+-INSTALL(FILES install-files/share/wcm/icon/wcm.png DESTINATION share/pixmaps)
++INSTALL(FILES ${PROJECT_SOURCE_DIR}/install-files/share/wcm/icon/wcm.png DESTINATION share/pixmaps)