mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
61026624c8
file.cpp: In member function 'virtual void StdFile::listImpl(const std::string&, std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&)': file.cpp:248: error: 'class boost::filesystem3::directory_entry' has no member named 'filename' Reported by: pointyhat
52 lines
1.5 KiB
Makefile
52 lines
1.5 KiB
Makefile
# New ports collection makefile for: scribe
|
|
# Date created: 2010-07-15
|
|
# Whom: Jui-Nan Lin <jnlin@csie.nctu.edu.tw>
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= scribe
|
|
DISTVERSION= 2.2.2012.01.07
|
|
CATEGORIES= net
|
|
MASTER_SITES= https://github.com/facebook/scribe/tarball/${GITVERSION}/
|
|
DISTNAME= facebook-scribe-${GITVERSION}
|
|
|
|
MAINTAINER= jnlin@csie.nctu.edu.tw
|
|
COMMENT= Aggregating log data streamed in real time
|
|
|
|
BUILD_DEPENDS= fb303>0:${PORTSDIR}/devel/fb303
|
|
LIB_DEPENDS= boost_system:${PORTSDIR}/devel/boost-libs \
|
|
event:${PORTSDIR}/devel/libevent \
|
|
thrift:${PORTSDIR}/devel/thrift
|
|
RUN_DEPENDS= p5-Class-Accessor>0:${PORTSDIR}/devel/p5-Class-Accessor \
|
|
p5-Thrift>0:${PORTSDIR}/devel/p5-Thrift \
|
|
${PYTHON_SITELIBDIR}/thrift/__init__.py:${PORTSDIR}/devel/py-thrift
|
|
|
|
BROKEN= does not compile
|
|
|
|
GITVERSION= 63e4824
|
|
FETCH_ARGS= -pRr
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}
|
|
|
|
ACLOCAL_ARGS= -I ./aclocal
|
|
AUTOMAKE_ARGS= -a
|
|
CONFIGURE_ARGS= --with-boost-filesystem=boost_filesystem \
|
|
--with-boost-system=boost_system \
|
|
PY_PREFIX="${PREFIX}"
|
|
PLIST_SUB+= PYTHON_VERSION_SHORTNAME="${PYTHON_VERSION_SHORTNAME}"
|
|
PYTHON_VERSION_SHORTNAME= ${PYTHON_VERSION:S/thon//}
|
|
USE_AUTOTOOLS= aclocal automake autoconf
|
|
USE_GMAKE= yes
|
|
USE_PYTHON= yes
|
|
USE_RC_SUBR= ${PORTNAME}
|
|
|
|
post-build:
|
|
${LOCALBASE}/bin/thrift -o ${WRKSRC} -I ${LOCALBASE}/share --gen "perl" ${WRKSRC}/if/scribe.thrift
|
|
|
|
post-install:
|
|
${MKDIR} ${PREFIX}/${SITE_PERL_REL}/Scribe/Thrift
|
|
${CP} -R ${WRKSRC}/gen-perl/ ${PREFIX}/${SITE_PERL_REL}
|
|
${MKDIR} ${EXAMPLESDIR}
|
|
${CP} ${WRKSRC}/examples/* ${EXAMPLESDIR}
|
|
|
|
.include <bsd.port.mk>
|