summaryrefslogtreecommitdiff
path: root/comms/ruby-termios/Makefile
blob: f682c3cd58f70446dc0a67ddc0db8b7e6ca45c4a (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
# $NetBSD: Makefile,v 1.9 2004/03/16 02:01:09 taca Exp $
#

DISTNAME=	ruby-termios-0.9.4
PKGNAME=	${RUBY_PKGNAMEPREFIX}termios-0.9.4
PKGREVISION=	1
CATEGORIES=	comms ruby
MASTER_SITES=	http://arika.org/archive/

MAINTAINER=	taca@NetBSD.org
HOMEPAGE=	http://arika.org/ruby/termios
COMMENT=	Ruby extension to termios library

DIST_SUBDIR=	ruby
USE_RUBY_EXTCONF= yes
DOCS=		ChangeLog README TODO.ja
EXAMPLES=	modem_check0.rb modem_check1.rb modem_check2.rb \
		secret_input1.rb secret_input2.rb

post-install:
	${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/termios
.for f in ${DOCS}
	${INSTALL_DATA} ${WRKSRC}/$f ${RUBY_DOCDIR}/termios
.endfor
	${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/termios
.for f in ${EXAMPLES}
	${INSTALL_DATA} ${WRKSRC}/examples/$f ${RUBY_EXAMPLESDIR}/termios
.endfor

.include "../../lang/ruby-base/Makefile.common"
.include "../../mk/bsd.pkg.mk"