summaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
Diffstat (limited to 'comms')
-rw-r--r--comms/ruby-termios/Makefile26
-rw-r--r--comms/ruby-termios/distinfo6
-rw-r--r--comms/ruby-termios/pkg/DESCR2
-rw-r--r--comms/ruby-termios/pkg/PLIST14
4 files changed, 22 insertions, 26 deletions
diff --git a/comms/ruby-termios/Makefile b/comms/ruby-termios/Makefile
index fec4f274e4d..cbe3c85f2f4 100644
--- a/comms/ruby-termios/Makefile
+++ b/comms/ruby-termios/Makefile
@@ -1,25 +1,21 @@
-# $NetBSD: Makefile,v 1.2 2001/02/16 13:56:23 wiz Exp $
+# $NetBSD: Makefile,v 1.3 2001/06/30 15:04:58 taca Exp $
#
-DISTNAME= ruby-termios-module-0.0.4
+DISTNAME= termios
+PKGNAME= ${RUBY_PKGNAMEPREFIX}termios-0.0.4
CATEGORIES= comms
-MASTER_SITES= ftp://arika.org/pub/Tools/Ruby/
+MASTER_SITES= ftp://ftp.ruby-lang.org/pub/ruby/contrib/
-MAINTAINER= sakamoto@netbsd.org
+MAINTAINER= taca@netbsd.org
HOMEPAGE= http://arika.org/ruby/termios.html
-COMMENT= termios module for Ruby
+COMMENT= Ruby extention to termios library
-DEPENDS+= ruby-1.4.*:../../lang/ruby
-
-RUBY_VERSION= 1.4
-PLIST_SUBST= RUBY_VERSION=${RUBY_VERSION}
-
-do-configure:
- (cd ${WRKSRC}; ruby extconf.rb)
+DIST_SUBDIR= ruby
+USE_RUBY_EXTCONF= yes
post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/ruby/termios
- ${INSTALL_DATA} ${WRKSRC}/test[0-3].rb \
- ${PREFIX}/share/examples/ruby/termios
+ ${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/termios
+ ${INSTALL_DATA} ${WRKSRC}/test/test[0-3].rb ${RUBY_EXAMPLESDIR}/termios
+.include "../../lang/ruby-base/Makefile.common"
.include "../../mk/bsd.pkg.mk"
diff --git a/comms/ruby-termios/distinfo b/comms/ruby-termios/distinfo
index 1eebb649743..40ddbb1e96d 100644
--- a/comms/ruby-termios/distinfo
+++ b/comms/ruby-termios/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.2 2001/04/20 09:04:26 agc Exp $
+$NetBSD: distinfo,v 1.3 2001/06/30 15:04:58 taca Exp $
-SHA1 (ruby-termios-module-0.0.4.tar.gz) = 223ce8dac2300107b5a9ef45fd2c174f0d49bfce
-Size (ruby-termios-module-0.0.4.tar.gz) = 6743 bytes
+SHA1 (ruby/termios.tar.gz) = 945a53969962590356bc8f2e942732b86a608d1e
+Size (ruby/termios.tar.gz) = 5439 bytes
diff --git a/comms/ruby-termios/pkg/DESCR b/comms/ruby-termios/pkg/DESCR
index be44e6fb71e..f8ec8cd9a8d 100644
--- a/comms/ruby-termios/pkg/DESCR
+++ b/comms/ruby-termios/pkg/DESCR
@@ -1 +1 @@
-termios module for Ruby
+This is a Ruby extention for termios library.
diff --git a/comms/ruby-termios/pkg/PLIST b/comms/ruby-termios/pkg/PLIST
index 7c937964321..fb2051ef876 100644
--- a/comms/ruby-termios/pkg/PLIST
+++ b/comms/ruby-termios/pkg/PLIST
@@ -1,7 +1,7 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2000/07/08 16:06:45 sakamoto Exp $
-lib/ruby/${RUBY_VERSION}/${MACHINE_GNU_ARCH}-${LOWER_OPSYS}/termios.so
-share/examples/ruby/termios/test0.rb
-share/examples/ruby/termios/test1.rb
-share/examples/ruby/termios/test2.rb
-share/examples/ruby/termios/test3.rb
-@dirrm share/examples/ruby/termios
+@comment $NetBSD: PLIST,v 1.2 2001/06/30 15:04:58 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
+@dirrm ${RUBY_EXAMPLESDIR}/termios/