summaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2004-11-27 15:34:29 +0000
committertaca <taca@pkgsrc.org>2004-11-27 15:34:29 +0000
commit005d3d8a4c6408157e9b448e03a19be96ea90d39 (patch)
tree8624573637a8a812b350be9f58229e59ed130ad9 /comms
parent2cd34b5168bcdc566bfde4b736d959fbc1b154ff (diff)
downloadpkgsrc-005d3d8a4c6408157e9b448e03a19be96ea90d39.tar.gz
Migrate ruby-rdtool to use new framework for Ruby packages.
Correct install directory under site_ruby, too.
Diffstat (limited to 'comms')
-rw-r--r--comms/ruby-termios/Makefile18
-rw-r--r--comms/ruby-termios/PLIST7
2 files changed, 13 insertions, 12 deletions
diff --git a/comms/ruby-termios/Makefile b/comms/ruby-termios/Makefile
index f682c3cd58f..d363299635a 100644
--- a/comms/ruby-termios/Makefile
+++ b/comms/ruby-termios/Makefile
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.9 2004/03/16 02:01:09 taca Exp $
+# $NetBSD: Makefile,v 1.10 2004/11/27 15:34:29 taca Exp $
#
DISTNAME= ruby-termios-0.9.4
-PKGNAME= ${RUBY_PKGNAMEPREFIX}termios-0.9.4
-PKGREVISION= 1
+PKGNAME= ${RUBY_PKGPREFIX}-termios-0.9.4
CATEGORIES= comms ruby
MASTER_SITES= http://arika.org/archive/
@@ -11,11 +10,12 @@ MAINTAINER= taca@NetBSD.org
HOMEPAGE= http://arika.org/ruby/termios
COMMENT= Ruby extension 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
+USE_BUILDLINK3= yes
+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
@@ -27,5 +27,5 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/examples/$f ${RUBY_EXAMPLESDIR}/termios
.endfor
-.include "../../lang/ruby-base/Makefile.common"
+.include "../../lang/ruby/modules.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/comms/ruby-termios/PLIST b/comms/ruby-termios/PLIST
index 5bfcbc271a9..64b93384724 100644
--- a/comms/ruby-termios/PLIST
+++ b/comms/ruby-termios/PLIST
@@ -1,11 +1,12 @@
-@comment $NetBSD: PLIST,v 1.2 2003/09/11 16:57:51 taca Exp $
-${RUBY_ARCHLIBDIR}/termios.so
+@comment $NetBSD: PLIST,v 1.3 2004/11/27 15:34:29 taca Exp $
+${RUBY_SITEARCHLIBDIR}/termios.so
${RUBY_DOCDIR}/termios/ChangeLog
${RUBY_DOCDIR}/termios/README
${RUBY_DOCDIR}/termios/TODO.ja
+@dirrm ${RUBY_DOCDIR}/termios
${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/
+@dirrm ${RUBY_EXAMPLESDIR}/termios