2007-03-15 17:42:32 +01:00
|
|
|
# $NetBSD: Makefile,v 1.11 2007/03/15 16:42:32 taca Exp $
|
2004-11-27 15:35:15 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= ${RUBY_DISTNAME}
|
2006-12-06 17:28:18 +01:00
|
|
|
PKGNAME= ${RUBY_PKGPREFIX}-curses-${RUBY_VERSION_SUFFIX}
|
2004-11-27 15:35:15 +01:00
|
|
|
CATEGORIES= devel ruby
|
|
|
|
MASTER_SITES= ${MASTER_SITE_RUBY}
|
|
|
|
|
|
|
|
MAINTAINER= taca@NetBSD.org
|
|
|
|
HOMEPAGE= ${RUBY_HOMEPAGE}
|
|
|
|
COMMENT= Ruby extension to curses library
|
|
|
|
|
2005-01-23 18:33:19 +01:00
|
|
|
RUBY_HAS_ARCHLIB= yes
|
2004-11-27 15:35:15 +01:00
|
|
|
USE_RUBY_EXTCONF= yes
|
|
|
|
EXTRACT_ELEMENTS= ${RUBY_DISTNAME}/ext/curses
|
|
|
|
WRKSRC= ${RUBY_WRKSRC}/ext/curses
|
|
|
|
|
|
|
|
CURSES_EXAMPLES= hello.rb rain.rb view.rb view2.rb
|
|
|
|
REPLACE_RUBY= ${CURSES_EXAMPLES}
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/curses
|
|
|
|
.for f in ${CURSES_EXAMPLES}
|
2005-03-06 13:58:04 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_EXAMPLESDIR}/curses
|
2004-11-27 15:35:15 +01:00
|
|
|
.endfor
|
|
|
|
|
|
|
|
.include "../../lang/ruby/modules.mk"
|
|
|
|
.include "../../lang/ruby/Makefile.common"
|
|
|
|
.include "../../devel/ncurses/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|