blob: d8310b3155f3070bfcbeb709f19fc36139a33d40 (
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.12 2012/09/11 23:04:33 asau Exp $
DISTNAME= rb-gsl-1.14.7
CATEGORIES= math ruby
MASTER_SITES= http://rubyforge.org/frs/download.php/74341/
EXTRACT_SUFX= .tgz
MAINTAINER= minskim@NetBSD.org
HOMEPAGE= http://rb-gsl.rubyforge.org/
COMMENT= Ruby interface to the GNU Scientific Library
LICENSE= gnu-gpl-v2
USE_RUBY_SETUP= yes
USE_TOOLS= pax
CONFIGURE_ARGS+= --siteruby=${PREFIX}/${RUBY_VENDORLIB_BASE} \
--siterubyver=${PREFIX}/${RUBY_VENDORLIB} \
--siterubyverarch=${PREFIX}/${RUBY_VENDORARCHLIB}
REPLACE_RUBY_DIRS= examples
INSTALLATION_DIRS= ${RUBY_DOC}/gsl ${RUBY_EG}/gsl
.include "../../lang/ruby/modules.mk"
.include "../../math/gsl/buildlink3.mk"
post-install:
${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/${RUBY_DOC}/gsl
cd ${WRKSRC}/examples; pax -rw . ${DESTDIR}${PREFIX}/${RUBY_EG}/gsl
.include "../../mk/bsd.pkg.mk"
|