summaryrefslogtreecommitdiff
path: root/net/dtcp
diff options
context:
space:
mode:
authortaca <taca>2004-11-28 04:10:36 +0000
committertaca <taca>2004-11-28 04:10:36 +0000
commit0f4419d7810e622775ece88decdef315b1822851 (patch)
tree16b1fd4148ce765e8f89b8c5e800c181125e723c /net/dtcp
parent0bb872f8ace1812af61e7045593b98b0b6f46b24 (diff)
downloadpkgsrc-0f4419d7810e622775ece88decdef315b1822851.tar.gz
Migrate ruby-installpkg to use new framework for Ruby packages.
Add trivial Makefile fix.
Diffstat (limited to 'net/dtcp')
-rw-r--r--net/dtcp/Makefile6
-rw-r--r--net/dtcp/distinfo7
-rw-r--r--net/dtcp/patches/patch-aa13
3 files changed, 21 insertions, 5 deletions
diff --git a/net/dtcp/Makefile b/net/dtcp/Makefile
index 94ee913d525..b98a6959fcd 100644
--- a/net/dtcp/Makefile
+++ b/net/dtcp/Makefile
@@ -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 @@ MAINTAINER= hamajima@NetBSD.org
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 --git a/net/dtcp/distinfo b/net/dtcp/distinfo
index 1aa0c735bdf..77f7f60caeb 100644
--- a/net/dtcp/distinfo
+++ b/net/dtcp/distinfo
@@ -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 --git a/net/dtcp/patches/patch-aa b/net/dtcp/patches/patch-aa
new file mode 100644
index 00000000000..12b2f9643cf
--- /dev/null
+++ b/net/dtcp/patches/patch-aa
@@ -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