diff options
author | garga <garga@FreeBSD.org> | 2006-01-23 18:47:12 +0800 |
---|---|---|
committer | garga <garga@FreeBSD.org> | 2006-01-23 18:47:12 +0800 |
commit | d5eb6fc552efb4dec84b3a5acb16d39df44a6a39 (patch) | |
tree | ede4f29cb0a0e8002ec89d384fde72271f2b6f39 /net-im | |
parent | 0ae0e102e9ba4ef15b059000ef16fc34e19f5d09 (diff) | |
download | freebsd-ports-gnome-d5eb6fc552efb4dec84b3a5acb16d39df44a6a39.tar.gz freebsd-ports-gnome-d5eb6fc552efb4dec84b3a5acb16d39df44a6a39.tar.zst freebsd-ports-gnome-d5eb6fc552efb4dec84b3a5acb16d39df44a6a39.zip |
- Fix rc.d/jabber-pyicq-transport.sh to make it honour rc.conf vars
- Bump PORTREVISION
PR: ports/92054
Submitted by: Lapo Luchini <lapo@lapo.it>
Diffstat (limited to 'net-im')
-rw-r--r-- | net-im/jabber-pyicq/Makefile | 1 | ||||
-rw-r--r-- | net-im/jabber-pyicq/files/jabber-pyicq-transport.sh.in | 16 |
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" |