aboutsummaryrefslogtreecommitdiffstats
path: root/www/phalcon/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/phalcon/Makefile')
-rw-r--r--www/phalcon/Makefile18
1 files changed, 6 insertions, 12 deletions
diff --git a/www/phalcon/Makefile b/www/phalcon/Makefile
index fa4efcf1ee8e..dbb98e3e2b43 100644
--- a/www/phalcon/Makefile
+++ b/www/phalcon/Makefile
@@ -2,31 +2,25 @@
# $FreeBSD$
PORTNAME= phalcon
-PORTVERSION= 1.1.0
+PORTVERSION= 1.2.1
CATEGORIES= www
+MASTER_SITES= https://github.com/phalcon/cphalcon/archive/v${PORTVERSION}/
+DISTNAME= ${PORTNAME}-v${PORTVERSION}
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= v${PORTVERSION}
-GH_COMMIT= 4d7f4c9
-
FETCH_ARGS= -pRr
-WRKSRC= ${WRKDIR}/${GH_ACCOUNT}-${GH_PROJECT}-${GH_COMMIT}/build/
+WRKSRC= ${WRKDIR}/c${PORTNAME}-${PORTVERSION}/build/
CFLAGS+= -I${LOCALBASE}/include
CONFIGURE_ARGS= --enable-phalcon --prefix=${PREFIX} \
--with-php-config=${LOCALBASE}/bin/php-config
-USE_PHP= yes
+USE_PHP= pdo
USE_PHPEXT= yes
USE_PHPIZE= yes
+USE_PHP_BUILD= yes
.include <bsd.port.pre.mk>