summaryrefslogtreecommitdiff
path: root/devel/ruby-memoize/Makefile
blob: 70b22c4e39b9293bf3cbc22bf52ea7008a2eb44f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# $NetBSD: Makefile,v 1.1.1.1 2011/02/25 02:34:13 obache Exp $
#

DISTNAME=	memoize-1.3.1
CATEGORIES=	devel
MASTER_SITES=	http://rubyforge.org/frs/download.php/61790/

MAINTAINER=	obache@NetBSD.org
HOMEPAGE=	http://www.rubyforge.org/projects/shards
COMMENT=	Speeds up methods at the cost of memory (or disk space)
LICENSE=	artistic-2.0

PKG_DESTDIR_SUPPORT=	user-destdir

USE_LANGUAGES=	# none
NO_BUILD=	yes
USE_RAKE=	yes

INSTALLATION_DIRS+=	${RUBY_VENDORLIB}

do-test:
	${RUN} cd ${WRKSRC}; \
	${SETENV} ${TEST_ENV} ${RAKE} test

do-install:
	${RUN} cd ${WRKSRC}; \
	${SETENV} ${MAKE_ENV} ${INSTALL_ENV} ${RAKE} install

.include "../../lang/ruby/modules.mk"
.include "../../mk/bsd.pkg.mk"