pkgsrc/devel/php-memcached/Makefile
2018-12-15 21:12:18 +00:00

29 lines
782 B
Makefile

# $NetBSD: Makefile,v 1.10 2018/12/15 21:12:21 wiz Exp $
#
MODNAME= memcached
PECL_VERSION= 2.2.0
PKGREVISION= 1
CATEGORIES+= devel
MAINTAINER= fhajny@NetBSD.org
HOMEPAGE= https://github.com/php-memcached-dev/php-memcached
COMMENT= PHP extension for interfacing with memcached via libmemcached library
LICENSE= php
CONFLICTS= php-memcached-[0-9]*
PHP_VERSIONS_ACCEPTED= 56
USE_TOOLS+= pkg-config
USE_LANGUAGES= c c++
CONFIGURE_ARGS+= --enable-${MODNAME}
CONFIGURE_ARGS+= --with-libmemcached-dir=${BUILDLINK_PREFIX.libmemcached}
CONFIGURE_ARGS+= --with-zlib-dir=${BUILDLINK_PREFIX.zlib}
.include "options.mk"
.include "../../lang/php/ext.mk"
.include "../../devel/libmemcached/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"