summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--comms/ruby-termios/Makefile21
-rw-r--r--comms/ruby-termios/PLIST14
-rw-r--r--comms/ruby-termios/distinfo6
3 files changed, 27 insertions, 14 deletions
diff --git a/comms/ruby-termios/Makefile b/comms/ruby-termios/Makefile
index 0e8b95783ac..3d70604eabf 100644
--- a/comms/ruby-termios/Makefile
+++ b/comms/ruby-termios/Makefile
@@ -1,21 +1,30 @@
-# $NetBSD: Makefile,v 1.4 2003/07/17 21:27:00 grant Exp $
+# $NetBSD: Makefile,v 1.5 2003/09/11 16:57:51 taca Exp $
#
-DISTNAME= termios
-PKGNAME= ${RUBY_PKGNAMEPREFIX}termios-0.0.4
+DISTNAME= ruby-termios-0.9.4
+PKGNAME= ${RUBY_PKGNAMEPREFIX}termios-0.9.4
CATEGORIES= comms
-MASTER_SITES= ftp://ftp.ruby-lang.org/pub/ruby/contrib/
+MASTER_SITES= http://arika.org/archive/
MAINTAINER= taca@NetBSD.org
-HOMEPAGE= http://arika.org/ruby/termios.html
+HOMEPAGE= http://arika.org/ruby/termios/
COMMENT= Ruby extention to termios library
DIST_SUBDIR= ruby
USE_RUBY_EXTCONF= yes
+DOCS= ChangeLog README TODO.ja
+EXAMPLES= modem_check0.rb modem_check1.rb modem_check2.rb \
+ secret_input1.rb secret_input2.rb
post-install:
+ ${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/termios
+.for f in ${DOCS}
+ ${INSTALL_DATA} ${WRKSRC}/$f ${RUBY_DOCDIR}/termios
+.endfor
${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/termios
- ${INSTALL_DATA} ${WRKSRC}/test/test[0-3].rb ${RUBY_EXAMPLESDIR}/termios
+.for f in ${EXAMPLES}
+ ${INSTALL_DATA} ${WRKSRC}/examples/$f ${RUBY_EXAMPLESDIR}/termios
+.endfor
.include "../../lang/ruby-base/Makefile.common"
.include "../../mk/bsd.pkg.mk"
diff --git a/comms/ruby-termios/PLIST b/comms/ruby-termios/PLIST
index 8715d1d086d..5bfcbc271a9 100644
--- a/comms/ruby-termios/PLIST
+++ b/comms/ruby-termios/PLIST
@@ -1,7 +1,11 @@
-@comment $NetBSD: PLIST,v 1.1 2001/10/31 20:44:40 zuntum Exp $
+@comment $NetBSD: PLIST,v 1.2 2003/09/11 16:57:51 taca Exp $
${RUBY_ARCHLIBDIR}/termios.so
-${RUBY_EXAMPLESDIR}/termios/test0.rb
-${RUBY_EXAMPLESDIR}/termios/test1.rb
-${RUBY_EXAMPLESDIR}/termios/test2.rb
-${RUBY_EXAMPLESDIR}/termios/test3.rb
+${RUBY_DOCDIR}/termios/ChangeLog
+${RUBY_DOCDIR}/termios/README
+${RUBY_DOCDIR}/termios/TODO.ja
+${RUBY_EXAMPLESDIR}/termios/modem_check0.rb
+${RUBY_EXAMPLESDIR}/termios/modem_check1.rb
+${RUBY_EXAMPLESDIR}/termios/modem_check2.rb
+${RUBY_EXAMPLESDIR}/termios/secret_input1.rb
+${RUBY_EXAMPLESDIR}/termios/secret_input2.rb
@dirrm ${RUBY_EXAMPLESDIR}/termios/
diff --git a/comms/ruby-termios/distinfo b/comms/ruby-termios/distinfo
index 40ddbb1e96d..d39252a67c9 100644
--- a/comms/ruby-termios/distinfo
+++ b/comms/ruby-termios/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.3 2001/06/30 15:04:58 taca Exp $
+$NetBSD: distinfo,v 1.4 2003/09/11 16:57:52 taca Exp $
-SHA1 (ruby/termios.tar.gz) = 945a53969962590356bc8f2e942732b86a608d1e
-Size (ruby/termios.tar.gz) = 5439 bytes
+SHA1 (ruby/ruby-termios-0.9.4.tar.gz) = 083bf763e542c59783e003da7df17b2a4d574723
+Size (ruby/ruby-termios-0.9.4.tar.gz) = 8402 bytes