blob: 94fc7129642173eea639511d58daaeeea475d6fb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
# Created by: Stas Timokhin <stast@bsdportal.ru>
# $FreeBSD$
PORTNAME= eiskaltdcpp
PORTREVISION= 1
CATEGORIES= net-p2p
PKGNAMESUFFIX= -qt
MAINTAINER= ports@FreeBSD.org
COMMENT= EiskaltDC++ Direct Connect client Qt GUI
LICENSE= GPLv3
RUN_DEPENDS= eiskaltdcpp-data>=0:net-p2p/eiskaltdcpp-data
LIB_DEPENDS= libeiskaltdcpp.so:net-p2p/eiskaltdcpp-lib
MASTERDIR= ${.CURDIR}/../eiskaltdcpp-lib
USES= cmake gettext compiler:c++11-lib desktop-file-utils ssl
USE_QT4= gui xml network qmake_build uic_build \
moc_build rcc_build linguisttools_build
OPTIONS_DEFINE= ASPELL FREE_SPACE DBUS_NOTIFY QTSCRIPT QML SQLITE
OPTIONS_DEFAULT= FREE_SPACE DBUS_NOTIFY
OPTIONS_SUB= yes
FREE_SPACE_DESC= Free space bar in status panel
DBUS_NOTIFY_DESC= DBus notification support
QTSCRIPT_DESC= QtScript support
QML_DESC= Qt Declarative ui support
CMAKE_ARGS+= -DUSE_QT:BOOL=ON
CMAKE_ARGS+= -DUSE_GTK:BOOL=OFF
CMAKE_ARGS+= -DCREATE_MO:BOOL=OFF
CMAKE_ARGS+= -DINSTALL_DATA:BOOL=OFF
BUILD_WRKSRC= ${WRKSRC}/${PORTNAME}${PKGNAMESUFFIX}
INSTALL_WRKSRC= ${WRKSRC}/${PORTNAME}${PKGNAMESUFFIX}
ASPELL_LIB_DEPENDS= libaspell.so:textproc/aspell
ASPELL_CMAKE_BOOL= USE_ASPELL
FREE_SPACE_CMAKE_BOOL= FREE_SPACE_BAR_C
DBUS_NOTIFY_USE= QT4=dbus
DBUS_NOTIFY_CMAKE_BOOL= DBUS_NOTIFY
QTSCRIPT_USE= QT4=script
QTSCRIPT_RUN_DEPENDS= ${LOCALBASE}/lib/qt4/plugins/script/libqtscript_core.so:devel/qtscriptgenerator
QTSCRIPT_CMAKE_BOOL= USE_JS
QML_USE= QT4=declarative
QML_CMAKE_BOOL= USE_QT_QML
SQLITE_USE= QT4=sql-sqlite3
SQLITE_CMAKE_BOOL= USE_QT_SQLITE
.include "${MASTERDIR}/Makefile"
|