1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-25 09:34:11 +00:00
freebsd-ports/devel/ruby-memoize/Makefile
Steve Wills f64d997379 many ruby/rubygem ports: death of rubyforge.org
rubyforge.org shutdown on May 15, 2014. This commit accounts for that by doing
several things:

- Deprecate ruby that had only rubyforge.org as MASTER_SITES (and so are now
  only fetchable via our cache)
- Deprecate ports that depend on those
- Update the WWW pkg-descr line that points to rubyforge.org for rubygem ports
  (which are still fetchable from rubygems.org)

The next step will be to remove rubyforge.org from bsd.sites.mk, after these
deprecated ports are deleted.

Phabric:	D591
With hat:	ruby
Approved by:	portmgr (because of committing to unstaged graphics/mingplot port)
2014-08-19 15:35:35 +00:00

37 lines
909 B
Makefile

# Created by: TAKATSU Tomonari <tota@FreeBSD.org>
# $FreeBSD$
PORTNAME= memoize
PORTVERSION= 1.3.1
CATEGORIES= devel ruby
MASTER_SITES= RF
MASTER_SITE_SUBDIR= shards
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DIST_SUBDIR= ${RUBY_PKGNAMEPREFIX:S|${RUBY_SUFFIX}-||}
MAINTAINER= tota@FreeBSD.org
COMMENT= Method that speeds methods up at the cost of memory
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:
${MKDIR} ${STAGEDIR}${RUBY_SITELIBDIR}
${INSTALL_DATA} ${WRKSRC}/lib/memoize.rb ${STAGEDIR}${RUBY_SITELIBDIR}/
${MKDIR} ${STAGEDIR}${RUBY_MODEXAMPLESDIR}
.for f in ${PORTEXAMPLES}
@${INSTALL_DATA} ${WRKSRC}/examples/${f} ${STAGEDIR}${RUBY_MODEXAMPLESDIR}
.endfor
DEPRECATED= RubyForge shutdown May 15 2014
EXPIRATION_DATE= 2014-09-20
.include <bsd.port.mk>