1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-24 09:25:01 +00:00
freebsd-ports/math/ruby-fftw3/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

46 lines
1.2 KiB
Makefile

# Created by: Shin'ya Murakami <murakami@ahs.scitec.kobe-u.ac.jp>
# $FreeBSD$
PORTNAME= fftw3
PORTVERSION= 0.4
PORTREVISION= 3
CATEGORIES= math ruby
MASTER_SITES= http://ruby.gfd-dennou.org/products/ruby-fftw3/release/ \
http://dennou-h.gfd-dennou.org/library/ruby/products/ruby-fftw3/release/ \
http://dennou-q.gfd-dennou.org/library/ruby/products/ruby-fftw3/release/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DISTNAME= ruby-${PORTNAME}-${PORTVERSION}
DIST_SUBDIR= ruby
MAINTAINER= murashin@gfd-dennou.org
COMMENT= Ruby interface to the FFTW ver.3
LICENSE= BSD
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
LIB_DEPENDS= libfftw3.so:${PORTSDIR}/math/fftw3
BUILD_DEPENDS= rubygem-narray>=0:${PORTSDIR}/math/rubygem-narray
RUN_DEPENDS:= ${BUILD_DEPENDS}
USE_RUBY= yes
USE_RUBY_EXTCONF= yes
CONFIGURE_ARGS+= --with-narray-include=${LOCALBASE}/lib/ruby/gems/${RUBY_VER}/gems/narray-${NARRAY_VERSION}/
DOCS= LICENSE.txt doc/*
OPTIONS_DEFINE= DOCS
DEPRECATED= Depends on deprecated math/ruby-narray
EXPIRATION_DATE= 2014-09-20
post-install:
${MKDIR} ${STAGEDIR}${RUBY_MODDOCDIR}
.for f in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${RUBY_MODDOCDIR}/
.endfor
.include "${.CURDIR}/../rubygem-narray/Makefile.version"
.include <bsd.port.mk>