aboutsummaryrefslogtreecommitdiffstats
path: root/math/ruby-narray/Makefile
blob: dc923937debed56f4a045a84183e41e8371ec236 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Created by: Akinori MUSHA aka knu <knu@idaemons.org>
# $FreeBSD$

PORTNAME=   narray
PORTVERSION=    0.6.0.1
PORTREVISION=   2
CATEGORIES= math ruby
MASTER_SITES=   RF
PKGNAMEPREFIX=  ${RUBY_PKGNAMEPREFIX}
DIST_SUBDIR=    ruby

MAINTAINER= ruby@FreeBSD.org
COMMENT=    Numerical N-dimensional array library for Ruby

LIB_DEPENDS=    libfftw.so:${PORTSDIR}/math/fftw

USE_RUBY=   yes
USE_RUBY_EXTCONF=   yes

INSTALL_TARGET= site-install
MAKE_ARGS=  INSTALL_PROG="${INSTALL_PROGRAM}" \
        INSTALL_DATA="${INSTALL_DATA}"

DOC_EN=     ChangeLog   README.en   SPEC.en
DOC_JA=     README.ja   SPEC.ja

OPTIONS_DEFINE= DOCS

post-install:
    ${MKDIR} ${STAGEDIR}${RUBY_MODDOCDIR}/ja
.for f in ${DOC_EN}
    ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${RUBY_MODDOCDIR}/
.endfor
.for f in ${DOC_JA}
    ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${RUBY_MODDOCDIR}/ja/
.endfor

.include <bsd.port.mk>