Initial import of ruby-ncurses from Jim Geovedi.

##

Ruby interface which provides access to the functions, macros, global
variables and constants of the ncurses library.  These are simply 
mapped to a Module named Ncurses.  Functions and external variables
are implemented as module functions of the Module Ncurses.
This commit is contained in:
couderc 2002-12-10 16:01:02 +00:00
parent 13a7400a86
commit 2b197dae55
4 changed files with 65 additions and 0 deletions

View File

@ -0,0 +1,45 @@
# $OpenBSD: Makefile,v 1.1.1.1 2002/12/10 16:01:02 couderc Exp $
COMMENT= "Ruby interface to ncurses"
VERSION= 0.6
DISTNAME= ncurses-ruby-${VERSION}
PKGNAME= ruby-ncurses-${VERSION}
CATEGORIES= devel
HOMEPAGE= http://ncurses-ruby.berlios.de/
MAINTAINER= Jim Geovedi <jim@corebsd.or.id>
# LGPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= http://download.berlios.de/ncurses-ruby/
EXTRACT_SUFX= .tar.bz2
MODULES= ruby
CONFIGURE_STYLE= simple
INSTALL_TARGET= site-install
NO_REGRESS= Yes
SUBST_VARS= OPSYS_VER
DOC_DIR= ${MODRUBY_DOCDIR}/ruby-ncurses
SAMPLE_DIR= ${MODRUBY_EXAMPLEDIR}/ruby-ncurses
post-extract:
@mkdir ${WRKSRC}/lib && mv ${WRKSRC}/ncurses.rb ${WRKSRC}/lib/
post-install:
${INSTALL_DATA_DIR} ${DOC_DIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOC_DIR}
${INSTALL_DATA_DIR} ${SAMPLE_DIR}
${INSTALL_DATA} ${WRKSRC}/examples/* ${SAMPLE_DIR}
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
MD5 (ncurses-ruby-0.6.tar.bz2) = f5a0a643f5b133d9758ecffaeb15f385
RMD160 (ncurses-ruby-0.6.tar.bz2) = f4b77d0dccbf75ac7213e14483055939b5bf3e4b
SHA1 (ncurses-ruby-0.6.tar.bz2) = c18da0b1fa1a6a7a876bdb1f707fce91a76011bc

View File

@ -0,0 +1,6 @@
Ruby interface which provides access to the functions, macros, global
variables and constants of the ncurses library. These are simply
mapped to a Module named Ncurses. Functions and external variables
are implemented as module functions of the Module Ncurses.
WWW: ${HOMEPAGE}

View File

@ -0,0 +1,11 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2002/12/10 16:01:02 couderc Exp $
lib/ruby/site_ruby/1.6/${MACHINE_ARCH}-openbsd${OPSYS_VER}/ncurses.so
lib/ruby/site_ruby/1.6/ncurses.rb
share/doc/ruby/ruby-ncurses/README
share/examples/ruby/ruby-ncurses/LICENSES_for_examples
share/examples/ruby/ruby-ncurses/example.rb
share/examples/ruby/ruby-ncurses/hello_ncurses.rb
share/examples/ruby/ruby-ncurses/rain.rb
share/examples/ruby/ruby-ncurses/tclock.rb
@dirrm share/examples/ruby/ruby-ncurses
@dirrm share/doc/ruby/ruby-ncurses