summaryrefslogtreecommitdiff
path: root/net-im/qTox/Makefile
diff options
context:
space:
mode:
authorMax Brazhnikov <makc@FreeBSD.org>2014-10-19 15:06:48 +0000
committerMax Brazhnikov <makc@FreeBSD.org>2014-10-19 15:06:48 +0000
commit2140fcf6caf6d5a67e7dc7bf52dbde56531d4922 (patch)
tree838a79a0bb0ce14cea3f11f7c26e907740b58ad2 /net-im/qTox/Makefile
parent- Update from 2.9.2 to 2.9.4 (diff)
Add new port net-im/qTox:
Qt 5 based Tox client WWW: https://wiki.tox.im/QTox PR: 194010 (based on) Submitted by: yuri@rawbw.com
Notes
Notes: svn path=/head/; revision=371182
Diffstat (limited to 'net-im/qTox/Makefile')
-rw-r--r--net-im/qTox/Makefile34
1 files changed, 34 insertions, 0 deletions
diff --git a/net-im/qTox/Makefile b/net-im/qTox/Makefile
new file mode 100644
index 000000000000..286be2940afe
--- /dev/null
+++ b/net-im/qTox/Makefile
@@ -0,0 +1,34 @@
+# Created by: Yuri Victorovich <yuri@rawbw.com>
+# $FreeBSD$
+
+PORTNAME= qTox
+PORTVERSION= 0.141018
+CATEGORIES= net-im
+
+MAINTAINER= yuri@rawbw.com
+COMMENT= Qt 5 based Tox client
+
+LICENSE= GPLv3
+
+BUILD_DEPENDS= ${LOCALBASE}/lib/libtoxcore.a:${PORTSDIR}/net-im/tox
+LIB_DEPENDS= libopencv_highgui.so:${PORTSDIR}/graphics/opencv
+RUN_DEPENDS= ${LOCALBASE}/lib/libtoxcore.a:${PORTSDIR}/net-im/tox
+
+USE_GITHUB= yes
+GH_ACCOUNT= tux3
+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
+
+PLIST_FILES= bin/qtox \
+ share/applications/qTox.desktop \
+ share/pixmaps/qtox.png
+
+pre-configure:
+ ${CP} ${WRKSRC}/img/icon.png ${WRKSRC}/img/qtox.png
+ ${REINPLACE_CMD} '/Comment/s,=.*,=${COMMENT},' \
+ ${WRKSRC}/qTox.desktop
+
+.include <bsd.port.mk>