(which is not) throughout the ports Makefiles. * Replace find|xargs with find -exec {} + * Replace -exec {} \; with -exec {} + if applicable. * Use the -delete operator to remove files and empty directories. * Combine and tweak some find(1) invocations while here. ok kn@ rsadowski@ espie@
37 lines
727 B
Makefile
37 lines
727 B
Makefile
# $OpenBSD: Makefile,v 1.30 2020/03/20 16:44:22 naddy Exp $
|
|
|
|
COMMENT = client library for the Redis key-value store
|
|
|
|
VERSION = 3.3.3
|
|
REVISION = 0
|
|
EPOCH = 1
|
|
DISTNAME = redis-${VERSION}
|
|
CATEGORIES = databases
|
|
|
|
HOMEPAGE = http://redis-rb.keyvalue.org/
|
|
|
|
# BSD
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
MODULES = lang/ruby
|
|
|
|
CONFIGURE_STYLE = ruby gem
|
|
|
|
MODRUBY_TEST = rake
|
|
|
|
MODRUBY_TEST_ENV += LC_CTYPE="en_US.UTF-8" \
|
|
REDIS_BINARY=${LOCALBASE}/sbin/redis-server
|
|
|
|
MODRUBY_TEST_TARGET = run
|
|
|
|
TEST_DEPENDS += databases/redis
|
|
|
|
pre-configure:
|
|
${SUBST_CMD} ${WRKSRC}/test/publish_subscribe_test.rb
|
|
|
|
post-install:
|
|
@find ${PREFIX}/${GEM_LIB}/ -name '.git*' -delete
|
|
@rm ${PREFIX}/${GEM_LIB}/gems/${DISTNAME}/test/*.beforesubst
|
|
|
|
.include <bsd.port.mk>
|