aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2014-02-22 22:15:59 +0800
committersunpoet <sunpoet@FreeBSD.org>2014-02-22 22:15:59 +0800
commit0b71c1edcd8e5e5ad893a93defe1017e10f7c9eb (patch)
treec38890c1754772158e83fdab7895c7ef9465b72b /www
parent28d9923b73dbf12d2f21d892b24e01e3a89845a3 (diff)
downloadfreebsd-ports-graphics-0b71c1edcd8e5e5ad893a93defe1017e10f7c9eb.tar.gz
freebsd-ports-graphics-0b71c1edcd8e5e5ad893a93defe1017e10f7c9eb.tar.zst
freebsd-ports-graphics-0b71c1edcd8e5e5ad893a93defe1017e10f7c9eb.zip
- Update to 1.2.6
- While I'm here: - Update LICENSE - Simplify WRKSRC - Use ONLY_FOR_ARCHS Changes: https://github.com/phalcon/cphalcon/releases PR: ports/186940 Submitted by: Gasol Wu <gasol.wu@gmail.com> Approved by: Daniel Lin <linpct@gmail.com> (maintainer)
Diffstat (limited to 'www')
-rw-r--r--www/phalcon/Makefile19
-rw-r--r--www/phalcon/distinfo4
2 files changed, 7 insertions, 16 deletions
diff --git a/www/phalcon/Makefile b/www/phalcon/Makefile
index 60aa8e0d18a..17cf70ef7bf 100644
--- a/www/phalcon/Makefile
+++ b/www/phalcon/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= phalcon
-PORTVERSION= 1.2.4
+PORTVERSION= 1.2.6
CATEGORIES= www
MASTER_SITES= https://github.com/phalcon/cphalcon/archive/v${PORTVERSION}/
DISTNAME= ${PORTNAME}-v${PORTVERSION}
@@ -10,27 +10,18 @@ DISTNAME= ${PORTNAME}-v${PORTVERSION}
MAINTAINER= linpct@gmail.com
COMMENT= Phalcon PHP Framework written in C-language
-LICENSE= BSD
+LICENSE= BSD3CLAUSE
-WRKSRC= ${WRKDIR}/c${PORTNAME}-${PORTVERSION}/build/
+WRKSRC= ${WRKDIR}/c${PORTNAME}-${PORTVERSION}/build/${ARCH:S/amd64/64/:S/i386/32/}bits
CFLAGS+= -I${LOCALBASE}/include
CONFIGURE_ARGS= --enable-phalcon --prefix=${PREFIX} \
--with-php-config=${LOCALBASE}/bin/php-config
+ONLY_FOR_ARCHS= amd64 i386
USE_PHP= pdo
USE_PHPEXT= yes
USE_PHPIZE= yes
USE_PHP_BUILD= yes
-.include <bsd.port.pre.mk>
-
-.if ${ARCH} == "amd64"
-WRKSRC:= ${WRKSRC}/64bits
-.elif ${ARCH} == "i386"
-WRKSRC:= ${WRKSRC}/32bits
-.else
-BROKEN= Only support on amd64 or i386
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/www/phalcon/distinfo b/www/phalcon/distinfo
index 42b8d96e729..f1212a928c8 100644
--- a/www/phalcon/distinfo
+++ b/www/phalcon/distinfo
@@ -1,2 +1,2 @@
-SHA256 (phalcon-v1.2.4.tar.gz) = ad4132b5e74206015be473a25b169fe8c774b82c87ffc4e7dc388a97692f616f
-SIZE (phalcon-v1.2.4.tar.gz) = 2608470
+SHA256 (phalcon-v1.2.6.tar.gz) = 63006071e641f956b6ee524b38d3a6b9b0801176e6753aa0ecda225dd98e3513
+SIZE (phalcon-v1.2.6.tar.gz) = 2584664