summaryrefslogtreecommitdiff
path: root/math/ruby-gsl/Makefile
blob: 824a4e1faa5bc480c4a2d12aaca1efa740897844 (plain)
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
# $NetBSD: Makefile,v 1.10 2006/01/03 15:07:29 taca Exp $

DISTNAME=	ruby-gsl-0.2.0
PKGNAME=	${RUBY_PKGPREFIX}-gsl-0.2.0
PKGREVISION=	4
CATEGORIES=	math
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=ruby-gsl/}

MAINTAINER=	dmcmahill@NetBSD.org
HOMEPAGE=	http://ruby-gsl.sourceforge.net/
COMMENT=	Wrapper of the GNU Scientific Library (GSL) for Ruby

RUBY_HAS_ARCHLIB=	yes
USE_RUBY_EXTCONF=	yes
INSTALL_TARGET=		site-install
WRKSRC=			${WRKDIR}/${DISTNAME}/ext
DOCS=			AUTHORS HISTORY HOWTO IMPLEMENTED README THANKS \
			TODO doc.rd
REPLACE_RUBY_DIRS=	${WRKSRC}/../samples

post-install:
	${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/gsl
.for f in ${DOCS}
	${INSTALL_DATA} ${WRKSRC}/../doc/${f} ${RUBY_DOCDIR}/gsl
.endfor
	${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/gsl
	${INSTALL_DATA} ${WRKSRC}/../samples/*.rb ${RUBY_EXAMPLESDIR}/gsl

.include "../../lang/ruby/modules.mk"
.include "../../math/gsl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"