Bug 76853 - [maintainer] remove science/{ruby-,c}dcl-gtk, and update science/{ruby-,c}dcl, science/gave and science/ruby-gphys
Summary: [maintainer] remove science/{ruby-,c}dcl-gtk, and update science/{ruby-,c}dcl...
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: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-30 13:00 UTC by Shin'ya Murakami
Modified: 2005-02-24 20:16 UTC (History)
0 users

See Also:


Attachments
cdcl.diff (31.22 KB, patch)
2005-01-30 13:00 UTC, Shin'ya Murakami
no flags Details | Diff
ruby-gphys.diff (6.64 KB, patch)
2005-01-30 13:00 UTC, Shin'ya Murakami
no flags Details | Diff
file.diff (2.93 KB, patch)
2005-01-30 13:00 UTC, Shin'ya Murakami
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Shin'ya Murakami 2005-01-30 13:00:34 UTC
	   I change that science/cdcl and science/ruby-dcl depend 
	gtk by default, so science/cdcl-gtk and science/ruby-dcl-gtk
	have to be deleted. 

	  science/ruby-gphys and science/gave depend science/ruby-dcl-gtk,
	so fix their dependencies to depend science/ruby-dcl.
	Each ports are also updated.

	summary:
		science/cdcl         -> update to 5.3 and use gtk by default
		science/cdcl-gtk     -> delete
		science/ruby-dcl     -> update to 1.5 and use gtk by default
		science/ruby-dcl-gtk -> delete
		science/ruby-gphys   -> update to 0.3.5 and fix dependency
		science/gave         -> update to 1.1.3 and fix dependency

Fix: aplly patches and remove science/cdcl-gtk and science/ruby-dcl-gtk

diff -rNu /usr/ports/science/ruby-dcl/Makefile ruby-dcl/Makefile
--- /usr/ports/science/ruby-dcl/Makefile	Mon May 31 06:51:38 2004
+++ ruby-dcl/Makefile	Sun Jan 30 19:21:10 2005
@@ -6,37 +6,36 @@
 #
 
 PORTNAME=	dcl
-PORTVERSION=	1.4.0
-PORTREVISION=	1
+PORTVERSION=	1.5.0
 CATEGORIES=	science graphics ruby
 MASTER_SITES=	http://www.gfd-dennou.org/arch/ruby/products/ruby-dcl/
 PKGNAMEPREFIX=	${RUBY_PKGNAMEPREFIX}
 DISTNAME=	ruby-${PORTNAME}-${PORTVERSION}
 DIST_SUBDIR=	ruby
 
-MAINTAINER?=	murakami@ahs.scitec.kobe-u.ac.jp
-COMMENT?=	A Ruby interface to the scientific graphic library DCL
+MAINTAINER=	murakami@ahs.scitec.kobe-u.ac.jp
+COMMENT=	A Ruby interface to the scientific graphic library DCL
 
 BUILD_DEPENDS=	${RUBY_SITEARCHLIBDIR}/narray.so:${PORTSDIR}/math/ruby-narray
 RUN_DEPENDS=	${RUBY_SITEARCHLIBDIR}/narray.so:${PORTSDIR}/math/ruby-narray
 
-USE_RUBY=	yes
-USE_RUBY_EXTCONF=	yes
-
-.if defined(WITH_GTK)
-PKGNAMESUFFIX=	-gtk
+.if defined(WITHOUT_GTK)
+.else
 RUN_DEPENDS+=	${RUBY_SITEARCHLIBDIR}/gdk_pixbuf2.so:${PORTSDIR}/graphics/ruby-gdk_pixbuf2 \
 		${RUBY_SITEARCHLIBDIR}/gtk2.so:${PORTSDIR}/x11-toolkits/ruby-gtk2
-BUILD_DEPENDS+=	${X11BASE}/lib/libcdcl52.a:${PORTSDIR}/science/cdcl-gtk
-.else
-BUILD_DEPENDS+=	${X11BASE}/lib/libcdcl52.a:${PORTSDIR}/science/cdcl
+BUILD_DEPENDS+=	${X11BASE}/lib/libcdcl53.a:${PORTSDIR}/science/cdcl
 .endif
 
+USE_RUBY=	yes
+USE_RUBY_EXTCONF=	yes
+
 DOCS=		ChangeLog README ToDo
 DEMODIRS=	gokuraku grph1 grph2 math2 rakuraku
 DEMOGOKU=	hop jump layout step u1d u2d
 DEMOGRPH1=	scpack sgpack slpack
-DEMOGRPH2=	grpack ucpack udegpk ulpack umpack uspack uupack uxyzpk ximage
+DEMOGRPH2=	grpack g2pack ucpack udegpk ulpack umpack uspack uupack \
+		uxyzpk ximage
+DEMOMATH1=	gt2dlib
 DEMOMATH2=	fftlib intrlib rnmlib vstlib
 DEMORAKU=	color kihon layout map3d miss quick u2d uspack uxyz
 DEMODAT=	grph1/scpack/t810630.dat grph1/scpack/t811231.dat \
@@ -46,7 +45,8 @@
 .include <bsd.port.pre.mk>
 
 .if ${ARCH} == "amd64"
-BROKEN=		"Does not build on amd64 (Needs to link against shared libraries)"
+BROKEN=	"Does not build on amd64 (Needs to link against shared libraries
+)"
 .endif
 
 post-install:
@@ -66,6 +66,10 @@
 .for f in ${DEMOGRPH2}
 	${MKDIR} ${RUBY_MODEXAMPLESDIR}/grph2/${f}
 	${INSTALL_DATA} ${WRKSRC}/demo/grph2/${f}/*.rb ${RUBY_MODEXAMPLESDIR}/grph2/${f}
+.endfor
+.for f in ${DEMOMATH1}
+	${MKDIR} ${RUBY_MODEXAMPLESDIR}/math1/${f}
+	${INSTALL_DATA} ${WRKSRC}/demo/math1/${f}/*.rb ${RUBY_MODEXAMPLESDIR}/math1/${f}
 .endfor
 .for f in ${DEMOMATH2}
 	${MKDIR} ${RUBY_MODEXAMPLESDIR}/math2/${f}
diff -rNu /usr/ports/science/ruby-dcl/distinfo ruby-dcl/distinfo
--- /usr/ports/science/ruby-dcl/distinfo	Mon Mar 15 06:52:19 2004
+++ ruby-dcl/distinfo	Fri Jan 28 04:57:52 2005
@@ -1,2 +1,2 @@
-MD5 (ruby/ruby-dcl-1.4.0.tar.gz) = 3046e5896fb52b3a94d604c8d585a8b9
-SIZE (ruby/ruby-dcl-1.4.0.tar.gz) = 255368
+MD5 (ruby/ruby-dcl-1.5.0.tar.gz) = 3ccbe7e5539499f45502497de21c6cdc
+SIZE (ruby/ruby-dcl-1.5.0.tar.gz) = 245389
diff -rNu /usr/ports/science/ruby-dcl/pkg-plist ruby-dcl/pkg-plist
--- /usr/ports/science/ruby-dcl/pkg-plist	Sat Feb 28 08:54:13 2004
+++ ruby-dcl/pkg-plist	Fri Jan 28 05:10:45 2005
@@ -1,5 +1,7 @@
 %%RUBY_SITEARCHLIBDIR%%/numru/dcl_raw.so
+@unexec rmdir %B 2>/dev/null || true
 %%RUBY_SITELIBDIR%%/numru/dcl.rb
+@unexec rmdir %B 2>/dev/null || true
 %%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/gokuraku/hop/hop.rb
 %%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/gokuraku/jump/jump1.rb
 %%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/gokuraku/jump/jump2.rb
@@ -46,6 +48,8 @@
 %%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/grph1/slpack/slpk03.rb
 %%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/grph1/slpack/slpk04.rb
 %%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/grph2/grpack/grpk01.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/grph2/g2pack/g2pk01.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/grph2/g2pack/g2pk02.rb
 %%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/grph2/ucpack/ucpk01.rb
 %%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/grph2/ucpack/ucpk02.rb
 %%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/grph2/udegpk/u2df01.rb
@@ -57,7 +61,9 @@
 %%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/grph2/udegpk/u2df07.rb
 %%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/grph2/udegpk/u2df08.rb
 %%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/grph2/ulpack/ulpk01.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/grph2/ulpack/ulpk01n.rb
 %%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/grph2/ulpack/ulpk02.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/grph2/ulpack/ulpk02n.rb
 %%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/grph2/umpack/t811231.dat
 %%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/grph2/umpack/test01.rb
 %%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/grph2/umpack/test02.rb
@@ -67,6 +73,7 @@
 %%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/grph2/umpack/test06.rb
 %%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/grph2/umpack/test07.rb
 %%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/grph2/umpack/test08.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/grph2/umpack/test09.rb
 %%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/grph2/umpack/umpk01.rb
 %%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/grph2/umpack/umpk02.rb
 %%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/grph2/umpack/umpk03.rb
@@ -104,6 +111,7 @@
 %%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/grph2/ximage/MEMO
 %%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/grph2/ximage/tomsclm.dat
 %%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/grph2/ximage/ximg01.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/math1/gt2dlib/gt2d01.rb
 %%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/math2/fftlib/fftl01.rb
 %%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/math2/fftlib/fftl02.rb
 %%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/math2/intrlib/intr01.rb
@@ -173,6 +181,7 @@
 %%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%/grph1/slpack
 %%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%/grph1
 %%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%/grph2/grpack
+%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%/grph2/g2pack
 %%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%/grph2/ucpack
 %%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%/grph2/udegpk
 %%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%/grph2/ulpack
@@ -182,6 +191,8 @@
 %%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%/grph2/uxyzpk
 %%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%/grph2/ximage
 %%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%/grph2
+%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%/math1/gt2dlib
+%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%/math1
 %%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%/math2/fftlib
 %%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%/math2/intrlib
 %%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%/math2/rnmlib
@@ -202,5 +213,3 @@
 %%PORTDOCS%%%%RUBY_MODDOCDIR%%/ToDo
 %%PORTDOCS%%%%RUBY_MODDOCDIR%%/README
 %%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%
-@dirrm %%RUBY_SITEARCHLIBDIR%%/numru
-@dirrm %%RUBY_SITELIBDIR%%/numru
--- ruby-dcl.diff ends here ---
How-To-Repeat: 	N/A
Comment 1 Sergey Matveychuk freebsd_committer 2005-02-24 20:16:28 UTC
State Changed
From-To: open->closed

Committed, thanks!