Lines 1-5
Link Here
|
1 |
PORTNAME= tremotesf |
1 |
PORTNAME= tremotesf |
2 |
DISTVERSION= 2.6.0 |
2 |
DISTVERSION= 2.6.1 |
3 |
CATEGORIES= net-p2p |
3 |
CATEGORIES= net-p2p |
4 |
|
4 |
|
5 |
MAINTAINER= vsasjason@gmail.com |
5 |
MAINTAINER= vsasjason@gmail.com |
Lines 11-30
LICENSE_FILE= ${WRKSRC}/LICENSES/GPL-3.0-or-later.txt
Link Here
|
11 |
BUILD_DEPENDS= cxxopts>0:devel/cxxopts |
11 |
BUILD_DEPENDS= cxxopts>0:devel/cxxopts |
12 |
LIB_DEPENDS= libfmt.so:devel/libfmt \ |
12 |
LIB_DEPENDS= libfmt.so:devel/libfmt \ |
13 |
libpsl.so:dns/libpsl |
13 |
libpsl.so:dns/libpsl |
14 |
TEST_DEPENDS= cpp-httplib>0:www/cpp-httplib |
|
|
15 |
|
14 |
|
16 |
USES= cmake:testing desktop-file-utils gettext-tools kde:5 pkgconfig \ |
15 |
FLAVORS= qt5 qt6 |
17 |
qt:5 xorg |
16 |
FLAVOR?= ${FLAVORS:[2]} |
18 |
|
17 |
|
19 |
USE_GITHUB= yes |
18 |
qt5_CONFLICTS_INSTALL= ${PORTNAME}-qt6 |
20 |
GH_ACCOUNT= equeim |
19 |
qt6_PKGNAMESUFFIX= -qt6 |
21 |
GH_PROJECT= tremotesf2 |
20 |
qt6_CONFLICTS_INSTALL= ${PORTNAME} |
22 |
|
21 |
|
23 |
USE_KDE= widgetsaddons windowsystem |
22 |
USES= cmake:testing desktop-file-utils gettext-tools pkgconfig xorg |
24 |
|
23 |
|
|
|
24 |
.if ${FLAVOR} == qt5 |
25 |
USES+= kde:5 qt:5 |
25 |
USE_QT= core dbus gui network widgets buildtools:build concurrent:build \ |
26 |
USE_QT= core dbus gui network widgets buildtools:build concurrent:build \ |
26 |
linguisttools:build qmake:build testlib:build |
27 |
linguisttools:build qmake:build testlib:build |
|
|
28 |
CMAKE_OFF= TREMOTESF_QT6 |
29 |
.else |
30 |
USES+= gl kde:6 qt:6 |
31 |
USE_GL= opengl |
32 |
USE_QT= base |
33 |
.endif |
27 |
|
34 |
|
|
|
35 |
USE_GITHUB= yes |
36 |
GH_ACCOUNT= equeim yhirose:httplib |
37 |
GH_PROJECT= tremotesf2 cpp-httplib:httplib |
38 |
GH_SUBDIR= src/3rdparty/cpp-httplib:httplib |
39 |
GH_TAGNAME= v0.14.3:httplib |
40 |
|
41 |
USE_KDE= widgetsaddons windowsystem |
28 |
USE_XORG= x11 |
42 |
USE_XORG= x11 |
29 |
|
43 |
|
30 |
.include <bsd.port.mk> |
44 |
.include <bsd.port.mk> |