67ae29439d
Fixes: * Properly detect CPU alignment on ARM. * Remove 1MB assertion. * More automake versions supported. * Compiler warning fixes for OpenBSD. * Potential buffer overflow in vperror. * Report errors opening pidfiles using vperror. New Features: * reclaimed: This stat reports the number of times an entry was stored using memory from an expired entry. * sasl_pwdb: Allows memcached to use it's own plantext password file. (Not configured by pkgsrc yet.)
41 lines
1.1 KiB
Makefile
41 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.24 2011/05/27 11:58:52 fhajny Exp $
|
|
#
|
|
|
|
DISTNAME= memcached-1.4.5
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://memcached.googlecode.com/files/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.memcached.org/
|
|
COMMENT= High-performance distributed memory object caching system
|
|
LICENSE= 2-clause-bsd
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
USE_TOOLS+= perl
|
|
GNU_CONFIGURE= yes
|
|
|
|
REPLACE_PERL= scripts/memcached-tool
|
|
|
|
CONFIGURE_ARGS+= --with-libevent=${BUILDLINK_PREFIX.libevent}
|
|
|
|
RCD_SCRIPTS= memcached
|
|
INSTALLATION_DIRS= share/doc/${PKGBASE} share/examples/rc.d
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
MEMCACHED_USER?= memcached
|
|
MEMCACHED_GROUP?= memcached
|
|
PKG_GROUPS= ${MEMCACHED_GROUP}
|
|
PKG_USERS= ${MEMCACHED_USER}:${MEMCACHED_GROUP}
|
|
PKG_GROUPS_VARS+= MEMCACHED_GROUP
|
|
PKG_USERS_VARS+= MEMCACHED_USER
|
|
FILES_SUBST+= MEMCACHED_USER=${MEMCACHED_USER:Q}
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${WRKSRC}/doc/*.txt ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
|
|
${INSTALL_SCRIPT} ${WRKSRC}/scripts/memcached-tool ${DESTDIR}${PREFIX}/bin
|
|
|
|
.include "../../devel/libevent/buildlink3.mk"
|
|
BUILDLINK_API_DEPENDS.libevent+= libevent>=1.0
|
|
.include "../../mk/bsd.pkg.mk"
|