pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel php-psr: Add php-psr 1.0.1
details: https://anonhg.NetBSD.org/pkgsrc/rev/19df5e2b42e7
branches: trunk
changeset: 442260:19df5e2b42e7
user: otis <otis%pkgsrc.org@localhost>
date: Sat Nov 21 13:49:50 2020 +0000
description:
php-psr: Add php-psr 1.0.1
This extension provides the accepted PSR interfaces, so they can be used in an
extension.
See http://www.php-fig.org/psr/
diffstat:
devel/Makefile | 3 ++-
devel/php-psr/DESCR | 2 ++
devel/php-psr/Makefile | 24 ++++++++++++++++++++++++
devel/php-psr/PLIST | 3 +++
devel/php-psr/buildlink3.mk | 12 ++++++++++++
devel/php-psr/distinfo | 6 ++++++
6 files changed, 49 insertions(+), 1 deletions(-)
diffs (84 lines):
diff -r bd33fedefd08 -r 19df5e2b42e7 devel/Makefile
--- a/devel/Makefile Sat Nov 21 13:02:05 2020 +0000
+++ b/devel/Makefile Sat Nov 21 13:49:50 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3277 2020/11/10 17:45:05 nia Exp $
+# $NetBSD: Makefile,v 1.3278 2020/11/21 13:49:50 otis Exp $
#
COMMENT= Development utilities
@@ -2089,6 +2089,7 @@
SUBDIR+= php-opcache
SUBDIR+= php-pcntl
SUBDIR+= php-posix
+SUBDIR+= php-psr
SUBDIR+= php-pthreads
SUBDIR+= php-raphf
SUBDIR+= php-raphf2
diff -r bd33fedefd08 -r 19df5e2b42e7 devel/php-psr/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/php-psr/DESCR Sat Nov 21 13:49:50 2020 +0000
@@ -0,0 +1,2 @@
+This extension provides the accepted PSR interfaces, so they can be used in an
+extension.
diff -r bd33fedefd08 -r 19df5e2b42e7 devel/php-psr/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/php-psr/Makefile Sat Nov 21 13:49:50 2020 +0000
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1 2020/11/21 13:49:50 otis Exp $
+
+MODNAME= psr
+PECL_VERSION= 1.0.1
+CATEGORIES= devel
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://pecl.php.net/package/psr
+COMMENT= Provide the accepted PSR interfaces for other extensions
+LICENSE= 2-clause-bsd
+
+PHP_VERSIONS_ACCEPTED= 72 73 74
+
+USE_LANGUAGES= c c++
+
+INSTALLATION_DIRS+= include/php/ext/psr
+PLIST_SRC+= PLIST
+
+post-install:
+ ${INSTALL_DATA} ${WRKSRC}/php_psr.h \
+ ${DESTDIR}${PREFIX}/include/php/ext/psr
+
+.include "../../lang/php/ext.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r bd33fedefd08 -r 19df5e2b42e7 devel/php-psr/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/php-psr/PLIST Sat Nov 21 13:49:50 2020 +0000
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2020/11/21 13:49:50 otis Exp $
+include/php/ext/psr/php_psr.h
+share/examples/php/psr.ini
diff -r bd33fedefd08 -r 19df5e2b42e7 devel/php-psr/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/php-psr/buildlink3.mk Sat Nov 21 13:49:50 2020 +0000
@@ -0,0 +1,12 @@
+# $NetBSD: buildlink3.mk,v 1.1 2020/11/21 13:49:50 otis Exp $
+
+BUILDLINK_TREE+= php-psr
+
+.if !defined(PHP_PSR_BUILDLINK3_MK)
+PHP_PSR_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.php-psr+= ${PHP_PKG_PREFIX}-psr>=1.0.0
+BUILDLINK_PKGSRCDIR.php-psr?= ../../devel/php-psr
+.endif # PHP_PSR_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -php-psr
diff -r bd33fedefd08 -r 19df5e2b42e7 devel/php-psr/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/php-psr/distinfo Sat Nov 21 13:49:50 2020 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/11/21 13:49:50 otis Exp $
+
+SHA1 (php-psr/psr-1.0.1.tgz) = ea518ae092cc08fed40ae7cd5c07cc15b1c66626
+RMD160 (php-psr/psr-1.0.1.tgz) = 6221af2051d5117c8891120c2faf7ac96a85c017
+SHA512 (php-psr/psr-1.0.1.tgz) = 27ea717f4a8b9d69998ad28dccf7adfcbda0092b88b3087cf282a450e9324c67aa36678956e8b9bfa56360c03a5341a47f849a030e6f698015d4fc5d1fb59519
+Size (php-psr/psr-1.0.1.tgz) = 27742 bytes
Home |
Main Index |
Thread Index |
Old Index