mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-06 06:30:19 +00:00
cf118ccf87
Reported by: lwhsu
44 lines
1.3 KiB
Makefile
44 lines
1.3 KiB
Makefile
PORTNAME= xrootd
|
|
DISTVERSION= 4.10.0
|
|
PORTREVISION= 1
|
|
CATEGORIES= databases
|
|
MASTER_SITES= http://xrootd.org/download/v${DISTVERSION}/
|
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
|
COMMENT= Framework for fast, low latency, scalable data access
|
|
|
|
LICENSE= GPLv3 LGPL3
|
|
LICENSE_COMB= dual
|
|
LICENSE_FILE_GPLv3= ${WRKSRC}/COPYING
|
|
LICENSE_FILE_LGPL3= ${WRKSRC}/COPYING.LGPL
|
|
|
|
BUILD_DEPENDS= bash:shells/bash
|
|
LIB_DEPENDS= libcurl.so:ftp/curl
|
|
|
|
USES= cmake gnome localbase:ldflags pkgconfig readline shebangfix ssl
|
|
SHEBANG_GLOB= *.sh
|
|
SHEBANG_FILES= utils/cms_monPerf
|
|
USE_GNOME= libxml2
|
|
USE_LDCONFIG= yes
|
|
|
|
CMAKE_ARGS= -DCMAKE_INSTALL_LIBDIR:STRING=${PREFIX}/lib \
|
|
-DCMAKE_INSTALL_BINDIR:STRING=${PREFIX}/bin \
|
|
-DCMAKE_INSTALL_INCLUDEDIR:STRING=${PREFIX}/include \
|
|
-DCMAKE_INSTALL_MANDIR:STRING=${PREFIX}/man \
|
|
-DCMAKE_INSTALL_DATADIR:STRING=${DATADIR}
|
|
|
|
CXXFLAGS+= -Ddirent64=dirent
|
|
LDFLAGS+= -lexecinfo
|
|
|
|
OPTIONS_DEFINE= KERBEROS5
|
|
OPTIONS_SUB= yes
|
|
|
|
KERBEROS5_CMAKE_BOOL= ENABLE_KRB5
|
|
KERBEROS5_BROKEN= build picks base kerberos, but needs the port one (problem only exists in poudriere builds for some reason)
|
|
KERBEROS5_LIB_DEPENDS= libkrb5.so:security/krb5
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} 's| dl| $${CMAKE_DL_LIBS}| ; s|-ldl|$${CMAKE_DL_LIBS}|' ${WRKSRC}/src/*.cmake ${WRKSRC}/src/*/CMakeLists.txt
|
|
|
|
.include <bsd.port.mk>
|