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