Bug 188013 - [maintainer] science/ruby-dcl: change dependencies, stagefy, etc.
Summary: [maintainer] science/ruby-dcl: change dependencies, stagefy, etc.
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Steve Wills
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-27 09:10 UTC by murashin
Modified: 2014-03-28 21:30 UTC (History)
0 users

See Also:


Attachments
ruby-dcl.diff (2.49 KB, patch)
2014-03-27 09:10 UTC, murashin
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description murashin 2014-03-27 09:10:01 UTC
	- change dependencies.
	- stagefy.
	- use PORT_OPTIONS:MDOCS instead of NOPORTDOCS.

How-To-Repeat: 	N/A
Comment 1 Edwin Groothuis freebsd_committer 2014-03-27 09:10:08 UTC
Responsible Changed
From-To: freebsd-ports-bugs->swills

swills@ wants this submitter's PRs (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer 2014-03-28 21:28:44 UTC
Author: swills
Date: Fri Mar 28 21:28:38 2014
New Revision: 349464
URL: http://svnweb.freebsd.org/changeset/ports/349464
QAT: https://qat.redports.org/buildarchive/r349464/

Log:
  - Change to rubygem dependencies
  - Stage
  - Use OPTIONS
  
  PR:		ports/188013
  Submitted by:	Shin-ya Murakami <murashin@gfd-dennou.org> (maintainer)

Modified:
  head/science/ruby-dcl/Makefile
  head/science/ruby-dcl/pkg-descr

Modified: head/science/ruby-dcl/Makefile
==============================================================================
--- head/science/ruby-dcl/Makefile	Fri Mar 28 20:52:21 2014	(r349463)
+++ head/science/ruby-dcl/Makefile	Fri Mar 28 21:28:38 2014	(r349464)
@@ -17,15 +17,18 @@ COMMENT=	A Ruby interface to the scienti
 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 @@ EXAMPLESDIR=	${RUBY_MODEXAMPLESDIR}
 PORTDOCS=	ChangeLog README ToDo
 PORTEXAMPLES=	*
 
-NO_STAGE=	yes
 .include <bsd.port.pre.mk>
 
 .if ${ARCH} == "ia64"
@@ -42,13 +44,13 @@ BROKEN=	Does not build on ${ARCH} (Needs
 
 post-install:
 .if !defined(NOPORTEXAMPLES)
-	${MKDIR} ${RUBY_MODEXAMPLESDIR}
-	(cd ${WRKSRC}/demo/ && ${COPYTREE_SHARE} \* ${RUBY_MODEXAMPLESDIR})
+	${MKDIR} ${STAGEDIR}${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
 

Modified: head/science/ruby-dcl/pkg-descr
==============================================================================
--- head/science/ruby-dcl/pkg-descr	Fri Mar 28 20:52:21 2014	(r349463)
+++ head/science/ruby-dcl/pkg-descr	Fri Mar 28 21:28:38 2014	(r349464)
@@ -1,6 +1,3 @@
 This is a Ruby interface to the scientific graphic library DCL.
 
-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/
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Steve Wills freebsd_committer 2014-03-28 21:30:12 UTC
State Changed
From-To: open->closed

Committed, with minor changes. Thanks!