b9680ff044
Since chanes are too much to write here, please refer http://svn.ruby-lang.org/repos/ruby/tags/v1_8_7/NEWS http://svn.ruby-lang.org/repos/ruby/tags/v1_8_7/ChangeLog http://svn.ruby-lang.org/repos/ruby/tags/v1_8_7_17/NEWS http://svn.ruby-lang.org/repos/ruby/tags/v1_8_7_17/ChangeLog
33 lines
914 B
Makefile
33 lines
914 B
Makefile
# $NetBSD: Makefile,v 1.13 2008/06/19 14:36:53 taca Exp $
|
|
#
|
|
|
|
DISTNAME= ${RUBY_DISTNAME}
|
|
PKGNAME= ${RUBY_PKGPREFIX}-curses-${RUBY_VERSION_SUFFIX}
|
|
CATEGORIES= devel ruby
|
|
MASTER_SITES= ${MASTER_SITE_RUBY}
|
|
|
|
MAINTAINER= taca@NetBSD.org
|
|
HOMEPAGE= ${RUBY_HOMEPAGE}
|
|
COMMENT= Ruby extension to curses library
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
RUBY_HAS_ARCHLIB= 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}
|
|
INSTALLATION_DIRS= ${RUBY_EG}/curses
|
|
|
|
post-install:
|
|
.for f in ${CURSES_EXAMPLES}
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/${RUBY_EG}/curses
|
|
.endfor
|
|
|
|
.include "../../lang/ruby/modules.mk"
|
|
.include "../../lang/ruby/Makefile.common"
|
|
.include "../../devel/ncurses/buildlink3.mk"
|
|
.include "../../mk/termcap.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|