summaryrefslogtreecommitdiff
path: root/comms/ruby-termios/Makefile
blob: fec4f274e4d618e4abc99b4b30259f91736598d0 (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
# $NetBSD: Makefile,v 1.2 2001/02/16 13:56:23 wiz Exp $
#

DISTNAME=	ruby-termios-module-0.0.4
CATEGORIES=	comms
MASTER_SITES=	ftp://arika.org/pub/Tools/Ruby/

MAINTAINER=	sakamoto@netbsd.org
HOMEPAGE=	http://arika.org/ruby/termios.html
COMMENT=	termios module for Ruby

DEPENDS+=	ruby-1.4.*:../../lang/ruby

RUBY_VERSION=	1.4
PLIST_SUBST=	RUBY_VERSION=${RUBY_VERSION}

do-configure:
	(cd ${WRKSRC}; ruby extconf.rb)

post-install:
	${INSTALL_DATA_DIR} ${PREFIX}/share/examples/ruby/termios
	${INSTALL_DATA} ${WRKSRC}/test[0-3].rb \
		${PREFIX}/share/examples/ruby/termios

.include "../../mk/bsd.pkg.mk"