blob: fcabfe9d4dccb20dfd0a9d1f701c320b1f473654 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# $NetBSD: Makefile,v 1.3 2005/01/28 14:19:35 taca Exp $
#
DISTNAME= ${RUBY_DISTNAME}
PKGNAME= ${RUBY_PKGPREFIX}-curses-${RUBY_VERSION}
PKGREVISION= 1
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
RUBY_VERSION= ${RUBY16_VERSION}
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
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"
|