aboutsummaryrefslogtreecommitdiffstats
path: root/www/phalcon/Makefile
blob: c4fa93246deb03f5c1c20aa5c128275a81265454 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Created by: Jin-Sih Lin <linpct@gmail.com>
# $FreeBSD$

PORTNAME=   phalcon
PORTVERSION=    2.0.11
DISTVERSIONPREFIX=  ${PORTNAME}-v
CATEGORIES= www

MAINTAINER= linpct@gmail.com
COMMENT=    Phalcon PHP Framework written in C-language

LICENSE=    BSD3CLAUSE

USE_PHP=    hash pdo
USE_PHPEXT= yes
USE_PHPIZE= yes
USE_PHP_BUILD=  yes
IGNORE_WITH_PHP=    70

ONLY_FOR_ARCHS= amd64 i386

USE_GITHUB= yes
GH_ACCOUNT= phalcon
GH_PROJECT= c${PORTNAME}

PBITS=      ${ARCH:S/amd64/64/:S/i386/32/:S/x86_64/64/}
WRKSRC_SUBDIR=      build/${PBITS}bits

CFLAGS+=    -I${LOCALBASE}/include
CONFIGURE_ARGS= --enable-phalcon

.include <bsd.port.mk>