openbsd-ports/www/php-predis/Makefile
2012-06-28 11:33:13 +00:00

38 lines
782 B
Makefile

# $OpenBSD: Makefile,v 1.11 2012/06/28 11:33:13 dcoppa Exp $
COMMENT = PHP client library for the Redis key-value database
DISTNAME = Predis-0.7.3
PKGNAME = ${DISTNAME:S/^P/php-p/}
CATEGORIES = www databases
HOMEPAGE = http://wiki.github.com/nrk/predis
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://pear.nrk.io/get/
EXTRACT_SUFX = .tgz
MODULES = lang/php
NO_BUILD = Yes
NO_REGRESS = Yes
PKG_ARCH = *
PREFIX = /var/www
INSTDIR = ${PREFIX}/pear/lib/
SUBST_VARS = INSTDIR
do-install:
${INSTALL_DATA_DIR} ${INSTDIR}
cp -Rp ${WRKSRC}/lib/Predis ${INSTDIR}
chown -R ${SHAREOWN}:${SHAREGRP} ${INSTDIR}
.include <bsd.port.mk>