# Created by: Jin-Sih Lin # $FreeBSD$ PORTNAME= phalcon PORTVERSION= 1.0.0 CATEGORIES= www MAINTAINER= linpct@gmail.com COMMENT= Phalcon PHP Framework written in C-language BUILD_DEPENDS= ${LOCALBASE}/include/php/ext/pdo/php_pdo_driver.h:${PORTSDIR}/databases/php5-pdo RUN_DEPENDS= ${LOCALBASE}/include/php/ext/pdo/php_pdo_driver.h:${PORTSDIR}/databases/php5-pdo USE_GITHUB= yes GH_ACCOUNT= ${PORTNAME} GH_PROJECT= c${PORTNAME} GH_TAGNAME= 1.0.0 GH_COMMIT= 0d052fc FETCH_ARGS= -pRr WRKSRC= ${WRKDIR}/${GH_ACCOUNT}-${GH_PROJECT}-${GH_COMMIT}/build/ CFLAGS+= -I${LOCALBASE}/include CONFIGURE_ARGS= --enable-phalcon --prefix=${PREFIX} \ --with-php-config=${LOCALBASE}/bin/php-config USE_PHP= yes USE_PHPEXT= yes USE_PHPIZE= yes .include .if ${ARCH} == "amd64" WRKSRC:= ${WRKSRC}/64bits .elif ${ARCH} == "i386" WRKSRC:= ${WRKSRC}/32bits .else BROKEN= Only support on amd64 or i386 .endif .include