# $OpenBSD: Makefile,v 1.4 2011/03/15 16:08:20 dcoppa Exp $ COMMENT = PHP client library for the Redis key-value database VER = 0.6.5 DISTNAME = nrk-predis-v${VER}-PHP5.2-0-g0546f74 PKGNAME = php-predis-${VER} CATEGORIES = www databases HOMEPAGE = http://github.com/nrk/predis/wiki MAINTAINER = David Coppa # 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-80e36a0 PHP_VERSION = 5 do-install: ${INSTALL_DATA_DIR} ${INSTDIR} ${INSTALL_DATA} ${WRKSRC}/lib/*.php ${INSTDIR} @chown -R ${SHAREOWN}:${SHAREGRP} ${INSTDIR} .include