pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/comms/ruby-termios Migrate ruby-rdtool to use new fram...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/51d9ce05d396
branches:  trunk
changeset: 484458:51d9ce05d396
user:      taca <taca%pkgsrc.org@localhost>
date:      Sat Nov 27 15:34:29 2004 +0000

description:
Migrate ruby-rdtool to use new framework for Ruby packages.
Correct install directory under site_ruby, too.

diffstat:

 comms/ruby-termios/Makefile |  18 +++++++++---------
 comms/ruby-termios/PLIST    |   7 ++++---
 2 files changed, 13 insertions(+), 12 deletions(-)

diffs (59 lines):

diff -r 6fb7f7e56cf2 -r 51d9ce05d396 comms/ruby-termios/Makefile
--- a/comms/ruby-termios/Makefile       Sat Nov 27 15:32:19 2004 +0000
+++ b/comms/ruby-termios/Makefile       Sat Nov 27 15:34:29 2004 +0000
@@ -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 @@
 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 @@
        ${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 -r 6fb7f7e56cf2 -r 51d9ce05d396 comms/ruby-termios/PLIST
--- a/comms/ruby-termios/PLIST  Sat Nov 27 15:32:19 2004 +0000
+++ b/comms/ruby-termios/PLIST  Sat Nov 27 15:34:29 2004 +0000
@@ -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



Home | Main Index | Thread Index | Old Index