openbsd-ports/www/php-predis/Makefile

36 lines
725 B
Makefile

# $OpenBSD: Makefile,v 1.30 2018/10/17 14:15:56 sthen Exp $
COMMENT = PHP client library for the Redis key-value database
DISTNAME = Predis-1.1.1
PKGNAME = ${DISTNAME:S/^P/php-p/}
REVISION = 1
CATEGORIES = www databases
HOMEPAGE = http://wiki.github.com/nrk/predis
MAINTAINER = David Coppa <dcoppa@openbsd.org>
# MIT
PERMIT_PACKAGE_CDROM = Yes
MASTER_SITES = http://pear.nrk.io/get/
EXTRACT_SUFX = .tgz
MODULES = lang/php
NO_BUILD = Yes
NO_TEST = Yes
PKG_ARCH = *
PREFIX = ${VARBASE}/www
INSTDIR = ${PREFIX}/pear/lib/
SUBST_VARS = INSTDIR
do-install:
${INSTALL_DATA_DIR} ${INSTDIR}Predis
cp -Rp ${WRKSRC}/src/* ${INSTDIR}Predis/
chown -R ${SHAREOWN}:${SHAREGRP} ${INSTDIR}
.include <bsd.port.mk>