blob: 58a5dca45c396894f32cca85dbaa500efd8e93ea (
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
34
|
# $NetBSD: Makefile,v 1.10 2006/12/06 16:28:18 taca Exp $
#
DISTNAME= ${RUBY_DISTNAME}
PKGNAME= ${RUBY_PKGPREFIX}-curses-${RUBY_VERSION_SUFFIX}
CATEGORIES= devel ruby
MASTER_SITES= ${MASTER_SITE_RUBY}
PATCH_SITES= ${MASTER_SITE_LOCAL}
PATCHFILES= ruby-1.8.5-curses-${RUBY18_PATCH_DATE}.patch.bz2
PATCH_DIST_STRIP= -p3
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"
|