2012-10-28 07:30:00 +01:00
|
|
|
# $NetBSD: Makefile,v 1.16 2012/10/28 06:31:03 asau Exp $
|
2004-11-29 01:02:26 +01:00
|
|
|
|
|
|
|
PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME}
|
2011-02-21 17:01:10 +01:00
|
|
|
PKGREVISION= 1
|
2004-11-29 01:02:26 +01:00
|
|
|
|
|
|
|
.include "../../www/clearsilver/Makefile.common"
|
|
|
|
|
|
|
|
CONFIGURE_ARGS+= --enable-ruby
|
2005-12-06 00:55:01 +01:00
|
|
|
CONFIGURE_ARGS+= --with-ruby=${RUBY:Q}
|
2010-09-10 14:54:21 +02:00
|
|
|
INSTALLATION_DIRS= ${RUBY_VENDORARCHLIB} ${RUBY_VENDORLIB}
|
2004-11-29 01:02:26 +01:00
|
|
|
|
2010-09-10 14:54:21 +02:00
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/ruby/ext/hdf/hdf.${RUBY_DLEXT} \
|
|
|
|
${DESTDIR}${PREFIX}/${RUBY_VENDORARCHLIB}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/ruby/lib/neo.rb \
|
|
|
|
${DESTDIR}${PREFIX}/${RUBY_VENDORLIB}/neo.rb
|
2004-11-29 01:02:26 +01:00
|
|
|
|
|
|
|
.include "../../lang/ruby/modules.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|