New port: www/phalcon4

PhalconPHP is a web framework delivered as a C extension providing high
performance and lower resource consumption.

WWW: https://phalcon.io/

PR:		241569
Submitted by:	Franco Fichtner <franco@opnsense.org>
Reviewed by:	sadhooklay@gmail.com, ruud@t-boonproductions.nl
This commit is contained in:
Kurt Jaeger 2019-12-16 11:42:51 +00:00
parent 62aecfbcf5
commit 0b59a2bab1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=520250
4 changed files with 51 additions and 0 deletions

View File

@ -1365,6 +1365,7 @@
SUBDIR += perlbal
SUBDIR += pglogd
SUBDIR += phalcon
SUBDIR += phalcon4
SUBDIR += photo_gallery
SUBDIR += php71-opcache
SUBDIR += php71-session

43
www/phalcon4/Makefile Normal file
View File

@ -0,0 +1,43 @@
# $FreeBSD$
PORTNAME= phalcon
DISTVERSIONPREFIX=v
DISTVERSION= 4.0.0-rc.3
CATEGORIES= www
PKGNAMEPREFIX= ${PHP_PKGNAMEPREFIX}
PKGNAMESUFFIX= 4
MAINTAINER= franco@opnsense.org
COMMENT= Phalcon PHP Framework written in C-language
LICENSE= BSD3CLAUSE
ONLY_FOR_ARCHS= aarch64 amd64 armv6 armv7 i386
CONFLICTS_INSTALL= ${PKGNAMEPREFIX}phalcon
RUN_DEPENDS= ${PHPBASE}/lib/php/${PHP_EXT_DIR}/psr.so:devel/pecl-psr@${PHP_FLAVOR}
USES= php:ext
USE_PHP= hash:build json:build pdo:build session
PHP_MOD_PRIO= 30
IGNORE_WITH_PHP=71 74
USE_GITHUB= yes
GH_ACCOUNT= phalcon
GH_PROJECT= c${PORTNAME}
CFLAGS+= -I${LOCALBASE}/include
CONFIGURE_ARGS= --enable-phalcon
.include <bsd.port.pre.mk>
PBITS= ${ARCH:S/aarch64/64/:S/amd64/64/:C/armv.*/32/:S/i386/32/:S/x86_64/64/}
WRKSRC_SUBDIR= build/php${PHP_VER:C/.$//}/${PBITS}bits
post-patch:
.if ${PBITS} == 32
@${REINPLACE_CMD} -e 's|ZEPHIR_FASTCALL| |' ${WRKSRC}/phalcon.zep.c
.endif
.include <bsd.port.post.mk>

3
www/phalcon4/distinfo Normal file
View File

@ -0,0 +1,3 @@
TIMESTAMP = 1576488328
SHA256 (phalcon-cphalcon-v4.0.0-rc.3_GH0.tar.gz) = d7bd18aa687530f8df89270e13892fac94d2414524f0104f84b9565bdc58d8f6
SIZE (phalcon-cphalcon-v4.0.0-rc.3_GH0.tar.gz) = 6819761

4
www/phalcon4/pkg-descr Normal file
View File

@ -0,0 +1,4 @@
PhalconPHP is a web framework delivered as a C extension providing high
performance and lower resource consumption.
WWW: https://phalcon.io/