1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-03 01:23:49 +00:00
freebsd-ports/devel/fb303/Makefile
Greg Larkin ccb72bf251 - Removed IGNORE for OSVERSION < 7.0 - builds fine in 6.4 Tinderbox
Approved by:	gslin@gslin.org (maintainer - via private email)
2010-01-14 18:04:00 +00:00

46 lines
1.2 KiB
Makefile

# New ports collection makefile for: fb303
# Date created: 2009-08-14
# Whom: Gea-Suan Lin <gslin@gslin.org>
#
# $FreeBSD$
#
PORTNAME= fb303
PORTVERSION= 20090622
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= bms
DISTNAME= thrift-${PORTVERSION}
MAINTAINER= gslin@gslin.org
COMMENT= The Facebook Bassline
LIB_DEPENDS= boost_system:${PORTSDIR}/devel/boost-libs \
thrift:${PORTSDIR}/devel/thrift
ACLOCAL_ARGS= -I ./aclocal
AUTOMAKE_ARGS= -a
CONFIGURE_ARGS= PY_PREFIX="${PREFIX}"
PLIST_SUB+= PYTHON_VERSION_SHORTNAME="${PYTHON_VERSION_SHORTNAME}"
PYTHON_VERSION_SHORTNAME= ${PYTHON_VERSION:S/thon//}
USE_AUTOTOOLS= aclocal:19 automake:19 autoconf:262
USE_BZIP2= yes
USE_GMAKE= yes
USE_PERL5_RUN= yes
USE_PYTHON= yes
WRKSRC= ${WRKDIR}/${DISTNAME}/contrib/fb303
.include <bsd.port.pre.mk>
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 <bsd.port.post.mk>