Import Predis, a PHP client library for the Redis key-value database.

OK benoit@
This commit is contained in:
dcoppa 2010-10-18 07:16:00 +00:00
parent 086ac6a802
commit 6f67105186
4 changed files with 55 additions and 0 deletions

42
www/php-predis/Makefile Normal file
View File

@ -0,0 +1,42 @@
# $OpenBSD: Makefile,v 1.1.1.1 2010/10/18 07:16:00 dcoppa Exp $
COMMENT = PHP client library for the Redis key-value database
VER = 0.6.1
DISTNAME = nrk-predis-v${VER}-PHP5.2-0-g49e151a
PKGNAME = php-predis-${VER}
CATEGORIES = www databases
HOMEPAGE = http://github.com/nrk/predis/wiki
MAINTAINER = David Coppa <dcoppa@openbsd.org>
# MIT
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
MASTER_SITES = http://www.arcane-labs.com/download/OpenBSD/
NO_BUILD = Yes
NO_REGRESS = Yes
PKG_ARCH = *
# Although this library is not PEAR, installing it into
# ${PREFIX}/pear/lib will make sure it's picked up by PHP
# without the need to adjust the include path in php.ini
PREFIX = /var/www
INSTDIR = ${PREFIX}/pear/lib/
SUBST_VARS = INSTDIR
WRKDIST = ${WRKDIR}/nrk-predis-4621562
PHP_VERSION = 5
do-install:
${INSTALL_DATA_DIR} ${INSTDIR}
${INSTALL_DATA} ${WRKSRC}/lib/*.php ${INSTDIR}
@chown -R ${SHAREOWN}:${SHAREGRP} ${INSTDIR}
.include <bsd.port.mk>

5
www/php-predis/distinfo Normal file
View File

@ -0,0 +1,5 @@
MD5 (nrk-predis-v0.6.1-PHP5.2-0-g49e151a.tar.gz) = UgSAn6iUPIpmcTTNK4vTow==
RMD160 (nrk-predis-v0.6.1-PHP5.2-0-g49e151a.tar.gz) = akSog0gosmpoJUhaghpGf+ahVFI=
SHA1 (nrk-predis-v0.6.1-PHP5.2-0-g49e151a.tar.gz) = UqZYAIfKZ9YiFbqQ/evK0/qt4/o=
SHA256 (nrk-predis-v0.6.1-PHP5.2-0-g49e151a.tar.gz) = 9irDUKxYB4wMSh+HKeE8Mr3qihYfXSRLpym9gP+sCvU=
SIZE (nrk-predis-v0.6.1-PHP5.2-0-g49e151a.tar.gz) = 37749

2
www/php-predis/pkg/DESCR Normal file
View File

@ -0,0 +1,2 @@
Predis is a flexible and feature-complete PHP client library for the
Redis key-value database.

6
www/php-predis/pkg/PLIST Normal file
View File

@ -0,0 +1,6 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2010/10/18 07:16:00 dcoppa Exp $
@group daemon
pear/
pear/lib/
pear/lib/Predis.php
pear/lib/Predis_Compatibility.php