1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00
freebsd-ports/net-p2p/eiskaltdcpp-daemon/Makefile
2018-04-18 13:57:42 +00:00

45 lines
1.3 KiB
Makefile

# Created by: Stas Timokhin <stast@bsdportal.ru>
# $FreeBSD$
PORTNAME= eiskaltdcpp
PORTREVISION= 7
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"