Date: Thu, 27 Mar 2014 18:03:43 +0900 (JST) From: Shin-ya Murakami <murashin@gfd-dennou.org> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/188013: [maintainer] science/ruby-dcl: change dependencies, stagefy, etc. Message-ID: <20140327.180343.407176064.murashin@gfd-dennou.org> Resent-Message-ID: <201403270910.s2R9A1d6006622@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 188013 >Category: ports >Synopsis: [maintainer] science/ruby-dcl: change dependencies, stagefy, etc. >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Thu Mar 27 09:10:01 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Shin-ya Murakami >Release: FreeBSD 11.0-CURRENT amd64 >Organization: GFD-Dennou Club >Environment: System: FreeBSD phase 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r263062: Sat Mar 15 02:00:48 JST 2014 murashin@phase:/usr/obj/usr/src/sys/PHASE amd64 >Description: - change dependencies. - stagefy. - use PORT_OPTIONS:MDOCS instead of NOPORTDOCS. >How-To-Repeat: N/A >Fix: --- ruby-dcl.diff begins here --- 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 <bsd.port.pre.mk> .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 <horinout _at_ ees.hokudai.ac.jp> +Author: Takeshi Horinouchi <horinout _at_ ees.hokudai.ac.jp> & Dennou Ruby Project -WWW: http://ruby.gfd-dennou.org/products/ruby-dcl/ +WWW: http://ruby.gfd-dennou.org/products/ruby-dcl/ --- ruby-dcl.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140327.180343.407176064.murashin>