aboutsummaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2006-12-21 22:13:24 +0000
committerMartin Wilke <miwi@FreeBSD.org>2006-12-21 22:13:24 +0000
commit3119090a5d4093452ef81d70ad60073116f27cbf (patch)
tree355da025b4fe6f4f8f743d68b6dfdc974e77cd5f /emulators
parent4fac8d15aeb7a77551d19d0ca8b3b274ce930c97 (diff)
downloadports-3119090a5d4093452ef81d70ad60073116f27cbf.tar.gz
ports-3119090a5d4093452ef81d70ad60073116f27cbf.zip
Notes
Diffstat (limited to 'emulators')
-rw-r--r--emulators/kqemu-kmod-devel/Makefile2
-rw-r--r--emulators/kqemu-kmod-devel/files/kqemu.in6
-rw-r--r--emulators/kqemu-kmod/Makefile2
-rw-r--r--emulators/kqemu-kmod/files/kqemu.in6
4 files changed, 12 insertions, 4 deletions
diff --git a/emulators/kqemu-kmod-devel/Makefile b/emulators/kqemu-kmod-devel/Makefile
index 8bfcf08aea1d..3b3373ee2117 100644
--- a/emulators/kqemu-kmod-devel/Makefile
+++ b/emulators/kqemu-kmod-devel/Makefile
@@ -7,7 +7,7 @@
PORTNAME= kqemu
PORTVERSION= 1.3.0.p9
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= emulators
MASTER_SITES= http://qemu.org/
PKGNAMESUFFIX= -kmod
diff --git a/emulators/kqemu-kmod-devel/files/kqemu.in b/emulators/kqemu-kmod-devel/files/kqemu.in
index c8ececdd2226..7662ca3cccd1 100644
--- a/emulators/kqemu-kmod-devel/files/kqemu.in
+++ b/emulators/kqemu-kmod-devel/files/kqemu.in
@@ -12,8 +12,12 @@
. /etc/rc.subr
name="kqemu"
+rcvar=${name}_enable
+
load_rc_config $name
-rcvar=`set_rcvar`
+
+: ${kqemu_enable="NO"}
+
start_cmd=kqemu_start
stop_cmd=kqemu_stop
diff --git a/emulators/kqemu-kmod/Makefile b/emulators/kqemu-kmod/Makefile
index 8bfcf08aea1d..3b3373ee2117 100644
--- a/emulators/kqemu-kmod/Makefile
+++ b/emulators/kqemu-kmod/Makefile
@@ -7,7 +7,7 @@
PORTNAME= kqemu
PORTVERSION= 1.3.0.p9
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= emulators
MASTER_SITES= http://qemu.org/
PKGNAMESUFFIX= -kmod
diff --git a/emulators/kqemu-kmod/files/kqemu.in b/emulators/kqemu-kmod/files/kqemu.in
index c8ececdd2226..7662ca3cccd1 100644
--- a/emulators/kqemu-kmod/files/kqemu.in
+++ b/emulators/kqemu-kmod/files/kqemu.in
@@ -12,8 +12,12 @@
. /etc/rc.subr
name="kqemu"
+rcvar=${name}_enable
+
load_rc_config $name
-rcvar=`set_rcvar`
+
+: ${kqemu_enable="NO"}
+
start_cmd=kqemu_start
stop_cmd=kqemu_stop