15945f8122
to GCC 4.8.3. Part II, Bump PORTREVISIONs. PR: 192025 Tested by: antoine (-exp runs) Approved by: portmgr (implicit)
45 lines
1.3 KiB
Makefile
45 lines
1.3 KiB
Makefile
# Created by: Stas Timokhin <stast@bsdportal.ru>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= eiskaltdcpp
|
|
PORTREVISION= 1
|
|
CATEGORIES= net-p2p
|
|
PKGNAMESUFFIX= -daemon
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= EiskaltDC++ Direct Connect client daemon
|
|
|
|
LICENSE= GPLv3
|
|
|
|
LIB_DEPENDS= libeiskaltdcpp.so:${PORTSDIR}/net-p2p/eiskaltdcpp-lib
|
|
|
|
MASTERDIR= ${.CURDIR}/../eiskaltdcpp-lib
|
|
|
|
USES= cmake gettext compiler:c++11-lib
|
|
USE_OPENSSL= yes
|
|
|
|
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:${PORTSDIR}/net/xmlrpc-c-devel
|
|
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"
|