diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2001-08-30 07:26:32 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2001-08-30 07:26:32 +0000 |
commit | 7b796de7349e8c576bd717399ef3c4f9264e260a (patch) | |
tree | f2b95527b1dbfb60211cf76f004634822e9e057b /comms/ruby-termios | |
parent | ec3a4a6023a10643d2ae7fb710270c901a6468ff (diff) | |
download | ports-7b796de7349e8c576bd717399ef3c4f9264e260a.tar.gz ports-7b796de7349e8c576bd717399ef3c4f9264e260a.zip |
Notes
Diffstat (limited to 'comms/ruby-termios')
-rw-r--r-- | comms/ruby-termios/Makefile | 34 | ||||
-rw-r--r-- | comms/ruby-termios/distinfo | 1 | ||||
-rw-r--r-- | comms/ruby-termios/pkg-comment | 1 | ||||
-rw-r--r-- | comms/ruby-termios/pkg-descr | 5 | ||||
-rw-r--r-- | comms/ruby-termios/pkg-plist | 8 |
5 files changed, 49 insertions, 0 deletions
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 |