# $NetBSD: Makefile,v 1.3 2005/01/23 17:33:19 taca Exp $ # DISTNAME= ${RUBY_DISTNAME} PKGNAME= ${RUBY_PKGPREFIX}-curses-${RUBY_VERSION} CATEGORIES= devel ruby MASTER_SITES= ${MASTER_SITE_RUBY} MAINTAINER= taca@NetBSD.org HOMEPAGE= ${RUBY_HOMEPAGE} COMMENT= Ruby extension to curses library RUBY_VERSION_SUPPORTED= 18 RUBY_HAS_ARCHLIB= yes USE_BUILDLINK3= yes 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} ${INSTALL_DATA} ${WRKSRC}/$f ${RUBY_EXAMPLESDIR}/curses .endfor .include "../../lang/ruby/modules.mk" .include "../../lang/ruby/Makefile.common" .include "../../devel/ncurses/buildlink3.mk" .include "../../mk/bsd.pkg.mk"