blob: 1d27774350da48d5422f3c003c8f1fc80217ced7 (
plain) (
blame)
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
|
# Created by: Stas Timokhin <stast@bsdportal.ru>
# $FreeBSD$
PORTNAME= eiskaltdcpp
PORTREVISION= 6
CATEGORIES= net-p2p
PKGNAMESUFFIX= -daemon
MAINTAINER= ports@FreeBSD.org
COMMENT= EiskaltDC++ Direct Connect client daemon
LICENSE= GPLv3
LIB_DEPENDS= libeiskaltdcpp.so:net-p2p/eiskaltdcpp-lib
MASTERDIR= ${.CURDIR}/../eiskaltdcpp-lib
USES= cmake gettext compiler:c++11-lib ssl
OPTIONS_SINGLE= UI
OPTIONS_SINGLE_UI= NOUI XMLRPC JSONRPC
OPTIONS_DEFAULT= JSONRPC
UI_DESC= Daemon user interface
NOUI_DESC= Daemon without anyone ui
XMLRPC_DESC= XMLRPC interface support (deprecated)
JSONRPC_DESC= JSONRPC interface support
PLIST_FILES= bin/${PORTNAME}${PKGNAMESUFFIX} \
man/man1/${PORTNAME}${PKGNAMESUFFIX}.1.gz
CXXFLAGS+= -I${LOCALBASE}/include -D_GLIBCXX_USE_C99
CMAKE_ARGS+= -DUSE_QT:BOOL=OFF
CMAKE_ARGS+= -DUSE_GTK:BOOL=OFF
CMAKE_ARGS+= -DCREATE_MO:BOOL=OFF
BUILD_WRKSRC= ${WRKSRC}/${PORTNAME}${PKGNAMESUFFIX}
INSTALL_WRKSRC= ${WRKSRC}/${PORTNAME}${PKGNAMESUFFIX}
XMLRPC_LIB_DEPENDS= libxmlrpc++.so:net/xmlrpc-c
XMLRPC_CMAKE_ON= -DXMLRPC_DAEMON:BOOL=ON -DJSONRPC_DAEMON:BOOL=OFF -DNO_UI_DAEMON:BOOL=OFF
JSONRPC_CMAKE_ON= -DXMLRPC_DAEMON:BOOL=OFF -DJSONRPC_DAEMON:BOOL=ON -DNO_UI_DAEMON:BOOL=OFF
NOUI_CMAKE_ON= -DXMLRPC_DAEMON:BOOL=OFF -DJSONRPC_DAEMON:BOOL=OFF -DNO_UI_DAEMON:BOOL=ON
.include "${MASTERDIR}/Makefile"
|