openbsd-ports/www/php-predis/Makefile
2011-11-25 19:33:40 +00:00

41 lines
964 B
Makefile

# $OpenBSD: Makefile,v 1.8 2011/11/25 19:33:40 dcoppa Exp $
COMMENT = PHP client library for the Redis key-value database
DISTNAME = predis-0.6.6
PKGNAME = php-${DISTNAME}
REVISION = 2
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
PHP_VERSION = 5
do-install:
${INSTALL_DATA_DIR} ${INSTDIR}
${INSTALL_DATA} ${WRKSRC}/lib/*.php ${INSTDIR}
@chown -R ${SHAREOWN}:${SHAREGRP} ${INSTDIR}
.include <bsd.port.mk>