summaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2001-08-30 07:26:32 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2001-08-30 07:26:32 +0000
commit7b796de7349e8c576bd717399ef3c4f9264e260a (patch)
treef2b95527b1dbfb60211cf76f004634822e9e057b /comms
parentUpdate to 0.2. (diff)
Add ruby-termios, a Ruby interface to termios.
Notes
Notes: svn path=/head/; revision=47146
Diffstat (limited to 'comms')
-rw-r--r--comms/Makefile1
-rw-r--r--comms/ruby-termios/Makefile34
-rw-r--r--comms/ruby-termios/distinfo1
-rw-r--r--comms/ruby-termios/pkg-comment1
-rw-r--r--comms/ruby-termios/pkg-descr5
-rw-r--r--comms/ruby-termios/pkg-plist8
6 files changed, 50 insertions, 0 deletions
diff --git a/comms/Makefile b/comms/Makefile
index c51fb60701fc..39f6c22c7696 100644
--- a/comms/Makefile
+++ b/comms/Makefile
@@ -21,6 +21,7 @@
SUBDIR += pr
SUBDIR += qico
SUBDIR += qpage
+ SUBDIR += ruby-termios
SUBDIR += seyon
SUBDIR += sms_client
SUBDIR += snooper
diff --git a/comms/ruby-termios/Makefile b/comms/ruby-termios/Makefile
new file mode 100644
index 000000000000..f65a46915600
--- /dev/null
+++ b/comms/ruby-termios/Makefile
@@ -0,0 +1,34 @@
+# New ports collection makefile for: ruby-termios
+# Date created: 30 August 2001
+# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= termios
+PORTVERSION= 0
+CATEGORIES= comms ruby
+MASTER_SITES= http://arika.org/pub/Tools/Ruby/
+PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
+DISTNAME= ${PORTNAME}
+DIST_SUBDIR= ruby
+
+MAINTAINER= knu@FreeBSD.org
+
+USE_RUBY= yes
+USE_RUBY_EXTCONF= yes
+
+INSTALL_TARGET= site-install
+
+post-patch:
+ ${RUBY} -i -pe 'gsub /ttyS\d/, "cuaa0"' ${WRKSRC}/test/*.rb
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${RUBY_EXAMPLESDIR}/${PORTNAME}
+ ${CP} -R ${WRKSRC}/test/*.rb ${RUBY_EXAMPLESDIR}/${PORTNAME}/
+ ${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}
+ ${INSTALL_DATA} ${WRKSRC}/ChangeLog ${RUBY_DOCDIR}/${PORTNAME}/
+.endif
+
+.include <bsd.port.mk>
diff --git a/comms/ruby-termios/distinfo b/comms/ruby-termios/distinfo
new file mode 100644
index 000000000000..2f30d035106a
--- /dev/null
+++ b/comms/ruby-termios/distinfo
@@ -0,0 +1 @@
+MD5 (ruby/termios.tar.gz) = 7de192eb6f6b16cd17cb6e87df3ef333
diff --git a/comms/ruby-termios/pkg-comment b/comms/ruby-termios/pkg-comment
new file mode 100644
index 000000000000..d6e7ddb50461
--- /dev/null
+++ b/comms/ruby-termios/pkg-comment
@@ -0,0 +1 @@
+A Ruby interface to termios
diff --git a/comms/ruby-termios/pkg-descr b/comms/ruby-termios/pkg-descr
new file mode 100644
index 000000000000..c1f224824dd1
--- /dev/null
+++ b/comms/ruby-termios/pkg-descr
@@ -0,0 +1,5 @@
+Ruby-termios is a Ruby interface to termios.
+
+Authors: Akira Yamada <akira@arika.org>,
+ Goto Kentaro <gotoken@math.sci.hokudai.ac.jp>
+WWW: http://www.ruby-lang.org/en/raa-list.rhtml?name=ruby-termios+%28serial+ports%29
diff --git a/comms/ruby-termios/pkg-plist b/comms/ruby-termios/pkg-plist
new file mode 100644
index 000000000000..48761daf553c
--- /dev/null
+++ b/comms/ruby-termios/pkg-plist
@@ -0,0 +1,8 @@
+%%RUBY_SITEARCHLIBDIR%%/termios.so
+%%PORTDOCS%%%%RUBY_DOCDIR%%/termios/ChangeLog
+%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/termios
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/termios/test0.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/termios/test1.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/termios/test2.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/termios/test3.rb
+%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/termios