Add ruby-serialport, a Ruby library to communicate via the RS232 port.
This commit is contained in:
parent
995bd9e729
commit
269cfff0e2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=75945
@ -37,6 +37,7 @@
|
||||
SUBDIR += py-serial
|
||||
SUBDIR += qico
|
||||
SUBDIR += qpage
|
||||
SUBDIR += ruby-serialport
|
||||
SUBDIR += ruby-termios
|
||||
SUBDIR += scmxx
|
||||
SUBDIR += scud
|
||||
|
44
comms/ruby-serialport/Makefile
Normal file
44
comms/ruby-serialport/Makefile
Normal file
@ -0,0 +1,44 @@
|
||||
# New ports collection makefile for: Ruby/SerialPort
|
||||
# Date created: 21 February 2003
|
||||
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= serialport
|
||||
PORTVERSION= 0.6
|
||||
CATEGORIES= comms ruby
|
||||
MASTER_SITES= http://davedd.free.fr/ruby-serialport/
|
||||
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
||||
DISTNAME= ruby-${PORTNAME}-${PORTVERSION}
|
||||
DIST_SUBDIR= ruby
|
||||
|
||||
MAINTAINER= knu@FreeBSD.org
|
||||
COMMENT= A Ruby library to communicate via the RS232 port
|
||||
|
||||
USE_RUBY= yes
|
||||
USE_RUBY_EXTCONF= yes
|
||||
|
||||
INSTALL_TARGET= site-install
|
||||
|
||||
DOCS= CHANGELOG README
|
||||
EXAMPLES= test/*.rb
|
||||
|
||||
post-patch:
|
||||
.for f in ${EXAMPLES}
|
||||
${RUBY} -i -pe 'sub!(%r"\.\./serialport", "serialport")' ${WRKSRC}/${f}
|
||||
.endfor
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${RUBY_MODEXAMPLESDIR}
|
||||
.for f in ${EXAMPLES}
|
||||
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODEXAMPLESDIR}/
|
||||
.endfor
|
||||
${MKDIR} ${RUBY_MODDOCDIR}
|
||||
.for f in ${DOCS}
|
||||
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
1
comms/ruby-serialport/distinfo
Normal file
1
comms/ruby-serialport/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (ruby/ruby-serialport-0.6.tar.gz) = c38aec045ebc7560bbaee69038d94b69
|
5
comms/ruby-serialport/pkg-descr
Normal file
5
comms/ruby-serialport/pkg-descr
Normal file
@ -0,0 +1,5 @@
|
||||
Ruby/SerialPort is a Ruby library that allows you to communicate via
|
||||
the RS232 port.
|
||||
|
||||
Author: Guillaume Pierronnet <moumar@netcourrier.com>
|
||||
WWW: http://davedd.free.fr/ruby-serialport/
|
6
comms/ruby-serialport/pkg-plist
Normal file
6
comms/ruby-serialport/pkg-plist
Normal file
@ -0,0 +1,6 @@
|
||||
%%RUBY_SITEARCHLIBDIR%%/serialport.so
|
||||
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/miniterm.rb
|
||||
%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%
|
||||
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/CHANGELOG
|
||||
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README
|
||||
%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%
|
Loading…
Reference in New Issue
Block a user