pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
php-psr: Add package
Module Name: pkgsrc-wip
Committed By: Juraj Lutter <otis%NetBSD.org@localhost>
Pushed By: otis
Date: Fri Oct 9 21:00:33 2020 +0000
Changeset: 2021cae1bb285cbb11f3af5893d759d41864045d
Modified Files:
Makefile
Added Files:
php-psr/DESCR
php-psr/Makefile
php-psr/PLIST
php-psr/buildlink3.mk
php-psr/distinfo
Log Message:
php-psr: Add package
This extension provides the accepted PSR interfaces, so they can be used
in an extension.
WWW: https://github.com/jbboehr/php-psr
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=2021cae1bb285cbb11f3af5893d759d41864045d
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 +
php-psr/DESCR | 2 ++
php-psr/Makefile | 25 +++++++++++++++++++++++++
php-psr/PLIST | 4 ++++
php-psr/buildlink3.mk | 14 ++++++++++++++
php-psr/distinfo | 6 ++++++
6 files changed, 52 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index 67f31671ee..e8a16cc647 100644
--- a/Makefile
+++ b/Makefile
@@ -2907,6 +2907,7 @@ SUBDIR+= php-libawl-git
SUBDIR+= php-malware-finder
SUBDIR+= php-msgpack
SUBDIR+= php-phalcon4
+SUBDIR+= php-psr
SUBDIR+= php-redis5
SUBDIR+= php-snuffleupagus
SUBDIR+= php-tclink
diff --git a/php-psr/DESCR b/php-psr/DESCR
new file mode 100644
index 0000000000..3b59bfe77e
--- /dev/null
+++ b/php-psr/DESCR
@@ -0,0 +1,2 @@
+This extension provides the accepted PSR interfaces, so they can be used in an
+extension.
diff --git a/php-psr/Makefile b/php-psr/Makefile
new file mode 100644
index 0000000000..852df34c50
--- /dev/null
+++ b/php-psr/Makefile
@@ -0,0 +1,25 @@
+# $NetBSD$
+
+MODNAME= psr
+PECL_VERSION= 1.0.0
+CATEGORIES= www
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://pecl.php.net/package/psr
+COMMENT= This extension provides the accepted PSR interfaces, so they can be used in an extension
+LICENSE= 2-clause-bsd
+
+PHP_VERSIONS_ACCEPTED= 72 73 74
+
+USE_LANGUAGES= c c++
+USE_LIBTOOL= yes
+
+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 --git a/php-psr/PLIST b/php-psr/PLIST
new file mode 100644
index 0000000000..e25e50fc19
--- /dev/null
+++ b/php-psr/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD$
+include/php/ext/psr/php_psr.h
+lib/php/20191128/psr.so
+share/examples/php/psr.ini
diff --git a/php-psr/buildlink3.mk b/php-psr/buildlink3.mk
new file mode 100644
index 0000000000..b5ff1c544a
--- /dev/null
+++ b/php-psr/buildlink3.mk
@@ -0,0 +1,14 @@
+# $NetBSD$
+
+.include "../../lang/php/phpversion.mk"
+
+BUILDLINK_TREE+= ${PHP_PKG_PREFIX}-psr
+
+.if !defined(${PHP_PKG_PREFIX}_PSR_BUILDLINK3_MK)
+${PHP_PKG_PREFIX}_PSR_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.${PHP_PKG_PREFIX}-psr+= ${PHP_PKG_PREFIX}-psr>=1.0.0
+BUILDLINK_PKGSRCDIR.${PHP_PKG_PREFIX}-psr?= ../../www/php-psr
+.endif # ${PHP_PKG_PREFIX}_PSR_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -${PHP_PKG_PREFIX}-psr
diff --git a/php-psr/distinfo b/php-psr/distinfo
new file mode 100644
index 0000000000..bf28e87d49
--- /dev/null
+++ b/php-psr/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2016/03/12 09:12:52 fhajny Exp $
+
+SHA1 (php-psr/psr-1.0.0.tgz) = b2a936d77561b71d9166c0aafcdb4ce949ae1c93
+RMD160 (php-psr/psr-1.0.0.tgz) = 610d47a5f78dc046a5586416ac8812fd98da92cf
+SHA512 (php-psr/psr-1.0.0.tgz) = 762278e922c03102dddb39b7997c70803c2105bffa231db20da8c246e10788803765068bbd859f2b7cad1e4fb64e91d191be55917dc14af49c8cd1211d007649
+Size (php-psr/psr-1.0.0.tgz) = 27096 bytes
Home |
Main Index |
Thread Index |
Old Index