2012-11-08 15:06:52 +00:00
|
|
|
# Created by: Jin-Sih Lin <linpct@gmail.com>
|
2012-05-06 09:37:47 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= phalcon
|
2012-11-08 15:06:52 +00:00
|
|
|
PORTVERSION= 0.6.0
|
2012-05-06 09:37:47 +00:00
|
|
|
CATEGORIES= www
|
2012-05-16 21:10:05 +00:00
|
|
|
MASTER_SITES= https://github.com/${PORTNAME}/c${PORTNAME}/tarball/${GITVERSION}/
|
2012-05-11 21:31:25 +00:00
|
|
|
DISTNAME= ${PORTNAME}-c${PORTNAME}-${GITVERSION}
|
2012-05-06 09:37:47 +00:00
|
|
|
|
|
|
|
MAINTAINER= linpct@gmail.com
|
|
|
|
COMMENT= Phalcon PHP Framework written in C-language
|
|
|
|
|
2012-10-10 02:20:58 +00:00
|
|
|
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
|
|
|
|
|
2012-11-08 15:06:52 +00:00
|
|
|
GITVERSION= 906d0f9
|
2012-05-06 09:37:47 +00:00
|
|
|
FETCH_ARGS= -pRr
|
2012-10-10 02:20:58 +00:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-c${PORTNAME}-${GITVERSION}/build/
|
2012-05-06 09:37:47 +00:00
|
|
|
|
|
|
|
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 <bsd.port.mk>
|