diff options
author | taca <taca@pkgsrc.org> | 2001-06-30 08:28:50 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2001-06-30 08:28:50 +0000 |
commit | 0ac145a857622353f6276c25bbbd3bf35879f060 (patch) | |
tree | eae7c246b9cc49e0185a01f8c90887fd88112439 /x11/ruby14-tk | |
parent | 398292f78d53c29e60ece0fab91b385d463678b3 (diff) | |
download | pkgsrc-0ac145a857622353f6276c25bbbd3bf35879f060.tar.gz |
Importing Ruby 1.4 interface to the Tk widget set.
Diffstat (limited to 'x11/ruby14-tk')
-rw-r--r-- | x11/ruby14-tk/Makefile | 30 | ||||
-rw-r--r-- | x11/ruby14-tk/distinfo | 5 | ||||
-rw-r--r-- | x11/ruby14-tk/patches/patch-aa | 13 | ||||
-rw-r--r-- | x11/ruby14-tk/pkg/DESCR | 2 | ||||
-rw-r--r-- | x11/ruby14-tk/pkg/PLIST | 24 |
5 files changed, 74 insertions, 0 deletions
diff --git a/x11/ruby14-tk/Makefile b/x11/ruby14-tk/Makefile new file mode 100644 index 00000000000..71e46789761 --- /dev/null +++ b/x11/ruby14-tk/Makefile @@ -0,0 +1,30 @@ +# $NetBSD: Makefile,v 1.1.1.1 2001/06/30 08:28:50 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 1.4 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 +RUBY_VER= 1.4 + +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/ruby14-tk/distinfo b/x11/ruby14-tk/distinfo new file mode 100644 index 00000000000..96eba359f99 --- /dev/null +++ b/x11/ruby14-tk/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2001/06/30 08:28:50 taca Exp $ + +SHA1 (ruby/ruby-1.4.6.tar.gz) = 662e21cd2f6bf521a77ab179e11b669738579cc5 +Size (ruby/ruby-1.4.6.tar.gz) = 775123 bytes +SHA1 (patch-aa) = 5475a1e164c8b77ba82309ca0a3104abd3a4e78f diff --git a/x11/ruby14-tk/patches/patch-aa b/x11/ruby14-tk/patches/patch-aa new file mode 100644 index 00000000000..fa17cd28577 --- /dev/null +++ b/x11/ruby14-tk/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1.1.1 2001/06/30 08:28:50 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/ruby14-tk/pkg/DESCR b/x11/ruby14-tk/pkg/DESCR new file mode 100644 index 00000000000..6219ac7e3b4 --- /dev/null +++ b/x11/ruby14-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/ruby14-tk/pkg/PLIST b/x11/ruby14-tk/pkg/PLIST new file mode 100644 index 00000000000..3f4d1edf92d --- /dev/null +++ b/x11/ruby14-tk/pkg/PLIST @@ -0,0 +1,24 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2001/06/30 08:28:50 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 |