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:
parent
62aecfbcf5
commit
0b59a2bab1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=520250
@ -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
43
www/phalcon4/Makefile
Normal 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
3
www/phalcon4/distinfo
Normal 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
4
www/phalcon4/pkg-descr
Normal 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/
|
Loading…
Reference in New Issue
Block a user