pkgsrc/devel/ruby-ncurses/Makefile
xtraeme 2299d05aaf 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".
2006-01-26 23:00:51 +00:00

30 lines
847 B
Makefile

# $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
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"