pkgsrc/devel/ruby-memoize/Makefile
obache 617ad31034 Import ruby-memoize-1.3.1 as devel/ruby-memoize.
The memoize library allows you to cache methods for faster lookup.
Cached results can either be stored in memory (the default) or to
a file.
2011-02-25 02:34:13 +00:00

30 lines
692 B
Makefile

# $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"