summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorfhajny <fhajny@pkgsrc.org>2018-01-15 21:36:05 +0000
committerfhajny <fhajny@pkgsrc.org>2018-01-15 21:36:05 +0000
commitc0b42d9fd6335b584e7fc7080b37bd08931751a3 (patch)
tree0783fbd92e36fa85f928af32fbc10d6876d45eaa /www
parent4abdb68ac549ab9a845f8cde0d98256cdb18aa4c (diff)
downloadpkgsrc-c0b42d9fd6335b584e7fc7080b37bd08931751a3.tar.gz
Import phalcon-3.3.1 as www/php-phalcon.
Phalcon is an open source full stack framework for PHP, written as a C-extension. Phalcon is optimized for high performance. Its unique architecture allows the framework to always be memory resident, offering its functionality whenever its needed, without expensive file stats and file reads that traditional PHP frameworks employ.
Diffstat (limited to 'www')
-rw-r--r--www/Makefile3
-rw-r--r--www/php-phalcon/DESCR5
-rw-r--r--www/php-phalcon/Makefile40
-rw-r--r--www/php-phalcon/distinfo6
4 files changed, 53 insertions, 1 deletions
diff --git a/www/Makefile b/www/Makefile
index e31f76b62e3..807f7a51af1 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1301 2018/01/11 14:35:39 adam Exp $
+# $NetBSD: Makefile,v 1.1302 2018/01/15 21:36:05 fhajny Exp $
#
COMMENT= Packages related to the World Wide Web
@@ -557,6 +557,7 @@ SUBDIR+= php-http3
SUBDIR+= php-ja-wordpress
SUBDIR+= php-nextcloud
SUBDIR+= php-owncloud
+SUBDIR+= php-phalcon
SUBDIR+= php-phrasea2
SUBDIR+= php-piwigo
SUBDIR+= php-propro
diff --git a/www/php-phalcon/DESCR b/www/php-phalcon/DESCR
new file mode 100644
index 00000000000..0e243421fde
--- /dev/null
+++ b/www/php-phalcon/DESCR
@@ -0,0 +1,5 @@
+Phalcon is an open source full stack framework for PHP, written as a
+C-extension. Phalcon is optimized for high performance. Its unique architecture
+allows the framework to always be memory resident, offering its functionality
+whenever its needed, without expensive file stats and file reads that
+traditional PHP frameworks employ.
diff --git a/www/php-phalcon/Makefile b/www/php-phalcon/Makefile
new file mode 100644
index 00000000000..f7e989df80d
--- /dev/null
+++ b/www/php-phalcon/Makefile
@@ -0,0 +1,40 @@
+# $NetBSD: Makefile,v 1.1 2018/01/15 21:36:05 fhajny Exp $
+#
+
+MODNAME= phalcon
+PECL_VERSION= 3.3.1
+PKGNAME= ${PHP_PKG_PREFIX}-${DISTNAME}
+CATEGORIES= www
+MASTER_SITES= ${MASTER_SITE_GITHUB:=phalcon/}
+EXTRACT_SUFX= .tar.gz
+
+HOMEPAGE= https://phalconphp.com/
+COMMENT= Web framework implemented as a C extension offering high performance
+LICENSE= php
+
+GITHUB_PROJECT= cphalcon
+GITHUB_TAG= v${PKGVERSION_NOREV}
+
+USE_LANGUAGES= c c++
+USE_TOOLS+= gmake pkg-config
+
+PHP_VERSIONS_ACCEPTED= 56 70 71 72
+
+BUILD_DEPENDS+= re2c>=0.15.3:../../devel/re2c
+DEPENDS+= ${PHP_PKG_PREFIX}-curl>=5.6.0:../../www/php-curl
+DEPENDS+= ${PHP_PKG_PREFIX}-gd>=5.6.0:../../graphics/php-gd
+DEPENDS+= ${PHP_PKG_PREFIX}-json>=5.6.0:../../textproc/php-json
+DEPENDS+= ${PHP_PKG_PREFIX}-mbstring>=5.6.0:../../converters/php-mbstring
+DEPENDS+= ${PHP_PKG_PREFIX}-pdo>=5.6.0:../../databases/php-pdo
+DEPENDS+= ${PHP_PKG_PREFIX}-pdo_mysql>=5.6.0:../../databases/php-pdo_mysql
+
+.include "../../lang/php/phpversion.mk"
+
+PHPSETUPSUBDIR= build/php${PKG_PHP_MAJOR_VERS}/${"${MACHINE_ARCH:Mx86_64}":?64:32}bits
+MODULESDIR= ${WRKSRC}/${PHPSETUPSUBDIR}/modules
+CONFIGURE_DIRS+= ${PHPSETUPSUBDIR}
+
+.include "../../databases/php-pdo/buildlink3.mk"
+.include "../../textproc/php-json/buildlink3.mk"
+.include "../../lang/php/ext.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/www/php-phalcon/distinfo b/www/php-phalcon/distinfo
new file mode 100644
index 00000000000..733ba508b20
--- /dev/null
+++ b/www/php-phalcon/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2018/01/15 21:36:05 fhajny Exp $
+
+SHA1 (php-phalcon/phalcon-3.3.1.tar.gz) = b09f7a1d36021e92592d03ff96ddd36afc1f5f9e
+RMD160 (php-phalcon/phalcon-3.3.1.tar.gz) = 6ceded192fbf4c01cad9bb09b6c3974347381f98
+SHA512 (php-phalcon/phalcon-3.3.1.tar.gz) = 65c391b147da5ad758b4ae0bd3e8d546bad028e728a1c48cc62ee948c72ff8ad5265470f8fdca8842b7a0778cf01375d5741a535df4978079660e29a07cc16ba
+Size (php-phalcon/phalcon-3.3.1.tar.gz) = 6645351 bytes