mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-31 10:46:16 +00:00
- Add a new port: devel/ruby-memoize
A method that speeds methods up at the cost of memory (or disk space). WWW: http://www.rubyforge.org/projects/shards
This commit is contained in:
parent
27f86a6212
commit
a8f001fae5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=273355
@ -3144,6 +3144,7 @@
|
||||
SUBDIR += ruby-libglade2
|
||||
SUBDIR += ruby-locale
|
||||
SUBDIR += ruby-locale2
|
||||
SUBDIR += ruby-memoize
|
||||
SUBDIR += ruby-metaruby
|
||||
SUBDIR += ruby-mmap
|
||||
SUBDIR += ruby-multi
|
||||
|
41
devel/ruby-memoize/Makefile
Normal file
41
devel/ruby-memoize/Makefile
Normal file
@ -0,0 +1,41 @@
|
||||
# New ports collection makefile for: ruby-memoize
|
||||
# Date created: 2011-04-23
|
||||
# Whom: TAKATSU Tomonari <tota@FreeBSD.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= memoize
|
||||
PORTVERSION= 1.3.1
|
||||
CATEGORIES= devel ruby
|
||||
MASTER_SITES= http://rubyforge.org/frs/download.php/61790/ \
|
||||
${MASTER_SITE_LOCAL:S|%SUBDIR%|tota/memoize|}
|
||||
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
||||
DIST_SUBDIR= ${RUBY_PKGNAMEPREFIX:S|${RUBY_SUFFIX}-||}
|
||||
|
||||
MAINTAINER= tota@FreeBSD.org
|
||||
COMMENT= A method that speeds methods up at the cost of memory
|
||||
|
||||
USE_RUBY= yes
|
||||
FETCH_ARGS= -Fpr
|
||||
|
||||
USE_RUBY= yes
|
||||
USE_RAKE= yes
|
||||
NO_BUILD= yes
|
||||
|
||||
PLIST_FILES= %%RUBY_SITELIBDIR%%/memoize.rb
|
||||
|
||||
PORTEXAMPLES= example_fibonacci.rb \
|
||||
example_memoize.rb
|
||||
EXAMPLESDIR= ${RUBY_MODEXAMPLESDIR}
|
||||
|
||||
do-install:
|
||||
@${INSTALL_DATA} ${WRKSRC}/lib/memoize.rb ${RUBY_SITELIBDIR}/
|
||||
.if !defined(NOPORTEXAMPLES)
|
||||
@${MKDIR} ${RUBY_MODEXAMPLESDIR}
|
||||
.for f in ${PORTEXAMPLES}
|
||||
@${INSTALL_DATA} ${WRKSRC}/examples/${f} ${RUBY_MODEXAMPLESDIR}
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
2
devel/ruby-memoize/distinfo
Normal file
2
devel/ruby-memoize/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (ruby/memoize-1.3.1.tar.gz) = 4bb6e2e9e2a8d7d99a08f82b961b73f6a0431fde5606433b32171e62169d2376
|
||||
SIZE (ruby/memoize-1.3.1.tar.gz) = 4492
|
3
devel/ruby-memoize/pkg-descr
Normal file
3
devel/ruby-memoize/pkg-descr
Normal file
@ -0,0 +1,3 @@
|
||||
A method that speeds methods up at the cost of memory (or disk space).
|
||||
|
||||
WWW: http://www.rubyforge.org/projects/shards
|
Loading…
Reference in New Issue
Block a user