diff options
author | taca <taca@pkgsrc.org> | 2001-06-30 08:20:26 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2001-06-30 08:20:26 +0000 |
commit | 10f07ff513edeba5f734001f4b9f63ebd778f1cd (patch) | |
tree | c33030b5deb7a9e6b3797e601f43336ecdfb2b10 /x11/ruby-tk | |
parent | 01854af6184650bfea3161285b371b7346e0366a (diff) | |
download | pkgsrc-10f07ff513edeba5f734001f4b9f63ebd778f1cd.tar.gz |
Importing Ruby interface to the Tk widget set.
This will be part of ruby meta-package.
Moved ruby-Tk to ruby-Tk-mixedcase in the repository [schmonz 2007-06-07]
Diffstat (limited to 'x11/ruby-tk')
-rw-r--r-- | x11/ruby-tk/Makefile | 31 | ||||
-rw-r--r-- | x11/ruby-tk/distinfo | 5 | ||||
-rw-r--r-- | x11/ruby-tk/patches/patch-aa | 13 | ||||
-rw-r--r-- | x11/ruby-tk/pkg/DESCR | 2 | ||||
-rw-r--r-- | x11/ruby-tk/pkg/PLIST | 24 |
5 files changed, 75 insertions, 0 deletions
diff --git a/x11/ruby-tk/Makefile b/x11/ruby-tk/Makefile new file mode 100644 index 00000000000..d2295c3b85a --- /dev/null +++ b/x11/ruby-tk/Makefile @@ -0,0 +1,31 @@ +# $NetBSD: Makefile,v 1.1.1.1 2001/06/30 08:20:26 taca Exp $ +# FreeBSD: ports/x11-toolkits/ruby-tk/Makefile,v 1.21 2000/10/20 19:56:04 knu Exp + +DISTNAME= ${RUBY_DISTNAME} +PKGNAME= ${RUBY_PKGNAMEPREFIX}tk-${RUBY_VERSION} +CATEGORIES= x11 +MASTER_SITES= ${MASTER_SITE_RUBY} + +MAINTAINER= taca@netbsd.org +HOMEPAGE= http://www.ruby-lang.org/en/ +COMMENT= Ruby interface to the Tk widget set + +DEPENDS+= ${RUBY_PKGNAMEPREFIX}tcltklib>=${RUBY_VERSION}:../../x11/ruby-tcltklib + +DIST_SUBDIR= ruby +WRKSRC= ${RUBY_WRKSRC}/ext/tk + +EXTRACT_ELEMENTS= ${RUBY_DISTNAME}/ext/tk +USE_RUBY_EXTCONF= yes + +#.include "../../mk/bsd.prefs.mk" + +post-patch: + @${FIND} ${WRKSRC} -name '*.orig' -exec rm -f {} \; + +post-install: + ${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/tk + ${INSTALL_DATA} ${WRKSRC}/sample/* ${RUBY_EXAMPLESDIR}/tk + +.include "../../lang/ruby-base/Makefile.common" +.include "../../mk/bsd.pkg.mk" diff --git a/x11/ruby-tk/distinfo b/x11/ruby-tk/distinfo new file mode 100644 index 00000000000..e81fa0790d0 --- /dev/null +++ b/x11/ruby-tk/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2001/06/30 08:20:26 taca Exp $ + +SHA1 (ruby/ruby-1.6.4.tar.gz) = 8cc989b1beb462e3012744e9f4e6a512e5a1d0f9 +Size (ruby/ruby-1.6.4.tar.gz) = 900164 bytes +SHA1 (patch-aa) = 5475a1e164c8b77ba82309ca0a3104abd3a4e78f diff --git a/x11/ruby-tk/patches/patch-aa b/x11/ruby-tk/patches/patch-aa new file mode 100644 index 00000000000..053ae465b9a --- /dev/null +++ b/x11/ruby-tk/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1.1.1 2001/06/30 08:20:26 taca Exp $ + +--- sample/tkbiff.rb.orig Fri Aug 13 14:37:52 1999 ++++ sample/tkbiff.rb +@@ -12,7 +12,7 @@ + if ENV['MAIL'] + $spool = ENV['MAIL'] + else +- $spool = '/usr/spool/mail/' + ENV['USER'] ++ $spool = '/var/mail/' + ENV['USER'] + end + else + $spool = ARGV[0] diff --git a/x11/ruby-tk/pkg/DESCR b/x11/ruby-tk/pkg/DESCR new file mode 100644 index 00000000000..6219ac7e3b4 --- /dev/null +++ b/x11/ruby-tk/pkg/DESCR @@ -0,0 +1,2 @@ +This is Ruby/Tk, a Ruby interface to the Tk widget set. +It's a part of the official Ruby distribution. diff --git a/x11/ruby-tk/pkg/PLIST b/x11/ruby-tk/pkg/PLIST new file mode 100644 index 00000000000..73ecbd2729c --- /dev/null +++ b/x11/ruby-tk/pkg/PLIST @@ -0,0 +1,24 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2001/06/30 08:20:26 taca Exp $ +${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 |