c29d97bfce
* Add PKG_DESTDIR_SUPPORT.
20 lines
601 B
Makefile
20 lines
601 B
Makefile
# $NetBSD: Makefile,v 1.14 2010/09/10 12:54:21 taca Exp $
|
|
|
|
PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME}
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
.include "../../www/clearsilver/Makefile.common"
|
|
|
|
CONFIGURE_ARGS+= --enable-ruby
|
|
CONFIGURE_ARGS+= --with-ruby=${RUBY:Q}
|
|
INSTALLATION_DIRS= ${RUBY_VENDORARCHLIB} ${RUBY_VENDORLIB}
|
|
|
|
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
|
|
|
|
.include "../../lang/ruby/modules.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|