diff -urN /usr/ports/science/ruby-dcl/Makefile ruby-dcl/Makefile --- /usr/ports/science/ruby-dcl/Makefile 2014-03-25 05:03:27.000000000 +0900 +++ ruby-dcl/Makefile 2014-03-27 17:56:33.889623561 +0900 @@ -17,15 +17,18 @@ LICENSE= BSD LICENSE_FILE= ${WRKSRC}/LICENSE.txt -BUILD_DEPENDS= ${RUBY_SITEARCHLIBDIR}/narray.so:${PORTSDIR}/math/ruby-narray \ +BUILD_DEPENDS= rubygem-narray>=0.5.5:${PORTSDIR}/math/rubygem-narray \ ${LOCALBASE}/lib/libcdcl.so:${PORTSDIR}/science/cdcl RUN_DEPENDS= ${LOCALBASE}/lib/libcdcl.so:${PORTSDIR}/science/cdcl \ - ${RUBY_SITEARCHLIBDIR}/narray.so:${PORTSDIR}/math/ruby-narray \ - rubygem-gdk_pixbuf2>0:${PORTSDIR}/graphics/rubygem-gdk_pixbuf2 \ - rubygem-gtk2>0:${PORTSDIR}/x11-toolkits/rubygem-gtk2 + rubygem-narray>=0.5.5:${PORTSDIR}/math/rubygem-narray \ + rubygem-gdk_pixbuf2>=2.1.0:${PORTSDIR}/graphics/rubygem-gdk_pixbuf2 \ + rubygem-gtk2>=2.1.0:${PORTSDIR}/x11-toolkits/rubygem-gtk2 USE_RUBY= yes USE_RUBY_EXTCONF= yes +RUBY_NARRAY_VERSION= `make -C ${PORTSDIR}/math/rubygem-narray -V PORTVERSION` +RUBY_NARRAY_PKGNAME= narray-${RUBY_NARRAY_VERSION} +CONFIGURE_ARGS+= --with-narray-include=${LOCALBASE}/lib/ruby/gems/${RUBY_VER}/gems/${RUBY_NARRAY_PKGNAME}/ DOCSDIR= ${RUBY_MODDOCDIR} EXAMPLESDIR= ${RUBY_MODEXAMPLESDIR} @@ -33,7 +36,6 @@ PORTDOCS= ChangeLog README ToDo PORTEXAMPLES= * -NO_STAGE= yes .include .if ${ARCH} == "ia64" @@ -42,13 +44,13 @@ post-install: .if !defined(NOPORTEXAMPLES) - ${MKDIR} ${RUBY_MODEXAMPLESDIR} - (cd ${WRKSRC}/demo/ && ${COPYTREE_SHARE} \* ${RUBY_MODEXAMPLESDIR}) + ${MKDIR} ${STARGEDIR}${RUBY_MODEXAMPLESDIR} + (cd ${WRKSRC}/demo/ && ${COPYTREE_SHARE} \* ${STAGEDIR}${RUBY_MODEXAMPLESDIR}) .endif -.if !defined(NOPORTDOCS) - ${MKDIR} ${RUBY_MODDOCDIR} +.if !defined(PORT_OPTIONS:MDOCS) + ${MKDIR} ${STAGEDIR}${RUBY_MODDOCDIR} .for f in ${PORTDOCS} - ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR} + ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${RUBY_MODDOCDIR} .endfor .endif diff -urN /usr/ports/science/ruby-dcl/pkg-descr ruby-dcl/pkg-descr --- /usr/ports/science/ruby-dcl/pkg-descr 2014-01-23 00:44:51.000000000 +0900 +++ ruby-dcl/pkg-descr 2014-03-27 17:55:58.227594239 +0900 @@ -1,6 +1,6 @@ This is a Ruby interface to the scientific graphic library DCL. -Author: Takeshi Horinouchi +Author: Takeshi Horinouchi & Dennou Ruby Project -WWW: http://ruby.gfd-dennou.org/products/ruby-dcl/ +WWW: http://ruby.gfd-dennou.org/products/ruby-dcl/