34 lines
671 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.33 2019/09/26 21:59:31 sthen Exp $
COMMENT = PHP client library for the Redis key-value database
2016-06-20 09:44:06 +00:00
DISTNAME = Predis-1.1.1
2012-01-25 13:18:54 +00:00
PKGNAME = ${DISTNAME:S/^P/php-p/}
REVISION = 3
CATEGORIES = www databases
2012-01-25 13:18:54 +00:00
HOMEPAGE = http://wiki.github.com/nrk/predis
# MIT
PERMIT_PACKAGE = Yes
2012-01-25 13:18:54 +00:00
MASTER_SITES = http://pear.nrk.io/get/
EXTRACT_SUFX = .tgz
MODULES = lang/php
NO_BUILD = Yes
2013-03-11 11:35:43 +00:00
NO_TEST = Yes
PKG_ARCH = *
PREFIX = ${VARBASE}/www
INSTDIR = ${PREFIX}/pear/lib/
SUBST_VARS = INSTDIR
do-install:
2014-09-02 09:24:09 +00:00
${INSTALL_DATA_DIR} ${INSTDIR}Predis
cp -Rp ${WRKSRC}/src/* ${INSTDIR}Predis/
2012-01-25 13:18:54 +00:00
chown -R ${SHAREOWN}:${SHAREGRP} ${INSTDIR}
.include <bsd.port.mk>