c343cf1b14
- discontinue use of RUBY_PATCH_DATE. - Introduce RUBY_PATCH_LEVEL. pkgsrc's ruby tracks Ruby's patch release and avoid to maintain its own patch files (with RUBY_PATCH_DATE). Changes are too much, please see ChangeLog file.
30 lines
837 B
Makefile
30 lines
837 B
Makefile
# $NetBSD: Makefile,v 1.11 2007/03/15 16:42:32 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
|
|
|
|
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}
|
|
|
|
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"
|