aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2000-09-07 08:03:36 +0800
committerknu <knu@FreeBSD.org>2000-09-07 08:03:36 +0800
commit0344a074eb821c59cb0d9e7ec63e1cd6c1210cf9 (patch)
tree48a6bad4612ad2a11435caf81d62af0a03d40dbb
parenteeb01b2fe97b7d685399763ea8ca9e854ded513d (diff)
downloadfreebsd-ports-gnome-0344a074eb821c59cb0d9e7ec63e1cd6c1210cf9.tar.gz
freebsd-ports-gnome-0344a074eb821c59cb0d9e7ec63e1cd6c1210cf9.tar.zst
freebsd-ports-gnome-0344a074eb821c59cb0d9e7ec63e1cd6c1210cf9.zip
Split rubytk into ruby-tcltklib and ruby-tk.
Approved by: Yasuhiro Fukuma <yasuf@bsdclub.org> (MAINTAINER) Repocopy ruby-* to ruby14-* and update ruby-* to 1.6.0-preview3.
-rw-r--r--japanese/Makefile3
-rw-r--r--japanese/ruby-tcltklib/Makefile6
-rw-r--r--japanese/ruby-tk/Makefile7
-rw-r--r--japanese/ruby14-tcltklib/Makefile4
-rw-r--r--japanese/ruby14-tk/Makefile5
-rw-r--r--lang/Makefile2
-rw-r--r--lang/ruby-tcltklib/Makefile69
-rw-r--r--lang/ruby-tcltklib/pkg-descr2
-rw-r--r--lang/ruby-tcltklib/pkg-plist54
-rw-r--r--lang/ruby14-tcltklib/Makefile69
-rw-r--r--lang/ruby14-tcltklib/pkg-descr2
-rw-r--r--lang/ruby14-tcltklib/pkg-plist54
-rw-r--r--x11-toolkits/Makefile3
-rw-r--r--x11-toolkits/ruby-tk/Makefile92
-rw-r--r--x11-toolkits/ruby-tk/pkg-comment2
-rw-r--r--x11-toolkits/ruby-tk/pkg-descr2
-rw-r--r--x11-toolkits/ruby-tk/pkg-plist61
-rw-r--r--x11-toolkits/ruby14-tk/Makefile90
-rw-r--r--x11-toolkits/ruby14-tk/pkg-comment2
-rw-r--r--x11-toolkits/ruby14-tk/pkg-descr2
-rw-r--r--x11-toolkits/ruby14-tk/pkg-plist61
21 files changed, 201 insertions, 391 deletions
diff --git a/japanese/Makefile b/japanese/Makefile
index 3721d4f62769..70399f2e1cb2 100644
--- a/japanese/Makefile
+++ b/japanese/Makefile
@@ -238,8 +238,9 @@
SUBDIR += ruby-man
SUBDIR += ruby-slang
SUBDIR += ruby-uconv
+ SUBDIR += ruby-tk
SUBDIR += ruby-usersguide
- SUBDIR += rubytk
+ SUBDIR += ruby14-tk
SUBDIR += rxvt
SUBDIR += samba
SUBDIR += sdic
diff --git a/japanese/ruby-tcltklib/Makefile b/japanese/ruby-tcltklib/Makefile
index 0d5ccad56600..6da1e2d9da35 100644
--- a/japanese/ruby-tcltklib/Makefile
+++ b/japanese/ruby-tcltklib/Makefile
@@ -1,4 +1,4 @@
-# New ports collection makefile for: ja-rubytk
+# New ports collection makefile for: ja-ruby-tcltklib
# Date created: 15 March 1999
# Whom: Yasuhiro Fukuma <yasuf@big.or.jp>
#
@@ -11,8 +11,8 @@ MAINTAINER= yasuf@bsdclub.org
TCL_VERSION?= 80
TK_VERSION?= 80
-WITH_TCL_JP= yes
+WITH_TCLTK_JP= yes
-MASTERDIR= ${.CURDIR}/../../x11-toolkits/rubytk
+MASTERDIR= ${.CURDIR}/../../lang/ruby-tcltklib
.include "${MASTERDIR}/Makefile"
diff --git a/japanese/ruby-tk/Makefile b/japanese/ruby-tk/Makefile
index 0d5ccad56600..2984a400d1b3 100644
--- a/japanese/ruby-tk/Makefile
+++ b/japanese/ruby-tk/Makefile
@@ -1,4 +1,4 @@
-# New ports collection makefile for: ja-rubytk
+# New ports collection makefile for: ja-ruby-tk
# Date created: 15 March 1999
# Whom: Yasuhiro Fukuma <yasuf@big.or.jp>
#
@@ -9,10 +9,9 @@ CATEGORIES= japanese
MAINTAINER= yasuf@bsdclub.org
-TCL_VERSION?= 80
TK_VERSION?= 80
-WITH_TCL_JP= yes
+WITH_TCLTK_JP= yes
-MASTERDIR= ${.CURDIR}/../../x11-toolkits/rubytk
+MASTERDIR= ${.CURDIR}/../../x11-toolkits/ruby-tk
.include "${MASTERDIR}/Makefile"
diff --git a/japanese/ruby14-tcltklib/Makefile b/japanese/ruby14-tcltklib/Makefile
index 0d5ccad56600..9edca52b40e8 100644
--- a/japanese/ruby14-tcltklib/Makefile
+++ b/japanese/ruby14-tcltklib/Makefile
@@ -11,8 +11,8 @@ MAINTAINER= yasuf@bsdclub.org
TCL_VERSION?= 80
TK_VERSION?= 80
-WITH_TCL_JP= yes
+WITH_TCLTK_JP= yes
-MASTERDIR= ${.CURDIR}/../../x11-toolkits/rubytk
+MASTERDIR= ${.CURDIR}/../../lang/ruby14-tcltklib
.include "${MASTERDIR}/Makefile"
diff --git a/japanese/ruby14-tk/Makefile b/japanese/ruby14-tk/Makefile
index 0d5ccad56600..fbbfab049b11 100644
--- a/japanese/ruby14-tk/Makefile
+++ b/japanese/ruby14-tk/Makefile
@@ -9,10 +9,9 @@ CATEGORIES= japanese
MAINTAINER= yasuf@bsdclub.org
-TCL_VERSION?= 80
TK_VERSION?= 80
-WITH_TCL_JP= yes
+WITH_TCLTK_JP= yes
-MASTERDIR= ${.CURDIR}/../../x11-toolkits/rubytk
+MASTERDIR= ${.CURDIR}/../../x11-toolkits/ruby14-tk
.include "${MASTERDIR}/Makefile"
diff --git a/lang/Makefile b/lang/Makefile
index 285d512730bb..2e38f80df8f3 100644
--- a/lang/Makefile
+++ b/lang/Makefile
@@ -101,8 +101,10 @@
SUBDIR += ruby-man
SUBDIR += ruby-perl
SUBDIR += ruby-python
+ SUBDIR += ruby-tcltklib
SUBDIR += ruby-usersguide
SUBDIR += ruby14
+ SUBDIR += ruby14-tcltklib
SUBDIR += scheme48
SUBDIR += schemetoc
SUBDIR += scm
diff --git a/lang/ruby-tcltklib/Makefile b/lang/ruby-tcltklib/Makefile
index 69aaf6ed7a94..d6384fdbf988 100644
--- a/lang/ruby-tcltklib/Makefile
+++ b/lang/ruby-tcltklib/Makefile
@@ -1,47 +1,40 @@
-# New ports collection makefile for: rubytk
+# New ports collection makefile for: ruby-tcltklib
# Date created: 15 March 1999
# Whom: Yasuhiro Fukuma <yasuf@big.or.jp>
#
# $FreeBSD$
#
-PORTNAME= rubytk
-PORTVERSION= 1.4.6
-CATEGORIES+= x11-toolkits ruby
+PORTNAME= tcltklib
+PORTVERSION= ${RUBY_VERSION}.p3
+CATEGORIES+= lang x11-toolkits ruby tcl${TCL_VERSION} tk${TK_VERSION}
MASTER_SITES= ${MASTER_SITE_RUBY}
-MASTER_SITE_SUBDIR= 1.4
-DISTNAME= ruby-${PORTVERSION}
+#MASTER_SITE_SUBDIR= ${RUBY_VER}
+DISTNAME= ruby-${PORTVERSION:S/.p/-preview/}
DIST_SUBDIR= ruby
MAINTAINER?= yasuf@bsdclub.org
-BUILD_DEPENDS= ruby:${PORTSDIR}/lang/ruby
-RUN_DEPENDS= ruby:${PORTSDIR}/lang/ruby
LIB_DEPENDS= ${TCL_LIB}.1:${PORTSDIR}/${TCL_CATEGORY}/tcl${TCL_VERSION} \
${TK_LIB}.1:${PORTSDIR}/${TK_CATEGORY}/tk${TK_VERSION}
+USE_RUBY= yes
+USE_RUBY_EXTCONF= yes
USE_XLIB= yes
-WRKSRC= ${WRKDIR}/${DISTNAME}/ext
+WRKSRC= ${WRKDIR}/ruby-${PORTVERSION:R}/ext/tcltklib
CONFIGURE_ARGS= --with-tcllib="${TCL_LIB}" --with-tklib="${TK_LIB}" \
--with-tcl-lib="${LOCALBASE}/lib/${TCL_DIR}" \
--with-tk-lib="${LOCALBASE}/lib/${TK_DIR}" \
--with-tcl-include="${LOCALBASE}/include/${TCL_DIR}" \
--with-tk-include="${LOCALBASE}/include/${TK_DIR}" \
--with-X11-dir="${X11BASE}"
-PLIST_SUB+= RUBY_VER="${RUBY_VER}" RUBY_ARCH="${RUBY_ARCH}"
-
-RUBY_VER?= 1.4
-RUBY_ARCH?= ${ARCH}-freebsd${OSREL}
-
-DOCDIR= ${PREFIX}/share/doc/ruby
-EXAMPLESDIR= ${PREFIX}/share/examples/ruby
# Set these vars as the version numbers (without decimal points) of Tcl/Tk
# you want to use with Ruby/Tk.
# e.g.: make TCL_VERSION=42 TK_VERSION=76 WITH_TCL_JP=yes build
TCL_VERSION?= 82
TK_VERSION?= 82
-.if defined(WITH_TCL_JP)
+.if defined(WITH_TCLTK_JP)
TCL_CATEGORY= japanese
TK_CATEGORY= japanese
TCL_JP= jp
@@ -56,35 +49,23 @@ TK_LIB= tk${TK_VERSION}${TCL_JP}
TCL_DIR= `echo "${TCL_LIB}" | ${SED} 's/\([0-9]\)\([0-9]\)/\1.\2/'`
TK_DIR= `echo "${TK_LIB}" | ${SED} 's/\([0-9]\)\([0-9]\)/\1.\2/'`
-RUBY?= ${LOCALBASE}/bin/ruby
-EXTS= tcltklib tk
-
-do-configure:
-.for dir in ${EXTS}
- @${ECHO_MSG} "Configuring in ${dir}..."
- @cd ${WRKSRC}/${dir}; ${SETENV} ${CONFIGURE_ENV} ${RUBY} extconf.rb ${CONFIGURE_ARGS}
-.endfor
-
-do-build:
-.for dir in ${EXTS}
- @${ECHO_MSG} "Building in ${dir}..."
- @cd ${WRKSRC}/${dir}; ${SETENV} ${MAKE_ENV} ${MAKE} ${ALL_TARGET}
-.endfor
+.include <bsd.port.pre.mk>
+.include "${PORTSDIR}/Mk/bsd.ruby.mk"
-do-install:
-.for dir in ${EXTS}
- @${ECHO_MSG} "Installing in ${dir}..."
- @cd ${WRKSRC}/${dir}; ${SETENV} ${MAKE_ENV} ${MAKE} ${INSTALL_TARGET}
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${EXAMPLESDIR}/${dir}
- ${INSTALL_DATA} ${WRKSRC}/${dir}/sample/* ${EXAMPLESDIR}/${dir}
+.if defined(PKGNAMEPREFIX)
+PKGNAMEPREFIX:= ${PKGNAMEPREFIX}${RUBY_PKGNAMEPREFIX}
+.else
+PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
.endif
-.endfor
+
+post-install:
.if !defined(NOPORTDOCS)
- ${MKDIR} ${EXAMPLESDIR}/tcltklib/demo
- ${INSTALL_DATA} ${WRKSRC}/tcltklib/demo/* ${EXAMPLESDIR}/tcltklib/demo
- ${MKDIR} ${DOCDIR}/tcltklib
- ${INSTALL_DATA} ${WRKSRC}/tcltklib/*.euc ${DOCDIR}/tcltklib
+ ${MKDIR} ${RUBY_EXAMPLESDIR}/tcltklib
+ ${INSTALL_DATA} ${WRKSRC}/sample/* ${RUBY_EXAMPLESDIR}/tcltklib/
+ ${MKDIR} ${RUBY_EXAMPLESDIR}/tcltklib/demo
+ ${INSTALL_DATA} ${WRKSRC}/demo/* ${RUBY_EXAMPLESDIR}/tcltklib/demo/
+ ${MKDIR} ${RUBY_DOCDIR}/tcltklib/ja
+ ${INSTALL_DATA} ${WRKSRC}/*.euc ${RUBY_DOCDIR}/tcltklib/ja/
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/lang/ruby-tcltklib/pkg-descr b/lang/ruby-tcltklib/pkg-descr
index 5338175ce86d..6929ce977cd7 100644
--- a/lang/ruby-tcltklib/pkg-descr
+++ b/lang/ruby-tcltklib/pkg-descr
@@ -1,4 +1,4 @@
-This is Ruby/Tk, a Ruby interface to Tcl/Tk libraries.
+This is Ruby/TclTkLib, a Ruby interface to Tcl/Tk libraries.
It's a part of the official Ruby distribution.
- Yasuhiro Fukuma
diff --git a/lang/ruby-tcltklib/pkg-plist b/lang/ruby-tcltklib/pkg-plist
index 8f13229dd143..ef274c185f5f 100644
--- a/lang/ruby-tcltklib/pkg-plist
+++ b/lang/ruby-tcltklib/pkg-plist
@@ -1,38 +1,16 @@
-lib/ruby/%%RUBY_VER%%/%%RUBY_ARCH%%/tcltklib.so
-lib/ruby/%%RUBY_VER%%/%%RUBY_ARCH%%/tkutil.so
-lib/ruby/%%RUBY_VER%%/tcltk.rb
-lib/ruby/%%RUBY_VER%%/tk.rb
-lib/ruby/%%RUBY_VER%%/tkafter.rb
-lib/ruby/%%RUBY_VER%%/tkbgerror.rb
-lib/ruby/%%RUBY_VER%%/tkcanvas.rb
-lib/ruby/%%RUBY_VER%%/tkclass.rb
-lib/ruby/%%RUBY_VER%%/tkdialog.rb
-lib/ruby/%%RUBY_VER%%/tkentry.rb
-lib/ruby/%%RUBY_VER%%/tkfont.rb
-lib/ruby/%%RUBY_VER%%/tkmenubar.rb
-lib/ruby/%%RUBY_VER%%/tkmngfocus.rb
-lib/ruby/%%RUBY_VER%%/tkpalette.rb
-lib/ruby/%%RUBY_VER%%/tkscrollbox.rb
-lib/ruby/%%RUBY_VER%%/tktext.rb
-lib/ruby/%%RUBY_VER%%/tkvirtevent.rb
-share/doc/ruby/tcltklib/MANUAL.euc
-share/doc/ruby/tcltklib/README.euc
-@dirrm share/doc/ruby/tcltklib
-share/examples/ruby/tcltklib/batsu.gif
-share/examples/ruby/tcltklib/maru.gif
-share/examples/ruby/tcltklib/sample0.rb
-share/examples/ruby/tcltklib/sample1.rb
-share/examples/ruby/tcltklib/sample2.rb
-share/examples/ruby/tcltklib/demo/lines0.tcl
-share/examples/ruby/tcltklib/demo/lines1.rb
-share/examples/ruby/tcltklib/demo/lines2.rb
-@dirrm share/examples/ruby/tcltklib/demo
-@dirrm share/examples/ruby/tcltklib
-share/examples/ruby/tk/tkbiff.rb
-share/examples/ruby/tk/tkbrowse.rb
-share/examples/ruby/tk/tkdialog.rb
-share/examples/ruby/tk/tkfrom.rb
-share/examples/ruby/tk/tkhello.rb
-share/examples/ruby/tk/tkline.rb
-share/examples/ruby/tk/tktimer.rb
-@dirrm share/examples/ruby/tk
+%%RUBY_ARCHLIBDIR%%/tcltklib.so
+%%RUBY_LIBDIR%%/tcltk.rb
+%%RUBY_DOCDIR%%/tcltklib/ja/MANUAL.euc
+%%RUBY_DOCDIR%%/tcltklib/ja/README.euc
+@dirrm %%RUBY_DOCDIR%%/tcltklib/ja
+@dirrm %%RUBY_DOCDIR%%/tcltklib
+%%RUBY_EXAMPLESDIR%%/tcltklib/batsu.gif
+%%RUBY_EXAMPLESDIR%%/tcltklib/maru.gif
+%%RUBY_EXAMPLESDIR%%/tcltklib/sample0.rb
+%%RUBY_EXAMPLESDIR%%/tcltklib/sample1.rb
+%%RUBY_EXAMPLESDIR%%/tcltklib/sample2.rb
+%%RUBY_EXAMPLESDIR%%/tcltklib/demo/lines0.tcl
+%%RUBY_EXAMPLESDIR%%/tcltklib/demo/lines1.rb
+%%RUBY_EXAMPLESDIR%%/tcltklib/demo/lines2.rb
+@dirrm %%RUBY_EXAMPLESDIR%%/tcltklib/demo
+@dirrm %%RUBY_EXAMPLESDIR%%/tcltklib
diff --git a/lang/ruby14-tcltklib/Makefile b/lang/ruby14-tcltklib/Makefile
index 69aaf6ed7a94..c2bcd743a0bb 100644
--- a/lang/ruby14-tcltklib/Makefile
+++ b/lang/ruby14-tcltklib/Makefile
@@ -1,47 +1,42 @@
-# New ports collection makefile for: rubytk
+# New ports collection makefile for: ruby-tcltklib
# Date created: 15 March 1999
# Whom: Yasuhiro Fukuma <yasuf@big.or.jp>
#
# $FreeBSD$
#
-PORTNAME= rubytk
-PORTVERSION= 1.4.6
-CATEGORIES+= x11-toolkits ruby
+PORTNAME= tcltklib
+PORTVERSION= ${RUBY_VERSION}
+CATEGORIES+= lang x11-toolkits ruby tcl${TCL_VERSION} tk${TK_VERSION}
MASTER_SITES= ${MASTER_SITE_RUBY}
-MASTER_SITE_SUBDIR= 1.4
+MASTER_SITE_SUBDIR= ${RUBY_VER}
DISTNAME= ruby-${PORTVERSION}
DIST_SUBDIR= ruby
MAINTAINER?= yasuf@bsdclub.org
-BUILD_DEPENDS= ruby:${PORTSDIR}/lang/ruby
-RUN_DEPENDS= ruby:${PORTSDIR}/lang/ruby
LIB_DEPENDS= ${TCL_LIB}.1:${PORTSDIR}/${TCL_CATEGORY}/tcl${TCL_VERSION} \
${TK_LIB}.1:${PORTSDIR}/${TK_CATEGORY}/tk${TK_VERSION}
+RUBY_VER= 1.4
+
+USE_RUBY= yes
+USE_RUBY_EXTCONF= yes
USE_XLIB= yes
-WRKSRC= ${WRKDIR}/${DISTNAME}/ext
+WRKSRC= ${WRKDIR}/${DISTNAME}/ext/tcltklib
CONFIGURE_ARGS= --with-tcllib="${TCL_LIB}" --with-tklib="${TK_LIB}" \
--with-tcl-lib="${LOCALBASE}/lib/${TCL_DIR}" \
--with-tk-lib="${LOCALBASE}/lib/${TK_DIR}" \
--with-tcl-include="${LOCALBASE}/include/${TCL_DIR}" \
--with-tk-include="${LOCALBASE}/include/${TK_DIR}" \
--with-X11-dir="${X11BASE}"
-PLIST_SUB+= RUBY_VER="${RUBY_VER}" RUBY_ARCH="${RUBY_ARCH}"
-
-RUBY_VER?= 1.4
-RUBY_ARCH?= ${ARCH}-freebsd${OSREL}
-
-DOCDIR= ${PREFIX}/share/doc/ruby
-EXAMPLESDIR= ${PREFIX}/share/examples/ruby
# Set these vars as the version numbers (without decimal points) of Tcl/Tk
# you want to use with Ruby/Tk.
# e.g.: make TCL_VERSION=42 TK_VERSION=76 WITH_TCL_JP=yes build
TCL_VERSION?= 82
TK_VERSION?= 82
-.if defined(WITH_TCL_JP)
+.if defined(WITH_TCLTK_JP)
TCL_CATEGORY= japanese
TK_CATEGORY= japanese
TCL_JP= jp
@@ -56,35 +51,23 @@ TK_LIB= tk${TK_VERSION}${TCL_JP}
TCL_DIR= `echo "${TCL_LIB}" | ${SED} 's/\([0-9]\)\([0-9]\)/\1.\2/'`
TK_DIR= `echo "${TK_LIB}" | ${SED} 's/\([0-9]\)\([0-9]\)/\1.\2/'`
-RUBY?= ${LOCALBASE}/bin/ruby
-EXTS= tcltklib tk
-
-do-configure:
-.for dir in ${EXTS}
- @${ECHO_MSG} "Configuring in ${dir}..."
- @cd ${WRKSRC}/${dir}; ${SETENV} ${CONFIGURE_ENV} ${RUBY} extconf.rb ${CONFIGURE_ARGS}
-.endfor
+.include <bsd.port.pre.mk>
+.include "${PORTSDIR}/Mk/bsd.ruby.mk"
-do-build:
-.for dir in ${EXTS}
- @${ECHO_MSG} "Building in ${dir}..."
- @cd ${WRKSRC}/${dir}; ${SETENV} ${MAKE_ENV} ${MAKE} ${ALL_TARGET}
-.endfor
-
-do-install:
-.for dir in ${EXTS}
- @${ECHO_MSG} "Installing in ${dir}..."
- @cd ${WRKSRC}/${dir}; ${SETENV} ${MAKE_ENV} ${MAKE} ${INSTALL_TARGET}
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${EXAMPLESDIR}/${dir}
- ${INSTALL_DATA} ${WRKSRC}/${dir}/sample/* ${EXAMPLESDIR}/${dir}
+.if defined(PKGNAMEPREFIX)
+PKGNAMEPREFIX:= ${PKGNAMEPREFIX}${RUBY_PKGNAMEPREFIX}
+.else
+PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
.endif
-.endfor
+
+post-install:
.if !defined(NOPORTDOCS)
- ${MKDIR} ${EXAMPLESDIR}/tcltklib/demo
- ${INSTALL_DATA} ${WRKSRC}/tcltklib/demo/* ${EXAMPLESDIR}/tcltklib/demo
- ${MKDIR} ${DOCDIR}/tcltklib
- ${INSTALL_DATA} ${WRKSRC}/tcltklib/*.euc ${DOCDIR}/tcltklib
+ ${MKDIR} ${RUBY_EXAMPLESDIR}/tcltklib
+ ${INSTALL_DATA} ${WRKSRC}/sample/* ${RUBY_EXAMPLESDIR}/tcltklib/
+ ${MKDIR} ${RUBY_EXAMPLESDIR}/tcltklib/demo
+ ${INSTALL_DATA} ${WRKSRC}/demo/* ${RUBY_EXAMPLESDIR}/tcltklib/demo/
+ ${MKDIR} ${RUBY_DOCDIR}/tcltklib/ja
+ ${INSTALL_DATA} ${WRKSRC}/*.euc ${RUBY_DOCDIR}/tcltklib/ja/
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/lang/ruby14-tcltklib/pkg-descr b/lang/ruby14-tcltklib/pkg-descr
index 5338175ce86d..6929ce977cd7 100644
--- a/lang/ruby14-tcltklib/pkg-descr
+++ b/lang/ruby14-tcltklib/pkg-descr
@@ -1,4 +1,4 @@
-This is Ruby/Tk, a Ruby interface to Tcl/Tk libraries.
+This is Ruby/TclTkLib, a Ruby interface to Tcl/Tk libraries.
It's a part of the official Ruby distribution.
- Yasuhiro Fukuma
diff --git a/lang/ruby14-tcltklib/pkg-plist b/lang/ruby14-tcltklib/pkg-plist
index 8f13229dd143..ef274c185f5f 100644
--- a/lang/ruby14-tcltklib/pkg-plist
+++ b/lang/ruby14-tcltklib/pkg-plist
@@ -1,38 +1,16 @@
-lib/ruby/%%RUBY_VER%%/%%RUBY_ARCH%%/tcltklib.so
-lib/ruby/%%RUBY_VER%%/%%RUBY_ARCH%%/tkutil.so
-lib/ruby/%%RUBY_VER%%/tcltk.rb
-lib/ruby/%%RUBY_VER%%/tk.rb
-lib/ruby/%%RUBY_VER%%/tkafter.rb
-lib/ruby/%%RUBY_VER%%/tkbgerror.rb
-lib/ruby/%%RUBY_VER%%/tkcanvas.rb
-lib/ruby/%%RUBY_VER%%/tkclass.rb
-lib/ruby/%%RUBY_VER%%/tkdialog.rb
-lib/ruby/%%RUBY_VER%%/tkentry.rb
-lib/ruby/%%RUBY_VER%%/tkfont.rb
-lib/ruby/%%RUBY_VER%%/tkmenubar.rb
-lib/ruby/%%RUBY_VER%%/tkmngfocus.rb
-lib/ruby/%%RUBY_VER%%/tkpalette.rb
-lib/ruby/%%RUBY_VER%%/tkscrollbox.rb
-lib/ruby/%%RUBY_VER%%/tktext.rb
-lib/ruby/%%RUBY_VER%%/tkvirtevent.rb
-share/doc/ruby/tcltklib/MANUAL.euc
-share/doc/ruby/tcltklib/README.euc
-@dirrm share/doc/ruby/tcltklib
-share/examples/ruby/tcltklib/batsu.gif
-share/examples/ruby/tcltklib/maru.gif
-share/examples/ruby/tcltklib/sample0.rb
-share/examples/ruby/tcltklib/sample1.rb
-share/examples/ruby/tcltklib/sample2.rb
-share/examples/ruby/tcltklib/demo/lines0.tcl
-share/examples/ruby/tcltklib/demo/lines1.rb
-share/examples/ruby/tcltklib/demo/lines2.rb
-@dirrm share/examples/ruby/tcltklib/demo
-@dirrm share/examples/ruby/tcltklib
-share/examples/ruby/tk/tkbiff.rb
-share/examples/ruby/tk/tkbrowse.rb
-share/examples/ruby/tk/tkdialog.rb
-share/examples/ruby/tk/tkfrom.rb
-share/examples/ruby/tk/tkhello.rb
-share/examples/ruby/tk/tkline.rb
-share/examples/ruby/tk/tktimer.rb
-@dirrm share/examples/ruby/tk
+%%RUBY_ARCHLIBDIR%%/tcltklib.so
+%%RUBY_LIBDIR%%/tcltk.rb
+%%RUBY_DOCDIR%%/tcltklib/ja/MANUAL.euc
+%%RUBY_DOCDIR%%/tcltklib/ja/README.euc
+@dirrm %%RUBY_DOCDIR%%/tcltklib/ja
+@dirrm %%RUBY_DOCDIR%%/tcltklib
+%%RUBY_EXAMPLESDIR%%/tcltklib/batsu.gif
+%%RUBY_EXAMPLESDIR%%/tcltklib/maru.gif
+%%RUBY_EXAMPLESDIR%%/tcltklib/sample0.rb
+%%RUBY_EXAMPLESDIR%%/tcltklib/sample1.rb
+%%RUBY_EXAMPLESDIR%%/tcltklib/sample2.rb
+%%RUBY_EXAMPLESDIR%%/tcltklib/demo/lines0.tcl
+%%RUBY_EXAMPLESDIR%%/tcltklib/demo/lines1.rb
+%%RUBY_EXAMPLESDIR%%/tcltklib/demo/lines2.rb
+@dirrm %%RUBY_EXAMPLESDIR%%/tcltklib/demo
+@dirrm %%RUBY_EXAMPLESDIR%%/tcltklib
diff --git a/x11-toolkits/Makefile b/x11-toolkits/Makefile
index f87427946b9e..a90fda9887cf 100644
--- a/x11-toolkits/Makefile
+++ b/x11-toolkits/Makefile
@@ -68,7 +68,8 @@
SUBDIR += ruby-gtk
SUBDIR += ruby-qt
SUBDIR += ruby-qt-i18n
- SUBDIR += rubytk
+ SUBDIR += ruby-tk
+ SUBDIR += ruby14-tk
SUBDIR += slingshot
SUBDIR += thinice
SUBDIR += tix
diff --git a/x11-toolkits/ruby-tk/Makefile b/x11-toolkits/ruby-tk/Makefile
index 69aaf6ed7a94..6b8a035ebf67 100644
--- a/x11-toolkits/ruby-tk/Makefile
+++ b/x11-toolkits/ruby-tk/Makefile
@@ -1,90 +1,48 @@
-# New ports collection makefile for: rubytk
+# New ports collection makefile for: ruby-tk
# Date created: 15 March 1999
# Whom: Yasuhiro Fukuma <yasuf@big.or.jp>
#
# $FreeBSD$
#
-PORTNAME= rubytk
-PORTVERSION= 1.4.6
-CATEGORIES+= x11-toolkits ruby
+PORTNAME= tk
+PORTVERSION= ${RUBY_VERSION}.p3
+CATEGORIES+= x11-toolkits ruby tk${TK_VERSION}
MASTER_SITES= ${MASTER_SITE_RUBY}
-MASTER_SITE_SUBDIR= 1.4
-DISTNAME= ruby-${PORTVERSION}
+#MASTER_SITE_SUBDIR= ${RUBY_VER}
+PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
+DISTNAME= ruby-${PORTVERSION:S/.p/-preview/}
DIST_SUBDIR= ruby
MAINTAINER?= yasuf@bsdclub.org
-BUILD_DEPENDS= ruby:${PORTSDIR}/lang/ruby
-RUN_DEPENDS= ruby:${PORTSDIR}/lang/ruby
-LIB_DEPENDS= ${TCL_LIB}.1:${PORTSDIR}/${TCL_CATEGORY}/tcl${TCL_VERSION} \
- ${TK_LIB}.1:${PORTSDIR}/${TK_CATEGORY}/tk${TK_VERSION}
+RUN_DEPENDS= ${RUBY_ARCHLIBDIR}/tcltklib.so:${PORTSDIR}/${TCLTKLIB_CATEGORY}/ruby-tcltklib
-USE_XLIB= yes
-WRKSRC= ${WRKDIR}/${DISTNAME}/ext
-CONFIGURE_ARGS= --with-tcllib="${TCL_LIB}" --with-tklib="${TK_LIB}" \
- --with-tcl-lib="${LOCALBASE}/lib/${TCL_DIR}" \
- --with-tk-lib="${LOCALBASE}/lib/${TK_DIR}" \
- --with-tcl-include="${LOCALBASE}/include/${TCL_DIR}" \
- --with-tk-include="${LOCALBASE}/include/${TK_DIR}" \
- --with-X11-dir="${X11BASE}"
-PLIST_SUB+= RUBY_VER="${RUBY_VER}" RUBY_ARCH="${RUBY_ARCH}"
+WRKSRC= ${WRKDIR}/ruby-${PORTVERSION:R}/ext/tk
-RUBY_VER?= 1.4
-RUBY_ARCH?= ${ARCH}-freebsd${OSREL}
+USE_RUBY= yes
+USE_RUBY_EXTCONF= yes
-DOCDIR= ${PREFIX}/share/doc/ruby
-EXAMPLESDIR= ${PREFIX}/share/examples/ruby
-
-# Set these vars as the version numbers (without decimal points) of Tcl/Tk
-# you want to use with Ruby/Tk.
-# e.g.: make TCL_VERSION=42 TK_VERSION=76 WITH_TCL_JP=yes build
-TCL_VERSION?= 82
TK_VERSION?= 82
-.if defined(WITH_TCL_JP)
-TCL_CATEGORY= japanese
-TK_CATEGORY= japanese
-TCL_JP= jp
+.if defined(WITH_TCLTK_JP)
+TCLTKLIB_CATEGORY?= japanese
.else
-TCL_CATEGORY= lang
-TK_CATEGORY= x11-toolkits
-TCL_JP= # empty
+TCLTKLIB_CATEGORY?= lang
.endif
-TCL_LIB= tcl${TCL_VERSION}${TCL_JP}
-TK_LIB= tk${TK_VERSION}${TCL_JP}
-TCL_DIR= `echo "${TCL_LIB}" | ${SED} 's/\([0-9]\)\([0-9]\)/\1.\2/'`
-TK_DIR= `echo "${TK_LIB}" | ${SED} 's/\([0-9]\)\([0-9]\)/\1.\2/'`
-
-RUBY?= ${LOCALBASE}/bin/ruby
-EXTS= tcltklib tk
-
-do-configure:
-.for dir in ${EXTS}
- @${ECHO_MSG} "Configuring in ${dir}..."
- @cd ${WRKSRC}/${dir}; ${SETENV} ${CONFIGURE_ENV} ${RUBY} extconf.rb ${CONFIGURE_ARGS}
-.endfor
-
-do-build:
-.for dir in ${EXTS}
- @${ECHO_MSG} "Building in ${dir}..."
- @cd ${WRKSRC}/${dir}; ${SETENV} ${MAKE_ENV} ${MAKE} ${ALL_TARGET}
-.endfor
+.include <bsd.port.pre.mk>
+.include "${PORTSDIR}/Mk/bsd.ruby.mk"
-do-install:
-.for dir in ${EXTS}
- @${ECHO_MSG} "Installing in ${dir}..."
- @cd ${WRKSRC}/${dir}; ${SETENV} ${MAKE_ENV} ${MAKE} ${INSTALL_TARGET}
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${EXAMPLESDIR}/${dir}
- ${INSTALL_DATA} ${WRKSRC}/${dir}/sample/* ${EXAMPLESDIR}/${dir}
+.if defined(PKGNAMEPREFIX)
+PKGNAMEPREFIX:= ${PKGNAMEPREFIX}${RUBY_PKGNAMEPREFIX}
+.else
+PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
.endif
-.endfor
+
+post-install:
.if !defined(NOPORTDOCS)
- ${MKDIR} ${EXAMPLESDIR}/tcltklib/demo
- ${INSTALL_DATA} ${WRKSRC}/tcltklib/demo/* ${EXAMPLESDIR}/tcltklib/demo
- ${MKDIR} ${DOCDIR}/tcltklib
- ${INSTALL_DATA} ${WRKSRC}/tcltklib/*.euc ${DOCDIR}/tcltklib
+ ${MKDIR} ${RUBY_EXAMPLESDIR}/tk
+ ${INSTALL_DATA} ${WRKSRC}/sample/* ${RUBY_EXAMPLESDIR}/tk/
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/x11-toolkits/ruby-tk/pkg-comment b/x11-toolkits/ruby-tk/pkg-comment
index 0048c6b238ee..b5d8d2d5dc56 100644
--- a/x11-toolkits/ruby-tk/pkg-comment
+++ b/x11-toolkits/ruby-tk/pkg-comment
@@ -1 +1 @@
-A Ruby interface to Tcl/Tk libraries
+Ruby interface to the Tk widget set
diff --git a/x11-toolkits/ruby-tk/pkg-descr b/x11-toolkits/ruby-tk/pkg-descr
index 5338175ce86d..598f3c253bd7 100644
--- a/x11-toolkits/ruby-tk/pkg-descr
+++ b/x11-toolkits/ruby-tk/pkg-descr
@@ -1,4 +1,4 @@
-This is Ruby/Tk, a Ruby interface to Tcl/Tk libraries.
+This is Ruby/Tk, a Ruby interface to the Tk widget set.
It's a part of the official Ruby distribution.
- Yasuhiro Fukuma
diff --git a/x11-toolkits/ruby-tk/pkg-plist b/x11-toolkits/ruby-tk/pkg-plist
index 8f13229dd143..0dfecbf1c8c0 100644
--- a/x11-toolkits/ruby-tk/pkg-plist
+++ b/x11-toolkits/ruby-tk/pkg-plist
@@ -1,38 +1,23 @@
-lib/ruby/%%RUBY_VER%%/%%RUBY_ARCH%%/tcltklib.so
-lib/ruby/%%RUBY_VER%%/%%RUBY_ARCH%%/tkutil.so
-lib/ruby/%%RUBY_VER%%/tcltk.rb
-lib/ruby/%%RUBY_VER%%/tk.rb
-lib/ruby/%%RUBY_VER%%/tkafter.rb
-lib/ruby/%%RUBY_VER%%/tkbgerror.rb
-lib/ruby/%%RUBY_VER%%/tkcanvas.rb
-lib/ruby/%%RUBY_VER%%/tkclass.rb
-lib/ruby/%%RUBY_VER%%/tkdialog.rb
-lib/ruby/%%RUBY_VER%%/tkentry.rb
-lib/ruby/%%RUBY_VER%%/tkfont.rb
-lib/ruby/%%RUBY_VER%%/tkmenubar.rb
-lib/ruby/%%RUBY_VER%%/tkmngfocus.rb
-lib/ruby/%%RUBY_VER%%/tkpalette.rb
-lib/ruby/%%RUBY_VER%%/tkscrollbox.rb
-lib/ruby/%%RUBY_VER%%/tktext.rb
-lib/ruby/%%RUBY_VER%%/tkvirtevent.rb
-share/doc/ruby/tcltklib/MANUAL.euc
-share/doc/ruby/tcltklib/README.euc
-@dirrm share/doc/ruby/tcltklib
-share/examples/ruby/tcltklib/batsu.gif
-share/examples/ruby/tcltklib/maru.gif
-share/examples/ruby/tcltklib/sample0.rb
-share/examples/ruby/tcltklib/sample1.rb
-share/examples/ruby/tcltklib/sample2.rb
-share/examples/ruby/tcltklib/demo/lines0.tcl
-share/examples/ruby/tcltklib/demo/lines1.rb
-share/examples/ruby/tcltklib/demo/lines2.rb
-@dirrm share/examples/ruby/tcltklib/demo
-@dirrm share/examples/ruby/tcltklib
-share/examples/ruby/tk/tkbiff.rb
-share/examples/ruby/tk/tkbrowse.rb
-share/examples/ruby/tk/tkdialog.rb
-share/examples/ruby/tk/tkfrom.rb
-share/examples/ruby/tk/tkhello.rb
-share/examples/ruby/tk/tkline.rb
-share/examples/ruby/tk/tktimer.rb
-@dirrm share/examples/ruby/tk
+%%RUBY_ARCHLIBDIR%%/tkutil.so
+%%RUBY_LIBDIR%%/tk.rb
+%%RUBY_LIBDIR%%/tkafter.rb
+%%RUBY_LIBDIR%%/tkbgerror.rb
+%%RUBY_LIBDIR%%/tkcanvas.rb
+%%RUBY_LIBDIR%%/tkclass.rb
+%%RUBY_LIBDIR%%/tkdialog.rb
+%%RUBY_LIBDIR%%/tkentry.rb
+%%RUBY_LIBDIR%%/tkfont.rb
+%%RUBY_LIBDIR%%/tkmenubar.rb
+%%RUBY_LIBDIR%%/tkmngfocus.rb
+%%RUBY_LIBDIR%%/tkpalette.rb
+%%RUBY_LIBDIR%%/tkscrollbox.rb
+%%RUBY_LIBDIR%%/tktext.rb
+%%RUBY_LIBDIR%%/tkvirtevent.rb
+%%RUBY_EXAMPLESDIR%%/tk/tkbiff.rb
+%%RUBY_EXAMPLESDIR%%/tk/tkbrowse.rb
+%%RUBY_EXAMPLESDIR%%/tk/tkdialog.rb
+%%RUBY_EXAMPLESDIR%%/tk/tkfrom.rb
+%%RUBY_EXAMPLESDIR%%/tk/tkhello.rb
+%%RUBY_EXAMPLESDIR%%/tk/tkline.rb
+%%RUBY_EXAMPLESDIR%%/tk/tktimer.rb
+@dirrm %%RUBY_EXAMPLESDIR%%/tk
diff --git a/x11-toolkits/ruby14-tk/Makefile b/x11-toolkits/ruby14-tk/Makefile
index 69aaf6ed7a94..a36920d45698 100644
--- a/x11-toolkits/ruby14-tk/Makefile
+++ b/x11-toolkits/ruby14-tk/Makefile
@@ -1,90 +1,50 @@
-# New ports collection makefile for: rubytk
+# New ports collection makefile for: ruby-tk
# Date created: 15 March 1999
# Whom: Yasuhiro Fukuma <yasuf@big.or.jp>
#
# $FreeBSD$
#
-PORTNAME= rubytk
-PORTVERSION= 1.4.6
-CATEGORIES+= x11-toolkits ruby
+PORTNAME= tk
+PORTVERSION= ${RUBY_VERSION}
+CATEGORIES+= x11-toolkits ruby tk${TK_VERSION}
MASTER_SITES= ${MASTER_SITE_RUBY}
-MASTER_SITE_SUBDIR= 1.4
+MASTER_SITE_SUBDIR= ${RUBY_VER}
+PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DISTNAME= ruby-${PORTVERSION}
DIST_SUBDIR= ruby
MAINTAINER?= yasuf@bsdclub.org
-BUILD_DEPENDS= ruby:${PORTSDIR}/lang/ruby
-RUN_DEPENDS= ruby:${PORTSDIR}/lang/ruby
-LIB_DEPENDS= ${TCL_LIB}.1:${PORTSDIR}/${TCL_CATEGORY}/tcl${TCL_VERSION} \
- ${TK_LIB}.1:${PORTSDIR}/${TK_CATEGORY}/tk${TK_VERSION}
+RUN_DEPENDS= ${RUBY_ARCHLIBDIR}/tcltklib.so:${PORTSDIR}/${TCLTKLIB_CATEGORY}/ruby14-tcltklib
-USE_XLIB= yes
-WRKSRC= ${WRKDIR}/${DISTNAME}/ext
-CONFIGURE_ARGS= --with-tcllib="${TCL_LIB}" --with-tklib="${TK_LIB}" \
- --with-tcl-lib="${LOCALBASE}/lib/${TCL_DIR}" \
- --with-tk-lib="${LOCALBASE}/lib/${TK_DIR}" \
- --with-tcl-include="${LOCALBASE}/include/${TCL_DIR}" \
- --with-tk-include="${LOCALBASE}/include/${TK_DIR}" \
- --with-X11-dir="${X11BASE}"
-PLIST_SUB+= RUBY_VER="${RUBY_VER}" RUBY_ARCH="${RUBY_ARCH}"
+WRKSRC= ${WRKDIR}/${DISTNAME}/ext/tk
-RUBY_VER?= 1.4
-RUBY_ARCH?= ${ARCH}-freebsd${OSREL}
+RUBY_VER= 1.4
-DOCDIR= ${PREFIX}/share/doc/ruby
-EXAMPLESDIR= ${PREFIX}/share/examples/ruby
+USE_RUBY= yes
+USE_RUBY_EXTCONF= yes
-# Set these vars as the version numbers (without decimal points) of Tcl/Tk
-# you want to use with Ruby/Tk.
-# e.g.: make TCL_VERSION=42 TK_VERSION=76 WITH_TCL_JP=yes build
-TCL_VERSION?= 82
TK_VERSION?= 82
-.if defined(WITH_TCL_JP)
-TCL_CATEGORY= japanese
-TK_CATEGORY= japanese
-TCL_JP= jp
+.if defined(WITH_TCLTK_JP)
+TCLTKLIB_CATEGORY?= japanese
.else
-TCL_CATEGORY= lang
-TK_CATEGORY= x11-toolkits
-TCL_JP= # empty
+TCLTKLIB_CATEGORY?= lang
.endif
-TCL_LIB= tcl${TCL_VERSION}${TCL_JP}
-TK_LIB= tk${TK_VERSION}${TCL_JP}
-TCL_DIR= `echo "${TCL_LIB}" | ${SED} 's/\([0-9]\)\([0-9]\)/\1.\2/'`
-TK_DIR= `echo "${TK_LIB}" | ${SED} 's/\([0-9]\)\([0-9]\)/\1.\2/'`
+.include <bsd.port.pre.mk>
+.include "${PORTSDIR}/Mk/bsd.ruby.mk"
-RUBY?= ${LOCALBASE}/bin/ruby
-EXTS= tcltklib tk
-
-do-configure:
-.for dir in ${EXTS}
- @${ECHO_MSG} "Configuring in ${dir}..."
- @cd ${WRKSRC}/${dir}; ${SETENV} ${CONFIGURE_ENV} ${RUBY} extconf.rb ${CONFIGURE_ARGS}
-.endfor
-
-do-build:
-.for dir in ${EXTS}
- @${ECHO_MSG} "Building in ${dir}..."
- @cd ${WRKSRC}/${dir}; ${SETENV} ${MAKE_ENV} ${MAKE} ${ALL_TARGET}
-.endfor
-
-do-install:
-.for dir in ${EXTS}
- @${ECHO_MSG} "Installing in ${dir}..."
- @cd ${WRKSRC}/${dir}; ${SETENV} ${MAKE_ENV} ${MAKE} ${INSTALL_TARGET}
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${EXAMPLESDIR}/${dir}
- ${INSTALL_DATA} ${WRKSRC}/${dir}/sample/* ${EXAMPLESDIR}/${dir}
+.if defined(PKGNAMEPREFIX)
+PKGNAMEPREFIX:= ${PKGNAMEPREFIX}${RUBY_PKGNAMEPREFIX}
+.else
+PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
.endif
-.endfor
+
+post-install:
.if !defined(NOPORTDOCS)
- ${MKDIR} ${EXAMPLESDIR}/tcltklib/demo
- ${INSTALL_DATA} ${WRKSRC}/tcltklib/demo/* ${EXAMPLESDIR}/tcltklib/demo
- ${MKDIR} ${DOCDIR}/tcltklib
- ${INSTALL_DATA} ${WRKSRC}/tcltklib/*.euc ${DOCDIR}/tcltklib
+ ${MKDIR} ${RUBY_EXAMPLESDIR}/tk
+ ${INSTALL_DATA} ${WRKSRC}/sample/* ${RUBY_EXAMPLESDIR}/tk/
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/x11-toolkits/ruby14-tk/pkg-comment b/x11-toolkits/ruby14-tk/pkg-comment
index 0048c6b238ee..b5d8d2d5dc56 100644
--- a/x11-toolkits/ruby14-tk/pkg-comment
+++ b/x11-toolkits/ruby14-tk/pkg-comment
@@ -1 +1 @@
-A Ruby interface to Tcl/Tk libraries
+Ruby interface to the Tk widget set
diff --git a/x11-toolkits/ruby14-tk/pkg-descr b/x11-toolkits/ruby14-tk/pkg-descr
index 5338175ce86d..598f3c253bd7 100644
--- a/x11-toolkits/ruby14-tk/pkg-descr
+++ b/x11-toolkits/ruby14-tk/pkg-descr
@@ -1,4 +1,4 @@
-This is Ruby/Tk, a Ruby interface to Tcl/Tk libraries.
+This is Ruby/Tk, a Ruby interface to the Tk widget set.
It's a part of the official Ruby distribution.
- Yasuhiro Fukuma
diff --git a/x11-toolkits/ruby14-tk/pkg-plist b/x11-toolkits/ruby14-tk/pkg-plist
index 8f13229dd143..0dfecbf1c8c0 100644
--- a/x11-toolkits/ruby14-tk/pkg-plist
+++ b/x11-toolkits/ruby14-tk/pkg-plist
@@ -1,38 +1,23 @@
-lib/ruby/%%RUBY_VER%%/%%RUBY_ARCH%%/tcltklib.so
-lib/ruby/%%RUBY_VER%%/%%RUBY_ARCH%%/tkutil.so
-lib/ruby/%%RUBY_VER%%/tcltk.rb
-lib/ruby/%%RUBY_VER%%/tk.rb
-lib/ruby/%%RUBY_VER%%/tkafter.rb
-lib/ruby/%%RUBY_VER%%/tkbgerror.rb
-lib/ruby/%%RUBY_VER%%/tkcanvas.rb
-lib/ruby/%%RUBY_VER%%/tkclass.rb
-lib/ruby/%%RUBY_VER%%/tkdialog.rb
-lib/ruby/%%RUBY_VER%%/tkentry.rb
-lib/ruby/%%RUBY_VER%%/tkfont.rb
-lib/ruby/%%RUBY_VER%%/tkmenubar.rb
-lib/ruby/%%RUBY_VER%%/tkmngfocus.rb
-lib/ruby/%%RUBY_VER%%/tkpalette.rb
-lib/ruby/%%RUBY_VER%%/tkscrollbox.rb
-lib/ruby/%%RUBY_VER%%/tktext.rb
-lib/ruby/%%RUBY_VER%%/tkvirtevent.rb
-share/doc/ruby/tcltklib/MANUAL.euc
-share/doc/ruby/tcltklib/README.euc
-@dirrm share/doc/ruby/tcltklib
-share/examples/ruby/tcltklib/batsu.gif
-share/examples/ruby/tcltklib/maru.gif
-share/examples/ruby/tcltklib/sample0.rb
-share/examples/ruby/tcltklib/sample1.rb
-share/examples/ruby/tcltklib/sample2.rb
-share/examples/ruby/tcltklib/demo/lines0.tcl
-share/examples/ruby/tcltklib/demo/lines1.rb
-share/examples/ruby/tcltklib/demo/lines2.rb
-@dirrm share/examples/ruby/tcltklib/demo
-@dirrm share/examples/ruby/tcltklib
-share/examples/ruby/tk/tkbiff.rb
-share/examples/ruby/tk/tkbrowse.rb
-share/examples/ruby/tk/tkdialog.rb
-share/examples/ruby/tk/tkfrom.rb
-share/examples/ruby/tk/tkhello.rb
-share/examples/ruby/tk/tkline.rb
-share/examples/ruby/tk/tktimer.rb
-@dirrm share/examples/ruby/tk
+%%RUBY_ARCHLIBDIR%%/tkutil.so
+%%RUBY_LIBDIR%%/tk.rb
+%%RUBY_LIBDIR%%/tkafter.rb
+%%RUBY_LIBDIR%%/tkbgerror.rb
+%%RUBY_LIBDIR%%/tkcanvas.rb
+%%RUBY_LIBDIR%%/tkclass.rb
+%%RUBY_LIBDIR%%/tkdialog.rb
+%%RUBY_LIBDIR%%/tkentry.rb
+%%RUBY_LIBDIR%%/tkfont.rb
+%%RUBY_LIBDIR%%/tkmenubar.rb
+%%RUBY_LIBDIR%%/tkmngfocus.rb
+%%RUBY_LIBDIR%%/tkpalette.rb
+%%RUBY_LIBDIR%%/tkscrollbox.rb
+%%RUBY_LIBDIR%%/tktext.rb
+%%RUBY_LIBDIR%%/tkvirtevent.rb
+%%RUBY_EXAMPLESDIR%%/tk/tkbiff.rb
+%%RUBY_EXAMPLESDIR%%/tk/tkbrowse.rb
+%%RUBY_EXAMPLESDIR%%/tk/tkdialog.rb
+%%RUBY_EXAMPLESDIR%%/tk/tkfrom.rb
+%%RUBY_EXAMPLESDIR%%/tk/tkhello.rb
+%%RUBY_EXAMPLESDIR%%/tk/tkline.rb
+%%RUBY_EXAMPLESDIR%%/tk/tktimer.rb
+@dirrm %%RUBY_EXAMPLESDIR%%/tk