diff options
author | Adam Weinberger <adamw@FreeBSD.org> | 2014-08-23 17:20:44 +0000 |
---|---|---|
committer | Adam Weinberger <adamw@FreeBSD.org> | 2014-08-23 17:20:44 +0000 |
commit | d133713e0c5ae95aaacc08ae9238a5f286c8aa5e (patch) | |
tree | 5f858bd9f7a5a307eccaa725e14f9caae1517f7b /net-p2p/eiskaltdcpp-daemon/Makefile | |
parent | 1bf6562e6c0cf6a4351333ca9e7296cee9d6a5cc (diff) | |
download | ports-d133713e0c5ae95aaacc08ae9238a5f286c8aa5e.tar.gz ports-d133713e0c5ae95aaacc08ae9238a5f286c8aa5e.zip |
Notes
Diffstat (limited to 'net-p2p/eiskaltdcpp-daemon/Makefile')
-rw-r--r-- | net-p2p/eiskaltdcpp-daemon/Makefile | 61 |
1 files changed, 22 insertions, 39 deletions
diff --git a/net-p2p/eiskaltdcpp-daemon/Makefile b/net-p2p/eiskaltdcpp-daemon/Makefile index 301c6904b6ea..7fb8dffd14cf 100644 --- a/net-p2p/eiskaltdcpp-daemon/Makefile +++ b/net-p2p/eiskaltdcpp-daemon/Makefile @@ -1,61 +1,44 @@ # Created by: Stas Timokhin <stast@bsdportal.ru> # $FreeBSD$ -PORTNAME= eiskaltdcpp-daemon -PORTVERSION= 2.2.4 -PORTREVISION= 3 +PORTNAME= eiskaltdcpp CATEGORIES= net-p2p -MASTER_SITES= GOOGLE_CODE -DISTNAME= eiskaltdcpp-${DISTVERSION} +PKGNAMESUFFIX= -daemon MAINTAINER= ports@FreeBSD.org COMMENT= EiskaltDC++ Direct Connect client daemon LICENSE= GPLv3 -LIB_DEPENDS+= libeiskaltdcpp.so:${PORTSDIR}/net-p2p/eiskaltdcpp-lib -BUILD_DEPENDS+= chrpath:${PORTSDIR}/devel/chrpath +LIB_DEPENDS= libeiskaltdcpp.so:${PORTSDIR}/net-p2p/eiskaltdcpp-lib -PROJECTHOST= eiskaltdc +MASTERDIR= ${.CURDIR}/../eiskaltdcpp-lib -USE_GCC= yes -USES= cmake gettext tar:xz +USES= cmake gettext compiler:c++11-lib USE_OPENSSL= yes -OPTIONS_DEFINE= XMLRPC -OPTIONS_DEFAULT= XMLRPC -XMLRPC_DESC= XMLRPC interface support +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 -MAN1= ${PORTNAME}.1 -MANCOMPRESSED= yes +PLIST_FILES= bin/${PORTNAME}${PKGNAMESUFFIX} \ + man/man1/${PORTNAME}${PKGNAMESUFFIX}.1.gz -PLIST_FILES= bin/${PORTNAME} - -CXXFLAGS+= -I${LOCALBASE}/include -CMAKE_ARGS+= -DBUILD_LIB:BOOL=OFF +CXXFLAGS+= -I${LOCALBASE}/include -D_GLIBCXX_USE_C99 CMAKE_ARGS+= -DUSE_QT:BOOL=OFF CMAKE_ARGS+= -DUSE_GTK:BOOL=OFF -CMAKE_ARGS+= -DNO_UI_DAEMON:BOOL=ON -CMAKE_ARGS+= -DEISKALTDCPP_INCLUDE_DIR:STRING="${LOCALBASE}/include/eiskaltdcpp" -CMAKE_ARGS+= -DUSE_IDNA:BOOL=OFF CMAKE_ARGS+= -DCREATE_MO:BOOL=OFF -CMAKE_ARGS+= -DCMAKE_LIBRARY_PATH:PATH="${LOCALBASE}/lib:${PREFIX}/lib" -CMAKE_ARGS+= -DCMAKE_SKIP_RPATH:BOOL=ON - -BUILD_WRKSRC= ${WRKSRC}/nasdc -INSTALL_WRKSRC= ${WRKSRC}/nasdc - -NO_STAGE= yes -.include <bsd.port.options.mk> -.if ${PORT_OPTIONS:MXMLRPC} -LIB_DEPENDS+= libxmlrpc++.so:${PORTSDIR}/net/xmlrpc-c-devel -CMAKE_ARGS+= -DXMLRPC_DAEMON:BOOL=ON -.else -CMAKE_ARGS+= -DXMLRPC_DAEMON:BOOL=OFF -.endif +BUILD_WRKSRC= ${WRKSRC}/${PORTNAME}${PKGNAMESUFFIX} +INSTALL_WRKSRC= ${WRKSRC}/${PORTNAME}${PKGNAMESUFFIX} -post-build: - ${LOCALBASE}/bin/chrpath -r "${_GCC_RUNTIME}" "${WRKSRC}/nasdc/${PORTNAME}" +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 <bsd.port.mk> +.include "${MASTERDIR}/Makefile" |