aboutsummaryrefslogtreecommitdiff
path: root/net-im/qTox/Makefile
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2016-04-27 19:02:49 +0000
committerPawel Pekala <pawel@FreeBSD.org>2016-04-27 19:02:49 +0000
commit665b18b1f74e4950487db7c0830b7b0f75f8e098 (patch)
tree85bd9d4800ecb94995ad978f679e4f3f1919085f /net-im/qTox/Makefile
parent07ff769ab7c936c5a36df9dc281d599ffe58cf39 (diff)
downloadports-665b18b1f74e4950487db7c0830b7b0f75f8e098.tar.gz
ports-665b18b1f74e4950487db7c0830b7b0f75f8e098.zip
Notes
Diffstat (limited to 'net-im/qTox/Makefile')
-rw-r--r--net-im/qTox/Makefile13
1 files changed, 8 insertions, 5 deletions
diff --git a/net-im/qTox/Makefile b/net-im/qTox/Makefile
index 7be5c027bc94..834fcd67ac4c 100644
--- a/net-im/qTox/Makefile
+++ b/net-im/qTox/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= qTox
-PORTVERSION= 1.3.0
-PORTREVISION= 1
+PORTVERSION= 1.4.0
DISTVERSIONPREFIX= v
CATEGORIES= net-im net-p2p
@@ -21,19 +20,23 @@ LIB_DEPENDS= libtoxcore.so:net-im/tox \
libfilteraudio.so:audio/libfilteraudio \
libsodium.so:security/libsodium \
libqrencode.so:graphics/libqrencode \
- libsqlcipher.so:databases/sqlcipher
+ libsqlcipher.so:databases/sqlcipher \
+ libfreetype.so:print/freetype2 \
+ libfontconfig.so:x11-fonts/fontconfig
USE_GITHUB= yes
GH_ACCOUNT= tux3
SUB_FILES= pkg-message
-USES= compiler:c++11-lib desktop-file-utils openal:soft qmake gmake
+USES= compiler:c++11-lib desktop-file-utils gettext gmake openal:soft pkgconfig qmake
USE_GNOME= glib20 gtk20 cairo gdkpixbuf2
USE_XORG= x11 xscrnsaver
+USE_GL= gl
USE_QT5= core gui network xml opengl sql sql-sqlite3_run widgets svg \
concurrent buildtools_build linguisttools_build
ICON_SIZES= 14x14 16x16 22x22 24x24 32x32 36x36 48x48 64x64 72x72 96x96 128x128 192x192 256x256 512x512
+QMAKE_ARGS= FREEBSD_PKGVERSION=${PKGVERSION}
PLIST_FILES= bin/qtox \
share/applications/qTox.desktop \
@@ -66,7 +69,7 @@ post-install:
@${GZIP_CMD} ${GZIP} < ${WRKSRC}/img/icons/qtox.svg > ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps/qtox.svgz
.for SZ in ${ICON_SIZES}
@${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${SZ}/apps
- @${CP} ${WRKSRC}/img/icons/qtox-${SZ}.png ${STAGEDIR}${PREFIX}/share/icons/hicolor/${SZ}/apps/qtox.png
+ @${CP} ${WRKSRC}/img/icons/${SZ}/qtox.png ${STAGEDIR}${PREFIX}/share/icons/hicolor/${SZ}/apps/qtox.png
.endfor
.include <bsd.port.mk>