freebsd-ports/devel/fb303/Makefile
Olli Hauer 4fb1cfb1cd - rename AL2 to APACHE20 in Mk/bsd.licenses.db.mk
- svn move Templates/Licenses/AL2 Templates/Licenses/APACHE20
- add APACHE10 and APACHE11 to Mk/bsd.licenses.db.mk
- add entry in UPDATING
- bulk change all ports AL2 => APACHE20

- math/openfst/pkg-plist: remove share/licenses/openfst-1.3.4

PR:		ports/184785
Submitted by:	ohauer
Reviewed by:	tabthorpe
Approved by:	portmgr (tabthorpe@)
2013-12-30 20:55:18 +00:00

53 lines
1.3 KiB
Makefile

# Created by: Gea-Suan Lin <gslin@gslin.org>
# $FreeBSD$
PORTNAME= fb303
PORTVERSION= ${THRIFT_PORTVERSION}
PORTEPOCH= 1
CATEGORIES= devel
MASTER_SITES= APACHE
MASTER_SITE_SUBDIR= thrift/${PORTVERSION}
DISTNAME= thrift-${PORTVERSION}
MAINTAINER= komarov@valerka.net
COMMENT= Facebook Bassline
LICENSE= APACHE20
LIB_DEPENDS= libthrift.so:${PORTSDIR}/devel/thrift-cpp
BUILD_DEPENDS= thrift:${PORTSDIR}/devel/thrift
ACLOCAL_ARGS= -I ./aclocal
AUTOMAKE_ARGS= -a
CONFIGURE_ARGS= PY_PREFIX="${PREFIX}"
USE_AUTOTOOLS= autoconf autoheader:env aclocal automake
USES= gmake perl5 compiler
USE_PERL5= run
USE_PYTHON= yes
WRKSRC= ${WRKDIR}/${DISTNAME}/contrib/fb303
PLIST_SUB+= PORTVERSION="${PORTVERSION}" PYTHON_VER="${PYTHON_VER}"
CONFIGURE_ARGS+= --without-php
NO_STAGE= yes
.include <bsd.port.pre.mk>
.if ${COMPILER_TYPE} == clang
USE_CXXSTD= c++11
EXTRA_PATCHES+= ${FILESDIR}/extra_patch-cpp__Makefile.am
.endif
post-build:
(cd ${WRKSRC} && ${LOCALBASE}/bin/thrift --gen perl ${WRKSRC}/if/fb303.thrift)
post-install:
${MKDIR} ${PREFIX}/${SITE_PERL_REL}/Facebook/FB303
.for FILE in Constants.pm FacebookService.pm Types.pm
${INSTALL_DATA} ${WRKSRC}/gen-perl/Facebook/FB303/${FILE} ${PREFIX}/${SITE_PERL_REL}/Facebook/FB303
.endfor
.include "../thrift/bsd.thrift.mk"
.include <bsd.port.mk>