aboutsummaryrefslogtreecommitdiffstats
path: root/www/php-yaf/Makefile
blob: af98362dc685c1c2c4b0437d87d71a1d3df6a9ee (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:    php-yaf
# Date created:     13 May 2011
# Whom:         johnpupu <johnpupu@gmail.com>
#
# $FreeBSD$
#

PORTNAME=   yaf
PORTVERSION=    2.0.1
CATEGORIES= www
MASTER_SITES=   GOOGLE_CODE
PKGNAMEPREFIX=  php-
DISTNAME=   ${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION}

MAINTAINER= johnpupu@gmail.com
COMMENT=    Yaf is a php framework, the difference is yaf is a PHP Extension

LIB_DEPENDS=    pcre.0:${PORTSDIR}/devel/pcre

CFLAGS+=    -I${LOCALBASE}/include
CONFIGURE_ARGS= --with-php-config=${PREFIX}/bin/php-config
PROJECTHOST=    yafphp
USE_PHP=    yes
USE_ZIP=    yes
USE_PHPEXT= yes
USE_PHPIZE= yes
WRKSRC=     ${WRKDIR}/${PKGNAMEPREFIX}${PORTNAME}

.include <bsd.port.mk>