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 |
BUILD_DEPENDS= ${LOCALBASE}/lib/libtoxcore.a:${PORTSDIR}/net-im/tox |
14 |
LIB_DEPENDS= libopencv_highgui.so:${PORTSDIR}/graphics/opencv |
15 |
RUN_DEPENDS= ${LOCALBASE}/lib/libtoxcore.a:${PORTSDIR}/net-im/tox |
16 |
|
17 |
USE_GITHUB= yes |
18 |
GH_ACCOUNT= tux3 |
19 |
GH_TAGNAME= ${GH_COMMIT} |
20 |
GH_COMMIT= 35f548c |
21 |
|
22 |
USE_QT5= core gui network xml widgets buildtools_build qmake_build |
23 |
USES= qmake |
24 |
PLIST_FILES= bin/qtox |
25 |
|
26 |
post-patch: |
27 |
@${REINPLACE_CMD} 's/TOX_AVATAR_FORMAT_PNG/TOX_AVATARFORMAT_PNG/' ${WRKSRC}/*.cpp ${WRKSRC}/widget/*.cpp && \ |
28 |
${REINPLACE_CMD} 's/TOX_AVATAR_FORMAT_NONE/TOX_AVATARFORMAT_NONE/' ${WRKSRC}/*.cpp ${WRKSRC}/widget/*.cpp && \ |
29 |
${REINPLACE_CMD} 's/TOX_AVATAR_MAX_DATA_LENGTH/TOX_MAX_AVATAR_DATA_LENGTH/' ${WRKSRC}/*.cpp ${WRKSRC}/widget/*.cpp |
30 |
|
31 |
.include <bsd.port.mk> |