Lines 1-8
Link Here
|
1 |
# Created by: Jin-Sih Lin <linpct@gmail.com> |
|
|
2 |
|
3 |
PORTNAME= phalcon |
1 |
PORTNAME= phalcon |
4 |
DISTVERSIONPREFIX= v |
2 |
DISTVERSIONPREFIX= v |
5 |
DISTVERSION= 3.4.5 |
3 |
DISTVERSION= 5.0.0beta2 |
6 |
CATEGORIES= www |
4 |
CATEGORIES= www |
7 |
PKGNAMEPREFIX= ${PHP_PKGNAMEPREFIX} |
5 |
PKGNAMEPREFIX= ${PHP_PKGNAMEPREFIX} |
8 |
|
6 |
|
Lines 11-38
COMMENT= Phalcon PHP Framework written in C-language
Link Here
|
11 |
|
9 |
|
12 |
LICENSE= BSD3CLAUSE |
10 |
LICENSE= BSD3CLAUSE |
13 |
|
11 |
|
14 |
ONLY_FOR_ARCHS= aarch64 amd64 armv6 armv7 i386 powerpc powerpc64 powerpc64le |
12 |
RUN_DEPENDS= ${PHPBASE}/lib/php/${PHP_EXT_DIR}/psr.so:devel/pecl-psr@${PHP_FLAVOR} |
15 |
|
13 |
|
|
|
14 |
IGNORE_WITH_PHP=73 81 |
16 |
USES= localbase php:ext |
15 |
USES= localbase php:ext |
17 |
USE_PHP= hash:build json:build pdo:build |
16 |
USE_PHP= json:build pdo:build session:build |
18 |
IGNORE_WITH_PHP=74 80 81 |
|
|
19 |
USE_GITHUB= yes |
20 |
GH_PROJECT= c${PORTNAME} |
21 |
|
17 |
|
22 |
CONFLICTS_INSTALL= ${PKGNAMEPREFIX}phalcon4 |
18 |
CONFLICTS_INSTALL= ${PKGNAMEPREFIX}phalcon4 |
23 |
|
19 |
|
24 |
PORTSCOUT= limit:^3\. |
20 |
USE_GITHUB= yes |
|
|
21 |
GH_PROJECT= c${PORTNAME} |
25 |
|
22 |
|
26 |
CONFIGURE_ARGS= --enable-phalcon |
23 |
CONFIGURE_ARGS= --enable-phalcon |
|
|
24 |
WRKSRC_SUBDIR= build/phalcon |
27 |
|
25 |
|
28 |
.include <bsd.port.pre.mk> |
26 |
.include <bsd.port.mk> |
29 |
|
|
|
30 |
PBITS= ${ARCH:S/aarch64/64/:S/amd64/64/:C/armv.*/32/:S/i386/32/:S/x86_64/64/:C/powerpc64.*/64/:S/powerpc/32/} |
31 |
WRKSRC_SUBDIR= build/php${PHP_VER:C/.$//}/${PBITS}bits |
32 |
|
33 |
post-patch: |
34 |
.if ${PBITS} == 32 |
35 |
@${REINPLACE_CMD} -e 's|ZEPHIR_FASTCALL| |' ${WRKSRC}/phalcon.zep.c |
36 |
.endif |
37 |
|
38 |
.include <bsd.port.post.mk> |