openbsd-ports/devel/p5-Cache-Memcached/Makefile
2010-11-15 19:45:56 +00:00

37 lines
804 B
Makefile

# $OpenBSD: Makefile,v 1.8 2010/11/15 19:46:01 espie Exp $
COMMENT= pure perl client interface to memcached
MODULES= cpan
DISTNAME= Cache-Memcached-1.24
REVISION= 1
CATEGORIES= devel
HOMEPAGE= http://www.danga.com/memcached/
# perl
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
RUN_DEPENDS= devel/p5-String-CRC32
USE_GROFF = Yes
REGRESS_DEPENDS= misc/memcached
REGRESS_IS_INTERACTIVE= Yes
start-memcached:
memcached -u nobody -d -m 2048 -c 16 -l 127.0.0.1 -p 11211
stop-memcached:
pkill memcached
pre-regress:
@echo "if the regression test fails, you need a memcached daemon"
@echo "run make start-memcached to start it"
@echo "don't forget to kill it after the test"
@echo "running make stop-memcached"
.include <bsd.port.mk>