aboutsummaryrefslogtreecommitdiffstats
path: root/math/ruby-numru_misc/Makefile
blob: a2b47e7a4f18bdc68c9bb1ad27239e65eac15d9c (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
39
40
# Created by: Shin'ya Murakami <murakami@ahs.scitec.kobe-u.ac.jp>
# $FreeBSD$

PORTNAME=   numru_misc
PORTVERSION=    0.1.1
CATEGORIES= math ruby
MASTER_SITES=   http://ruby.gfd-dennou.org/products/numru-misc/release/ \
        http://dennou-h.gfd-dennou.org/library/ruby/products/numru-misc/release/ \
        http://dennou-q.gfd-dennou.org/library/ruby/products/numru-misc/release/
PKGNAMEPREFIX=  ${RUBY_PKGNAMEPREFIX}
DISTNAME=   numru-misc-${PORTVERSION}
DIST_SUBDIR=    ruby

LICENSE=    BSD
LICENSE_FILE=   ${WRKSRC}/LICENSE.txt

MAINTAINER= murashin@gfd-dennou.org
COMMENT=    Collection of misc functions and classes to facilitate programming

RUN_DEPENDS=    ${RUBY_SITEARCHLIBDIR}/narray.so:${PORTSDIR}/math/ruby-narray \
        ${RUBY_SITELIBDIR}/narray_miss.rb:${PORTSDIR}/math/ruby-narray_miss

USE_RUBY=   yes
NO_BUILD=   yes

DOCS=       ChangeLog LICENSE.txt doc/*

NO_STAGE=   yes
do-install:
    @cd ${WRKSRC}/ && ${RUBY} ./install.rb

post-install:
.if !defined(NOPORTDOCS)
    ${MKDIR} ${RUBY_MODDOCDIR}/
.for f in ${DOCS}
    ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
.endfor
.endif

.include <bsd.port.mk>