aboutsummaryrefslogtreecommitdiffstats
path: root/devel/php5-thrift/Makefile
blob: 87ccad8ea7bfbf271e54fd26a9f444496c5e0acf (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
# New ports collection makefile for:    thrift
# Date created:    Sat May  8 12:33:05 MSD 2010
# Whom:        Ilya Bakulin <webmaster@kibab.com>
#
# $FreeBSD$
#

PORTNAME=   thrift
PORTVERSION=    0.2.0
CATEGORIES= devel
PKGNAMEPREFIX=  php5-
DISTFILES=

MAINTAINER= webmaster@kibab.com
COMMENT=    PHP interface to Thrift

EXTRACT_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 \
    `cd ${PORTSDIR}/devel/thrift && ${MAKE} -V WRKSRC`/lib/php ${WRKDIR}
.include <bsd.port.mk>