freebsd-ports/devel/thrift/Makefile
Alexey Dokuchaev 661f3d0204 Do not claim that builds are broken on PowerPC when they're in fact not.
While here, remove "support" for ia64, which had never been first-class
architecture and was officially killed in -CURRENT quite some time ago.
2015-09-04 15:53:31 +00:00

67 lines
1.8 KiB
Makefile

# Created by: Sergey Skvortsov <skv@protey.ru>
# $FreeBSD$
PORTNAME= thrift
PORTVERSION= ${THRIFT_PORTVERSION} # get these from bsd.thrift.mk. any upgrade needs to check ALL dependencies
PORTEPOCH= 1
CATEGORIES= devel
MASTER_SITES= APACHE/thrift/${PORTVERSION}
MAINTAINER= komarov@valerka.net
COMMENT= Framework for scalable cross-language services development
LICENSE= APACHE20
BROKEN_sparc64= does not compile on ${ARCH}
USES= autoreconf gmake libtool pkgconfig
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
MAKE_JOBS_UNSAFE= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
CONFIGURE_ENV+= ${MAKE_ENV}
# For C++ support, use devel/thrift-cpp
# For C glib support, use devel/thrift-c_glib.
# For Perl support, use devel/p5-Thrift.
# For Python support, use devel/py-thrift.
# For Ruby support, use devel/rubygem-thrift.
# For PHP support, use devel/php5-thrift.
# For nodejs support, use devel/node-thrift.
# Other languages are not yet supported, please feel free to contribute
# using one of the leaf ports as an example.
CONFIGURE_ARGS+= \
--without-c_glib \
--without-cpp \
--without-qt4 \
--without-csharp \
--without-erlang \
--without-haskell \
--without-java \
--without-perl \
--without-php \
--without-php_extension \
--without-python \
--without-ruby
PLIST_FILES= bin/thrift
.include <bsd.port.pre.mk>
.include "bsd.thrift.mk"
PLIST_SUB+= PORTVERSION="${PORTVERSION}"
pre-configure:
@${REINPLACE_CMD} '/config.h/d' ${WRKSRC}/lib/cpp/Makefile.am
post-install:
@${ECHO_MSG}
@${ECHO_MSG} "For use with C++, the same compiler as used to build this port must be used"
@${ECHO_MSG} "to compile and link your generated IDL bindings."
@${ECHO_MSG}
@${ECHO_MSG} "Note: The Thrift white paper may be downloaded from:"
@${ECHO_MSG} "http://thrift.apache.org/static/thrift-20070401.pdf"
@${ECHO_MSG}
.include <bsd.port.post.mk>