# New ports collection makefile for: thrift # Date created: 27 September 2007 # Whom: Sergey Skvortsov # # $FreeBSD$ # PORTNAME= thrift PORTVERSION= 20070917 PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= http://developers.facebook.com/thrift/ MAINTAINER= skv@FreeBSD.org COMMENT= Framework for scalable cross-language services development LIB_DEPENDS= boost_iostreams:${PORTSDIR}/devel/boost \ event-1.3e:${PORTSDIR}/devel/libevent USE_AUTOTOOLS= libtool:15 USE_GCC= 4.2+ USE_LDCONFIG= yes CONFIGURE_ARGS= --with-boost=${LOCALBASE} \ --with-event=${LOCALBASE} CONFIGURE_ENV+= ${MAKE_ENV} .include .if ${OSVERSION} < 600000 BROKEN= Incorrect plist .endif post-patch: ${REINPLACE_CMD} -i '' -e 's=lib/py ==' ${WRKSRC}/*.* post-install: .ifndef(NOPORTDOCS) @${ECHO_MSG} "===> Installing documentation for ${PKGNAME}" @${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/doc/thrift.pdf ${DOCSDIR} .endif .include