mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
Add ruby-termios, a Ruby interface to termios.
This commit is contained in:
parent
ec3a4a6023
commit
7b796de734
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=47146
@ -21,6 +21,7 @@
|
||||
SUBDIR += pr
|
||||
SUBDIR += qico
|
||||
SUBDIR += qpage
|
||||
SUBDIR += ruby-termios
|
||||
SUBDIR += seyon
|
||||
SUBDIR += sms_client
|
||||
SUBDIR += snooper
|
||||
|
34
comms/ruby-termios/Makefile
Normal file
34
comms/ruby-termios/Makefile
Normal file
@ -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>
|
1
comms/ruby-termios/distinfo
Normal file
1
comms/ruby-termios/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (ruby/termios.tar.gz) = 7de192eb6f6b16cd17cb6e87df3ef333
|
1
comms/ruby-termios/pkg-comment
Normal file
1
comms/ruby-termios/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
A Ruby interface to termios
|
5
comms/ruby-termios/pkg-descr
Normal file
5
comms/ruby-termios/pkg-descr
Normal file
@ -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
|
8
comms/ruby-termios/pkg-plist
Normal file
8
comms/ruby-termios/pkg-plist
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user