37 lines
841 B
Makefile
37 lines
841 B
Makefile
# New ports collection makefile for: Ruby-FFTW3
|
|
# Date created: 25 June 2004
|
|
# Whom: Shin'ya Murakami <murakami@ahs.scitec.kobe-u.ac.jp>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= fftw3
|
|
PORTVERSION= 0.2
|
|
PORTREVISION= 2
|
|
CATEGORIES= math ruby
|
|
MASTER_SITES= http://ruby.gfd-dennou.org/products/ruby-fftw3/
|
|
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
|
DISTNAME= ruby-${PORTNAME}-${PORTVERSION}
|
|
DIST_SUBDIR= ruby
|
|
|
|
MAINTAINER= murakami@ahs.scitec.kobe-u.ac.jp
|
|
COMMENT= A Ruby interface to the FFTW ver.3
|
|
|
|
BUILD_DEPENDS= ${RUBY_SITEARCHLIBDIR}/narray.so:${PORTSDIR}/math/ruby-narray
|
|
LIB_DEPENDS= fftw3.5:${PORTSDIR}/math/fftw3
|
|
|
|
USE_RUBY= yes
|
|
USE_RUBY_EXTCONF= yes
|
|
|
|
DOCS= ChangeLog ToDo doc/*
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${RUBY_MODDOCDIR}
|
|
.for f in ${DOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|