Lines 2-8
Link Here
|
2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
3 |
|
3 |
|
4 |
PORTNAME= qTox |
4 |
PORTNAME= qTox |
5 |
PORTVERSION= 0.151116 |
5 |
PORTVERSION= 1.2.1 |
|
|
6 |
DISTVERSIONPREFIX= v |
6 |
CATEGORIES= net-im net-p2p |
7 |
CATEGORIES= net-im net-p2p |
7 |
|
8 |
|
8 |
MAINTAINER= yuri@rawbw.com |
9 |
MAINTAINER= yuri@rawbw.com |
Lines 22-28
Link Here
|
22 |
|
23 |
|
23 |
USE_GITHUB= yes |
24 |
USE_GITHUB= yes |
24 |
GH_ACCOUNT= tux3 |
25 |
GH_ACCOUNT= tux3 |
25 |
GH_TAGNAME= db52ef6 |
|
|
26 |
|
26 |
|
27 |
USES= compiler:c++11-lib desktop-file-utils openal:soft qmake gmake |
27 |
USES= compiler:c++11-lib desktop-file-utils openal:soft qmake gmake |
28 |
USE_GNOME= glib20 gtk20 cairo gdkpixbuf2 |
28 |
USE_GNOME= glib20 gtk20 cairo gdkpixbuf2 |
Lines 29-37
Link Here
|
29 |
USE_XORG= x11 xscrnsaver |
29 |
USE_XORG= x11 xscrnsaver |
30 |
USE_QT5= core gui network xml opengl sql sql-sqlite3_run widgets svg \ |
30 |
USE_QT5= core gui network xml opengl sql sql-sqlite3_run widgets svg \ |
31 |
concurrent buildtools_build linguisttools_build |
31 |
concurrent buildtools_build linguisttools_build |
|
|
32 |
ICON_SIZES= 14x14 16x16 22x22 24x24 32x32 36x36 48x48 64x64 72x72 96x96 128x128 192x192 256x256 512x512 |
32 |
|
33 |
|
33 |
PLIST_FILES= bin/qtox \ |
34 |
PLIST_FILES= bin/qtox \ |
34 |
share/applications/qTox.desktop |
35 |
share/applications/qTox.desktop \ |
|
|
36 |
share/icons/hicolor/scalable/apps/qtox.svgz |
37 |
.for SZ in ${ICON_SIZES} |
38 |
PLIST_FILES+= share/icons/hicolor/${SZ}/apps/qtox.png |
39 |
.endfor |
35 |
|
40 |
|
36 |
pre-everything:: |
41 |
pre-everything:: |
37 |
@${ECHO_MSG} |
42 |
@${ECHO_MSG} |
Lines 52-55
Link Here
|
52 |
@${REINPLACE_CMD} '/Comment/s,=.*,=${COMMENT},' \ |
57 |
@${REINPLACE_CMD} '/Comment/s,=.*,=${COMMENT},' \ |
53 |
${WRKSRC}/qTox.desktop |
58 |
${WRKSRC}/qTox.desktop |
54 |
|
59 |
|
|
|
60 |
post-install: |
61 |
${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps |
62 |
@${GZIP_CMD} ${GZIP} < ${WRKSRC}/img/icons/qtox.svg > ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps/qtox.svgz |
63 |
.for SZ in ${ICON_SIZES} |
64 |
@${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${SZ}/apps |
65 |
@${CP} ${WRKSRC}/img/icons/qtox-${SZ}.png ${STAGEDIR}${PREFIX}/share/icons/hicolor/${SZ}/apps/qtox.png |
66 |
.endfor |
67 |
|
55 |
.include <bsd.port.mk> |
68 |
.include <bsd.port.mk> |