mirror of
https://github.com/beard7n/bsdports.git
synced 2026-04-15 21:11:17 +02:00
create bsd12 branch
This commit is contained in:
62
php72/php-mod-phalcon/Makefile
Normal file
62
php72/php-mod-phalcon/Makefile
Normal file
@@ -0,0 +1,62 @@
|
||||
# Created by: Jin-Sih Lin <linpct@gmail.com>
|
||||
# $FreeBSD: head/www/phalcon/Makefile 471257 2018-06-01 12:57:34Z joneum $
|
||||
|
||||
PORTNAME= phalcon
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 3.4.4
|
||||
CATEGORIES= www
|
||||
PKGNAMEPREFIX= php${PHP_VER}-mod-
|
||||
|
||||
|
||||
MAINTAINER= linpct@gmail.com
|
||||
COMMENT= Phalcon PHP Framework written in C-language
|
||||
|
||||
PHP_VER= 72
|
||||
|
||||
BUILD_DEPENDS+= php:lang/php${PHP_VER}
|
||||
RUN_DEPENDS+= php:lang/php${PHP_VER}
|
||||
|
||||
ONLY_FOR_ARCHS= aarch64 amd64 armv6 armv7 i386
|
||||
|
||||
|
||||
#USES= php:ext
|
||||
#USE_PHP= hash:build json:build pdo:build
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= phalcon
|
||||
GH_PROJECT= c${PORTNAME}
|
||||
|
||||
USES+= gmake
|
||||
GNU_CONFIGURE= yes
|
||||
|
||||
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 ${PHP_VER} >= 70 && ${PBITS} == 32
|
||||
# ${REINPLACE_CMD} -e 's| ZEPHIR_FASTCALL | |' ${WRKSRC}/phalcon.zep.c
|
||||
#.endif
|
||||
|
||||
DESTDIRNAME= INSTALL_ROOT
|
||||
|
||||
pre-configure:
|
||||
cd ${WRKSRC} && ${CONFIGURE_ENV} phpize .
|
||||
|
||||
post-install:
|
||||
${RM} -f ${TMPPLIST}
|
||||
cd ${STAGEDIR}${PREFIX} && ${FIND} lib/php -type f >> ${TMPPLIST}
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/include/php
|
||||
cd ${STAGEDIR}${PREFIX} && ${FIND} include/php -type f >> ${TMPPLIST}
|
||||
cd ${STAGEDIR}${PREFIX} && ${FIND} -ds lib/php -type d | ${SED} -e 's,^,@dirrm ,' >> ${TMPPLIST}
|
||||
cd ${STAGEDIR}${PREFIX} && ${FIND} -ds include/php -type d | ${SED} -e 's,^,@dirrm ,' >> ${TMPPLIST}
|
||||
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
#EOF
|
||||
3
php72/php-mod-phalcon/distinfo
Normal file
3
php72/php-mod-phalcon/distinfo
Normal file
@@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1572855555
|
||||
SHA256 (phalcon-cphalcon-v3.4.4_GH0.tar.gz) = 2fc3239a4c0bb76e748b79e55b73dd44199fb21b8d1444be646ac6b3803a9613
|
||||
SIZE (phalcon-cphalcon-v3.4.4_GH0.tar.gz) = 6707840
|
||||
4
php72/php-mod-phalcon/pkg-descr
Normal file
4
php72/php-mod-phalcon/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: http://phalconphp.com/
|
||||
Reference in New Issue
Block a user