1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00
freebsd-ports/devel/php5-thrift/Makefile
Martin Wilke 3b1b1a04f2 - Fix build
PR:		189076
Submitted by:	Ilya Bakulin <webmaster@kibab.com> (maintainer)
2014-05-22 09:37:35 +00:00

30 lines
587 B
Makefile

# Created by: Ilya Bakulin <webmaster@kibab.com>
# $FreeBSD$
PORTNAME= thrift
PORTVERSION= ${THRIFT_PORTVERSION}
CATEGORIES= devel
PKGNAMEPREFIX= php5-
DISTFILES= # empty
MAINTAINER= webmaster@kibab.com
COMMENT= PHP interface to Thrift
FETCH_DEPENDS+= ${NONEXISTENT}:${PORTSDIR}/devel/thrift:extract
USE_PHP= yes
USE_PHPIZE= yes
USE_PHPEXT= yes
PHP_MODNAME= thrift_protocol
WRKSRC= ${WRKDIR}/php/src/ext/thrift_protocol
post-extract:
${LN} -sfh \
`${MAKE} -C ${PORTSDIR}/devel/thrift -V WRKSRC`/lib/php \
${WRKDIR}
.include "../thrift/bsd.thrift.mk"
.include <bsd.port.mk>