freebsd-ports/net-im/qTox/Makefile
Max Brazhnikov 2140fcf6ca 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
2014-10-19 15:06:48 +00:00

34 lines
828 B
Makefile

# 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>