blob: 8feb1940cb3f754c2a1b33451b1c673e7874ae73 (
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
|
# $NetBSD: Makefile,v 1.5 2007/03/17 16:05:02 taca Exp $
DISTNAME= ncurses-ruby-1.1
PKGNAME= ${DISTNAME:S/ncurses-ruby/${RUBY_PKGPREFIX}-ncurses/}
CATEGORIES= devel
MASTER_SITES= http://download.berlios.de/ncurses-ruby/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= rasputnik@hellooperator.net
HOMEPAGE= http://ncurses-ruby.berlios.de/
COMMENT= Ruby interface to ncurses
USE_RUBY_EXTCONF= yes
USE_NCURSES= yes # mouse functions
EXAMPLES= example.rb hello_ncurses.rb rain.rb read_line.rb \
tclock.rb test_scanw.rb
.for f in ${EXAMPLES}
REPLACE_RUBY+= example/${f}
.endfor
post-install:
${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/ncurses
${INSTALL_DATA} ${WRKSRC}/examples/LICENSES_for_examples \
${RUBY_EXAMPLESDIR}/ncurses
.for f in ${EXAMPLES}
${INSTALL_DATA} ${WRKSRC}/examples/${f} ${RUBY_EXAMPLESDIR}/ncurses
.endfor
.include "../../devel/ncurses/buildlink3.mk"
.include "../../lang/ruby/modules.mk"
.include "../../mk/bsd.pkg.mk"
|