blob: ccbe5aae4d1d02fcc7f71765f0285c78d8a3fdd9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# New ports collection makefile for: thrift
# Date created: 27 September 2007
# Whom: Sergey Skvortsov <skv@protey.ru>
#
# $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 <bsd.port.pre.mk>
.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 <bsd.port.post.mk>
|