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/
This commit is contained in:
parent
6138590815
commit
c8e565adb2
6 changed files with 49 additions and 1 deletions
|
@ -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
|
COMMENT= Development utilities
|
||||||
|
@ -2089,6 +2089,7 @@ SUBDIR+= php-mode
|
||||||
SUBDIR+= php-opcache
|
SUBDIR+= php-opcache
|
||||||
SUBDIR+= php-pcntl
|
SUBDIR+= php-pcntl
|
||||||
SUBDIR+= php-posix
|
SUBDIR+= php-posix
|
||||||
|
SUBDIR+= php-psr
|
||||||
SUBDIR+= php-pthreads
|
SUBDIR+= php-pthreads
|
||||||
SUBDIR+= php-raphf
|
SUBDIR+= php-raphf
|
||||||
SUBDIR+= php-raphf2
|
SUBDIR+= php-raphf2
|
||||||
|
|
2
devel/php-psr/DESCR
Normal file
2
devel/php-psr/DESCR
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
This extension provides the accepted PSR interfaces, so they can be used in an
|
||||||
|
extension.
|
24
devel/php-psr/Makefile
Normal file
24
devel/php-psr/Makefile
Normal file
|
@ -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
|
||||||
|
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"
|
3
devel/php-psr/PLIST
Normal file
3
devel/php-psr/PLIST
Normal file
|
@ -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
|
12
devel/php-psr/buildlink3.mk
Normal file
12
devel/php-psr/buildlink3.mk
Normal file
|
@ -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
|
6
devel/php-psr/distinfo
Normal file
6
devel/php-psr/distinfo
Normal file
|
@ -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
|
Loading…
Reference in a new issue