summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorotis <otis@pkgsrc.org>2020-11-21 13:57:21 +0000
committerotis <otis@pkgsrc.org>2020-11-21 13:57:21 +0000
commit9e563d024f3ae559a35001381f03ce118154a0d8 (patch)
tree857864372dbaf1912aa0c7b153ca5de5e94f2c14
parent4ea6f28889157dea107515cc70ca5e209ef783fc (diff)
downloadpkgsrc-9e563d024f3ae559a35001381f03ce118154a0d8.tar.gz
php-phalcon4: Add php-phalcon4 4.1.0
Phalcon is a full stack PHP framework offering low resource consumption and high performance. See https://pecl.php.net/package/phalcon
-rw-r--r--www/Makefile3
-rw-r--r--www/php-phalcon/Makefile20
-rw-r--r--www/php-phalcon/buildlink3.mk12
-rw-r--r--www/php-phalcon/distinfo10
4 files changed, 31 insertions, 14 deletions
diff --git a/www/Makefile b/www/Makefile
index 462f501c500..abf2d4bc5c1 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1494 2020/11/18 14:01:05 nikita Exp $
+# $NetBSD: Makefile,v 1.1495 2020/11/21 13:57:21 otis Exp $
#
COMMENT= Packages related to the World Wide Web
@@ -605,6 +605,7 @@ SUBDIR+= php-ja-wordpress
SUBDIR+= php-nextcloud
SUBDIR+= php-owncloud
SUBDIR+= php-phalcon
+SUBDIR+= php-phalcon4
SUBDIR+= php-phrasea2
SUBDIR+= php-piwigo
SUBDIR+= php-propro
diff --git a/www/php-phalcon/Makefile b/www/php-phalcon/Makefile
index c8c2928c9f9..52ea40222ec 100644
--- a/www/php-phalcon/Makefile
+++ b/www/php-phalcon/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.5 2020/07/10 10:11:02 plunky Exp $
+# $NetBSD: Makefile,v 1.6 2020/11/21 13:57:21 otis Exp $
#
MODNAME= phalcon
-PECL_VERSION= 3.4.5
+PECL_VERSION= 4.1.0
PKGNAME= ${PHP_PKG_PREFIX}-${DISTNAME}
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_GITHUB:=phalcon/}
@@ -12,6 +12,10 @@ HOMEPAGE= https://phalconphp.com/
COMMENT= Web framework implemented as a C extension offering high performance
LICENSE= php
+CONFLICTS= php-phalcon-[0-9]*
+
+PHP_VERSIONS_ACCEPTED= 72 73 74
+
GITHUB_PROJECT= cphalcon
GITHUB_TAG= v${PKGVERSION_NOREV}
@@ -19,12 +23,12 @@ USE_LANGUAGES= c c++
USE_TOOLS+= gmake pkg-config
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
+DEPENDS+= ${PHP_PKG_PREFIX}-curl>=7.2.0:../../www/php-curl
+DEPENDS+= ${PHP_PKG_PREFIX}-gettext>=7.2.0:../../devel/php-gettext
+DEPENDS+= ${PHP_PKG_PREFIX}-json>=7.2.0:../../textproc/php-json
+DEPENDS+= ${PHP_PKG_PREFIX}-mbstring>=7.2.0:../../converters/php-mbstring
+DEPENDS+= ${PHP_PKG_PREFIX}-pdo>=7.2.0:../../databases/php-pdo
+DEPENDS+= ${PHP_PKG_PREFIX}-psr>=1.0.0:../../devel/php-psr
.include "../../lang/php/phpversion.mk"
diff --git a/www/php-phalcon/buildlink3.mk b/www/php-phalcon/buildlink3.mk
new file mode 100644
index 00000000000..56386ed3db3
--- /dev/null
+++ b/www/php-phalcon/buildlink3.mk
@@ -0,0 +1,12 @@
+# $NetBSD: buildlink3.mk,v 1.1 2020/11/21 13:57:21 otis Exp $
+
+BUILDLINK_TREE+= php-phalcon4
+
+.if !defined(PHP_PHALCON4_BUILDLINK3_MK)
+PHP_PHALCON4_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.php-phalcon4+= php-phalcon4>=1.0.0
+BUILDLINK_PKGSRCDIR.php-phalcon4?= ../../www/php-phalcon4
+.endif # PHP_PHALCON4_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -php-phalcon4
diff --git a/www/php-phalcon/distinfo b/www/php-phalcon/distinfo
index 48172b21d4c..1bc171cc5c1 100644
--- a/www/php-phalcon/distinfo
+++ b/www/php-phalcon/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.4 2020/07/10 10:11:02 plunky Exp $
+$NetBSD: distinfo,v 1.5 2020/11/21 13:57:21 otis Exp $
-SHA1 (php-phalcon/phalcon-3.4.5.tar.gz) = 6ab8623a12b7a4c3b012ed8842c889a826f21a77
-RMD160 (php-phalcon/phalcon-3.4.5.tar.gz) = 8dc7fb1c7eea9218d280804ddb79e09e1b4f3023
-SHA512 (php-phalcon/phalcon-3.4.5.tar.gz) = b91cd00e2d82ccf87d56cd35f9281c24feaa8dafb02e3c591f31c56ceb3d7d057358a9b4f9f8160119151f4594a62588660dc3cdecf6ba5c7e9b3db878190890
-Size (php-phalcon/phalcon-3.4.5.tar.gz) = 6707873 bytes
+SHA1 (php-phalcon/phalcon-4.1.0.tar.gz) = d10cb5958e8f050dfdd7a5b83e6146abd2f2d8ba
+RMD160 (php-phalcon/phalcon-4.1.0.tar.gz) = 023f767bcc8099a108ee3c3cc0760ddb8fce27f0
+SHA512 (php-phalcon/phalcon-4.1.0.tar.gz) = 2e4f8b1502a0c2f850a0e24f4981859cecc7dd262a517510be02c04b6d6b8ef082e574063706db75837762bda8fdc3f5aee9a6a06ad742c8f72f9eb30dc7f1c2
+Size (php-phalcon/phalcon-4.1.0.tar.gz) = 7083394 bytes