diff --git a/net-im/sulci/Makefile b/net-im/sulci/Makefile index c15e6a41746c..4e3ab6450cb8 100644 --- a/net-im/sulci/Makefile +++ b/net-im/sulci/Makefile @@ -7,6 +7,7 @@ PORTNAME= sulci PORTVERSION= 0.5.a.20050918 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= net-im MASTER_SITES= http://www.jabber.ru/files/sulci/ diff --git a/net-im/sulci/files/sulci.sh.in b/net-im/sulci/files/sulci.sh.in index 549e2173acc9..a47e38b9fa16 100644 --- a/net-im/sulci/files/sulci.sh.in +++ b/net-im/sulci/files/sulci.sh.in @@ -3,27 +3,31 @@ # PROVIDE: sulci # REQUIRE: DAEMON -# BEFORE: LOGIN -# KEYWORD: shutdown # Define these sulci_* variables in one of these files: # /etc/rc.conf # /etc/rc.conf.local # /etc/rc.conf.d/sulci # -# DO NOT CHANGE THESE DEFAULT VALUES HERE +# sulci_enable : bool +# Enable ("YES") or disable ("NO", the default) this startup script. +# +# sulci_precmd : string +# Execute this command before the daemon startup, ":" by default. # -sulci_enable=${sulci_enable-"NO"} -sulci_precmd=":" . %%RC_SUBR%% name="sulci" rcvar=`set_rcvar` + command="%%PREFIX%%/sbin/sulci" command_args="&" -load_rc_config $name +load_rc_config "${name}" + +: ${sulci_enable="NO"} +: ${sulci_precmd=":"} start_precmd="${sulci_precmd}"