summaryrefslogtreecommitdiff
path: root/comms/ruby-termios/Makefile
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2001-06-30 15:04:58 +0000
committertaca <taca@pkgsrc.org>2001-06-30 15:04:58 +0000
commitea3775c61449e612f8ad2c4b535df8147a67886d (patch)
treec6b1f5556c12222a357c079a67611ca2c2fda562 /comms/ruby-termios/Makefile
parent81119336b9a201113691b405926ee14076498989 (diff)
downloadpkgsrc-ea3775c61449e612f8ad2c4b535df8147a67886d.tar.gz
Switch to new Ruby's frame work.
Update MASTER_SITE, and set MAINTAINER to me.
Diffstat (limited to 'comms/ruby-termios/Makefile')
-rw-r--r--comms/ruby-termios/Makefile26
1 files changed, 11 insertions, 15 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"