openbsd-ports/databases/ruby-redis/Makefile

35 lines
741 B
Makefile

# $OpenBSD: Makefile,v 1.6 2012/06/28 12:47:48 dcoppa Exp $
COMMENT = client library for the Redis key-value store
VERSION = 3.0.1
DISTNAME = redis-${VERSION}
CATEGORIES = databases
HOMEPAGE = http://redis-rb.keyvalue.org/
MAINTAINER = David Coppa <dcoppa@openbsd.org>
# BSD
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
MODULES = lang/ruby
CONFIGURE_STYLE = ruby gem
MODRUBY_REGRESS = rake
REGRESS_DEPENDS = databases/redis
# Be sure to have a redis server running with the command:
# cd ${WRKSRC} && sudo redis-server ./test/test.conf
REGRESS_IS_INTERACTIVE =Yes
post-install:
@find ${PREFIX}/${GEM_LIB}/ -name '.git*' -print0 | xargs -0 rm
.include <bsd.port.mk>