pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/dtcp Migrate ruby-installpkg to use new framework ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7f27e1a6ca9b
branches:  trunk
changeset: 484524:7f27e1a6ca9b
user:      taca <taca%pkgsrc.org@localhost>
date:      Sun Nov 28 04:10:36 2004 +0000

description:
Migrate ruby-installpkg to use new framework for Ruby packages.
Add trivial Makefile fix.

diffstat:

 net/dtcp/Makefile         |   6 ++++--
 net/dtcp/distinfo         |   7 ++++---
 net/dtcp/patches/patch-aa |  13 +++++++++++++
 3 files changed, 21 insertions(+), 5 deletions(-)

diffs (52 lines):

diff -r 26a9b1d2569a -r 7f27e1a6ca9b net/dtcp/Makefile
--- a/net/dtcp/Makefile Sun Nov 28 01:29:15 2004 +0000
+++ b/net/dtcp/Makefile Sun Nov 28 04:10:36 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2004/11/27 01:14:32 hamajima Exp $
+# $NetBSD: Makefile,v 1.5 2004/11/28 04:10:36 taca Exp $
 #
 
 DISTNAME=      dtcp-20040611
@@ -10,10 +10,12 @@
 HOMEPAGE=      http://www.imasy.or.jp/~ume/dtcp/
 COMMENT=       Dynamic Tunnel Configuration Protocol daemon and client
 
-DEPENDS+=      ruby-digest-*:../../security/ruby-digest
+DEPENDS+=      ${RUBY_PKGPREFIX}-digest-*:../../security/ruby-digest
 DEPENDS+=      qpopper-*:../../mail/qpopper
 
+MAKE_ENV+=     RUBY=${RUBY}
 RCD_SCRIPTS=   dtcpc dtcps
 CONF_DEPENDS=  YES
 
+.include "../../lang/ruby/modules.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 26a9b1d2569a -r 7f27e1a6ca9b net/dtcp/distinfo
--- a/net/dtcp/distinfo Sun Nov 28 01:29:15 2004 +0000
+++ b/net/dtcp/distinfo Sun Nov 28 04:10:36 2004 +0000
@@ -1,4 +1,5 @@
-$NetBSD: distinfo,v 1.2 2004/11/27 01:14:32 hamajima Exp $
+$NetBSD: distinfo,v 1.3 2004/11/28 04:10:36 taca Exp $
 
-SHA1 (dtcp-20040611.tar.gz) = ca70a697c33c989b62724ba96debf1c0c06e9d9d
-Size (dtcp-20040611.tar.gz) = 17981 bytes
+SHA1 (ruby/dtcp-20040611.tar.gz) = ca70a697c33c989b62724ba96debf1c0c06e9d9d
+Size (ruby/dtcp-20040611.tar.gz) = 17981 bytes
+SHA1 (patch-aa) = 869893b85cb86abf150fa9745b16e4f2aae9ebac
diff -r 26a9b1d2569a -r 7f27e1a6ca9b net/dtcp/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/dtcp/patches/patch-aa Sun Nov 28 04:10:36 2004 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.3 2004/11/28 04:10:36 taca Exp $
+
+--- Makefile.orig      2004-06-08 02:04:57.000000000 +0900
++++ Makefile
+@@ -26,7 +26,7 @@ RUBY?=               /usr/pkg/bin/ruby
+ POPAUTHDB?=   /usr/pkg/etc/apop.auth
+ DTCPS_TUNIF?= gif0
+ DTCPC_TUNIF?= gif0
+-.elseif (${OPSYS} == "FreeBSD")
++.elif (${OPSYS} == "FreeBSD")
+ RUBY?=                /usr/local/bin/ruby
+ POPAUTHDB?=   /usr/local/etc/qpopper/pop.auth
+ DTCPS_TUNIF?= gif0



Home | Main Index | Thread Index | Old Index