pkgsrc/devel/ruby-curses/Makefile
joerg 852712577b Rename RUBY_VERSION_SUPPORTED into _RUBY_VERSIONS_ACCEPTED to follow the
naming scheme of the other multi-version packages. Add support for the
coorresponding RUBY_VERSIONS_INCOMPATIBLE list.
2016-09-08 15:19:16 +00:00

34 lines
927 B
Makefile

# $NetBSD: Makefile,v 1.22 2016/09/08 15:19:16 joerg Exp $
#
DISTNAME= ${RUBY_DISTNAME}
PKGREVISION= 2
PKGNAME= ${RUBY_PKGPREFIX}-${RUBY_EXTNAME}-${RUBY_VERSION_FULL}
RUBY_EXTNAME= curses
CATEGORIES= devel ruby
MASTER_SITES= ${MASTER_SITE_RUBY}
MAINTAINER= taca@NetBSD.org
HOMEPAGE= ${RUBY_HOMEPAGE}
COMMENT= Ruby extension to curses library
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
RUBY_VERSIONS_ACCEPTED= 18
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 "../../mk/curses.buildlink3.mk"
.include "../../mk/termcap.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"