summaryrefslogtreecommitdiff
path: root/net-im/qTox/Makefile
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2014-10-29 18:31:11 +0000
committerThierry Thomas <thierry@FreeBSD.org>2014-10-29 18:31:11 +0000
commit285e10efd920c33f7c53b250da2cb9e046ff4f43 (patch)
tree52f6df8947c6ce9616a365ce972aa58443ce77c5 /net-im/qTox/Makefile
parentUpgrade to new upstream release 2.3.5. (diff)
Update to a redcent snapshot.
PR: ports/194648 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=371695
Diffstat (limited to 'net-im/qTox/Makefile')
-rw-r--r--net-im/qTox/Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/net-im/qTox/Makefile b/net-im/qTox/Makefile
index 286be2940afe..9ca63ebb5233 100644
--- a/net-im/qTox/Makefile
+++ b/net-im/qTox/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= qTox
-PORTVERSION= 0.141018
+PORTVERSION= 0.141028
CATEGORIES= net-im
MAINTAINER= yuri@rawbw.com
@@ -16,16 +16,20 @@ RUN_DEPENDS= ${LOCALBASE}/lib/libtoxcore.a:${PORTSDIR}/net-im/tox
USE_GITHUB= yes
GH_ACCOUNT= tux3
+GH_COMMIT= 8ff3d1d
GH_TAGNAME= ${GH_COMMIT}
-GH_COMMIT= bf35c5e
-USE_QT5= core gui network opengl xml widgets buildtools_build
-USES= compiler:c++11-lib openal:soft qmake
+USE_QT5= core gui network xml opengl sql widgets buildtools_build
+USES= compiler:c++11-lib desktop-file-utils openal:soft qmake
PLIST_FILES= bin/qtox \
share/applications/qTox.desktop \
share/pixmaps/qtox.png
+post-patch:
+ ${REINPLACE_CMD} -e 's|$$$$system(git rev-parse HEAD)|"${GH_COMMIT}"|' \
+ ${WRKSRC}/qtox.pro
+
pre-configure:
${CP} ${WRKSRC}/img/icon.png ${WRKSRC}/img/qtox.png
${REINPLACE_CMD} '/Comment/s,=.*,=${COMMENT},' \