summaryrefslogtreecommitdiff
path: root/comms/ruby-termios/Makefile
blob: 9eda65d0355d6354fe9cc1a4b020a556627d0b13 (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
# $NetBSD: Makefile,v 1.1.1.1 2000/07/08 16:06:45 sakamoto 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

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"