summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorhamajima <hamajima>2005-02-01 14:26:14 +0000
committerhamajima <hamajima>2005-02-01 14:26:14 +0000
commit62a5270560a6a6fff103af9c8b62fb40f24a9577 (patch)
tree0f68fcc0435dbf6df00802f9905a05088dbd5f93 /net
parentbeda5a198abe761c7fab9e8443a38f28cc2e06ac (diff)
downloadpkgsrc-62a5270560a6a6fff103af9c8b62fb40f24a9577.tar.gz
added DEPENDS+=${RUBY_PKGPREFIX}-dbm.
fix command_interpreter in rc scripts. bump PKGREVISION.
Diffstat (limited to 'net')
-rw-r--r--net/dtcp/Makefile7
-rwxr-xr-xnet/dtcp/files/dtcpc.sh4
-rwxr-xr-xnet/dtcp/files/dtcps.sh4
3 files changed, 9 insertions, 6 deletions
diff --git a/net/dtcp/Makefile b/net/dtcp/Makefile
index 0a168ce1551..f5a8609b579 100644
--- a/net/dtcp/Makefile
+++ b/net/dtcp/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.8 2005/01/28 14:08:01 taca Exp $
+# $NetBSD: Makefile,v 1.9 2005/02/01 14:26:14 hamajima Exp $
#
DISTNAME= dtcp-20040611
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= net
MASTER_SITES= http://www.imasy.or.jp/~ume/ipv6/ \
http://home.jp.FreeBSD.org/~ume/ipv6/
@@ -12,11 +12,14 @@ HOMEPAGE= http://www.imasy.or.jp/~ume/dtcp/
COMMENT= Dynamic Tunnel Configuration Protocol daemon and client
DEPENDS+= ${RUBY_PKGPREFIX}-digest-*:../../security/ruby-digest
+DEPENDS+= ${RUBY_PKGPREFIX}-dbm-*:../../databases/ruby-dbm
DEPENDS+= qpopper-*:../../mail/qpopper
MAKE_ENV+= RUBY=${RUBY}
RCD_SCRIPTS= dtcpc dtcps
USE_PKGINSTALL= YES
+FILES_SUBST+= RUBY=${RUBY}
+
.include "../../lang/ruby/modules.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/net/dtcp/files/dtcpc.sh b/net/dtcp/files/dtcpc.sh
index 10c12dac7b9..f4573bcb4d9 100755
--- a/net/dtcp/files/dtcpc.sh
+++ b/net/dtcp/files/dtcpc.sh
@@ -1,7 +1,7 @@
#!/bin/sh
#
# $FreeBSD: /repoman/r/pcvs/ports/net/dtcp/files/dtcpc.sh,v 1.1 2004/04/19 18:40:52 ume Exp $
-# $NetBSD: dtcpc.sh,v 1.2 2004/06/22 16:08:27 hamajima Exp $
+# $NetBSD: dtcpc.sh,v 1.3 2005/02/01 14:26:14 hamajima Exp $
#
# PROVIDE: dtcpc
@@ -33,7 +33,7 @@ dtcpc_flags=${dtcpc_flags:-"-t network -Dl"} # Flags to dtcpc program
name="dtcpc"
rcvar=$name
command="${prefix}/sbin/${name}"
-command_interpreter="${prefix}/bin/ruby"
+command_interpreter="@RUBY@"
pidfile="/var/run/${name}.pid"
extra_commands="reload"
diff --git a/net/dtcp/files/dtcps.sh b/net/dtcp/files/dtcps.sh
index 919474c58e8..728b13a409a 100755
--- a/net/dtcp/files/dtcps.sh
+++ b/net/dtcp/files/dtcps.sh
@@ -1,7 +1,7 @@
#!/bin/sh
#
# $FreeBSD: /repoman/r/pcvs/ports/net/dtcp/files/dtcps.sh,v 1.1 2004/04/19 18:40:52 ume Exp $
-# $NetBSD: dtcps.sh,v 1.2 2004/06/22 16:08:27 hamajima Exp $
+# $NetBSD: dtcps.sh,v 1.3 2005/02/01 14:26:14 hamajima Exp $
#
# PROVIDE: dtcps
@@ -45,7 +45,7 @@ dtcps_flags=${dtcps_flags:-""} # Flags to dtcps program
name="dtcps"
rcvar=$name
command="${prefix}/sbin/${name}"
-command_interpreter="${prefix}/bin/ruby"
+command_interpreter="@RUBY@"
pidfile="/var/run/${name}.pid"
start_precmd="dtcps_prestart"