summaryrefslogtreecommitdiff
path: root/comms/ruby-termios/Makefile
diff options
context:
space:
mode:
authorsakamoto <sakamoto@pkgsrc.org>2000-07-08 16:06:45 +0000
committersakamoto <sakamoto@pkgsrc.org>2000-07-08 16:06:45 +0000
commitb0dbd40570271582a44399d1babcc704bccf32ee (patch)
treed4a669a51088a4f946c451403d1905ff62b5ff61 /comms/ruby-termios/Makefile
parente5dc7ec9fd81e30f6320ea6dd820d1597af79f94 (diff)
downloadpkgsrc-b0dbd40570271582a44399d1babcc704bccf32ee.tar.gz
ruby-termios-module:
termios module for Ruby
Diffstat (limited to 'comms/ruby-termios/Makefile')
-rw-r--r--comms/ruby-termios/Makefile24
1 files changed, 24 insertions, 0 deletions
diff --git a/comms/ruby-termios/Makefile b/comms/ruby-termios/Makefile
new file mode 100644
index 00000000000..9eda65d0355
--- /dev/null
+++ b/comms/ruby-termios/Makefile
@@ -0,0 +1,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"