aboutsummaryrefslogtreecommitdiff
path: root/net-im/jabber-pyicq
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2006-01-23 10:47:12 +0000
committerRenato Botelho <garga@FreeBSD.org>2006-01-23 10:47:12 +0000
commit30003e51bd3c19f53e3d29793267bfcd3b2d0cfb (patch)
tree301e11f9ba6247b1fd874b3a71cf9095710b322c /net-im/jabber-pyicq
parent5d390feb3fdf8437e52be4d96e25069a8fb4e31e (diff)
downloadports-30003e51bd3c19f53e3d29793267bfcd3b2d0cfb.tar.gz
ports-30003e51bd3c19f53e3d29793267bfcd3b2d0cfb.zip
Notes
Diffstat (limited to 'net-im/jabber-pyicq')
-rw-r--r--net-im/jabber-pyicq/Makefile1
-rw-r--r--net-im/jabber-pyicq/files/jabber-pyicq-transport.sh.in16
2 files changed, 8 insertions, 9 deletions
diff --git a/net-im/jabber-pyicq/Makefile b/net-im/jabber-pyicq/Makefile
index af86d5b5e16a..8336b4b5abf1 100644
--- a/net-im/jabber-pyicq/Makefile
+++ b/net-im/jabber-pyicq/Makefile
@@ -6,6 +6,7 @@
PORTNAME= pyicq
PORTVERSION= 0.6
+PORTREVISION= 1
CATEGORIES= net-im
MASTER_SITES= http://www.blathersource.org/download.php/pyicq-t/
PKGNAMEPREFIX= jabber-
diff --git a/net-im/jabber-pyicq/files/jabber-pyicq-transport.sh.in b/net-im/jabber-pyicq/files/jabber-pyicq-transport.sh.in
index dda434fc9d75..4f9de7d401f0 100644
--- a/net-im/jabber-pyicq/files/jabber-pyicq-transport.sh.in
+++ b/net-im/jabber-pyicq/files/jabber-pyicq-transport.sh.in
@@ -14,21 +14,19 @@
#
# DO NOT CHANGE THESE DEFAULT VALUES HERE
#
-jabber_pyicq_dir=${jabberd_pyicq_dir-"%%PREFIX%%/lib/jabber/pyicq"}
-jabber_pyicq_piddir=${jabberd_pyicq_piddir-"/var/jabberd/pid"}
-jabber_pyicq_enable=${jabberd_pyicq_enable-"NO"}
-
+jabber_pyicq_dir=${jabber_pyicq_dir:-"%%PREFIX%%/lib/jabber/pyicq"}
+jabber_pyicq_piddir=${jabber_pyicq_piddir:-"/var/jabberd/pid"}
+jabber_pyicq_enable=${jabber_pyicq_enable:-"NO"}
. %%RC_SUBR%%
name="jabber_pyicq"
rcvar=`set_rcvar`
-command_interpreter="%%PYTHON_CMD%%"
-command="${jabber_pyicq_dir}/main.py"
-command_args="&"
+load_rc_config $name
-#procname="${PYTHON} ${jabber_pyicq_dir}/main.py"
pidfile="${jabber_pyicq_piddir}/pyicq.pid"
+command_interpreter="%%PYTHON_CMD%%"
+command="${jabber_pyicq_dir}/main.py"
+command_args="-o pid=${pidfile} &"
-load_rc_config $name
run_rc_command "$1"