From 33c62fb928d6b2327994f0d697909e8c350e2e09 Mon Sep 17 00:00:00 2001 From: taca Date: Sat, 27 Nov 2004 15:34:29 +0000 Subject: Migrate ruby-rdtool to use new framework for Ruby packages. Correct install directory under site_ruby, too. --- comms/ruby-termios/Makefile | 18 +++++++++--------- comms/ruby-termios/PLIST | 7 ++++--- 2 files changed, 13 insertions(+), 12 deletions(-) (limited to 'comms/ruby-termios') 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 -- cgit v1.2.3