pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/ruby-ncurses Initial import of ruby-ncurses-1.0 ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/2e9badedafd4
branches: trunk
changeset: 507124:2e9badedafd4
user: xtraeme <xtraeme%pkgsrc.org@localhost>
date: Thu Jan 26 23:00:51 2006 +0000
description:
Initial import of ruby-ncurses-1.0 from pkgsrc-wip, packaged by
Rasputnik.
This ruby extension makes most functions, constants, and external
variables of the C library ncurses accessible from the Ruby
programming language.
All C functions are wrapped by module functions of a the module
"Ncurses", with exactly the same name. Additionally, C functions
expecting a WINDOW* as their first argument can also be called
as methods of the "Ncurses::WINDOW" class.
The panel library (for support of overlapping windows) is also
wrapped, in the module "Ncurses::Panel".
diffstat:
devel/ruby-ncurses/DESCR | 11 +++++++++++
devel/ruby-ncurses/Makefile | 30 ++++++++++++++++++++++++++++++
devel/ruby-ncurses/PLIST | 10 ++++++++++
devel/ruby-ncurses/distinfo | 5 +++++
4 files changed, 56 insertions(+), 0 deletions(-)
diffs (72 lines):
diff -r abbdad406fb6 -r 2e9badedafd4 devel/ruby-ncurses/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ruby-ncurses/DESCR Thu Jan 26 23:00:51 2006 +0000
@@ -0,0 +1,11 @@
+This ruby extension makes most functions, constants, and external
+variables of the C library ncurses accessible from the Ruby
+programming language.
+
+All C functions are wrapped by module functions of a the module
+"Ncurses", with exactly the same name. Additionally, C functions
+expecting a WINDOW* as their first argument can also be called
+as methods of the "Ncurses::WINDOW" class.
+
+The panel library (for support of overlapping windows) is also
+wrapped, in the module "Ncurses::Panel".
diff -r abbdad406fb6 -r 2e9badedafd4 devel/ruby-ncurses/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ruby-ncurses/Makefile Thu Jan 26 23:00:51 2006 +0000
@@ -0,0 +1,30 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/01/26 23:00:51 xtraeme Exp $
+
+DISTNAME= ncurses-ruby-1.0
+PKGNAME= ${DISTNAME:S/ncurses-ruby/${RUBY_PKGPREFIX}-ncurses/}
+CATEGORIES= devel
+MASTER_SITES= http://download.berlios.de/ncurses-ruby/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= rasputnik%hellooperator.net@localhost
+HOMEPAGE= http://ncurses-ruby.berlios.de/
+COMMENT= Ruby interface to ncurses
+
+USE_RUBY_EXTCONF= yes
+USE_NCURSES= # mouse functions
+
+EXAMPLES= example.rb hello_ncurses.rb rain.rb read_line.rb \
+ tclock.rb test_scanw.rb
+.for f in ${EXAMPLES}
+REPLACE_RUBY+= sample/$f
+.endfor
+
+post-install:
+ ${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/ncurses
+.for f in ${EXAMPLES}
+ ${INSTALL_DATA} ${WRKSRC}/examples/$f ${RUBY_EXAMPLESDIR}/ncurses
+.endfor
+
+.include "../../devel/ncurses/buildlink3.mk"
+.include "../../lang/ruby/modules.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r abbdad406fb6 -r 2e9badedafd4 devel/ruby-ncurses/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ruby-ncurses/PLIST Thu Jan 26 23:00:51 2006 +0000
@@ -0,0 +1,10 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/01/26 23:00:51 xtraeme Exp $
+${RUBY_SITEARCHLIBDIR}/ncurses_bin.${RUBY_DLEXT}
+${RUBY_SITELIBDIR}/ncurses.rb
+${RUBY_EXAMPLESDIR}/ncurses/example.rb
+${RUBY_EXAMPLESDIR}/ncurses/hello_ncurses.rb
+${RUBY_EXAMPLESDIR}/ncurses/rain.rb
+${RUBY_EXAMPLESDIR}/ncurses/read_line.rb
+${RUBY_EXAMPLESDIR}/ncurses/tclock.rb
+${RUBY_EXAMPLESDIR}/ncurses/test_scanw.rb
+@dirrm ${RUBY_EXAMPLESDIR}/ncurses
diff -r abbdad406fb6 -r 2e9badedafd4 devel/ruby-ncurses/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ruby-ncurses/distinfo Thu Jan 26 23:00:51 2006 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2006/01/26 23:00:51 xtraeme Exp $
+
+SHA1 (ncurses-ruby-1.0.tar.bz2) = 99c42b2bb0a8fc096e4bc5f7f2ffdac81fe664ab
+RMD160 (ncurses-ruby-1.0.tar.bz2) = 17102c384ca44c21f5be8ca71a2ba558bd17a423
+Size (ncurses-ruby-1.0.tar.bz2) = 46328 bytes
Home |
Main Index |
Thread Index |
Old Index