Line 0
Link Here
|
|
|
1 |
# Created by: Yuri Victorovich <yuri@rawbw.com> |
2 |
# $FreeBSD: head/net-im/qtox/Makefile $ |
3 |
|
4 |
PORTNAME= qTox |
5 |
PORTVERSION= 0.140927 |
6 |
CATEGORIES= net-im |
7 |
|
8 |
MAINTAINER= yuri@rawbw.com |
9 |
COMMENT= Tox client written in C++ using Qt5 |
10 |
|
11 |
LICENSE= GPLv3 |
12 |
|
13 |
LIB_DEPENDS= libopencv_highgui.so:${PORTSDIR}/graphics/opencv \ |
14 |
libtoxcore.so:${PORTSDIR}/net-im/tox |
15 |
|
16 |
USE_GITHUB= yes |
17 |
GH_ACCOUNT= tux3 |
18 |
GH_TAGNAME= ${GH_COMMIT} |
19 |
GH_COMMIT= 35f548c |
20 |
|
21 |
USE_QT5= core gui network xml widgets buildtools_build qmake_build |
22 |
USES= qmake |
23 |
PLIST_FILES= bin/qtox |
24 |
|
25 |
post-patch: |
26 |
@${REINPLACE_CMD} 's/TOX_AVATAR_FORMAT_PNG/TOX_AVATARFORMAT_PNG/' ${WRKSRC}/*.cpp ${WRKSRC}/widget/*.cpp && \ |
27 |
${REINPLACE_CMD} 's/TOX_AVATAR_FORMAT_NONE/TOX_AVATARFORMAT_NONE/' ${WRKSRC}/*.cpp ${WRKSRC}/widget/*.cpp && \ |
28 |
${REINPLACE_CMD} 's/TOX_AVATAR_MAX_DATA_LENGTH/TOX_MAX_AVATAR_DATA_LENGTH/' ${WRKSRC}/*.cpp ${WRKSRC}/widget/*.cpp |
29 |
|
30 |
.include <bsd.port.mk> |