ports/x11/cde-devel/files/dtcms-devel.in
Cy Schubert dc9eb66aca x11/cde-devel: Introduce x11/cde-devel
The x11/cde-devel port will track the CDE master development branch.
The cdesktopenv-code git repo on sourceforge is mirrored using my github
account and FreeBSD ports plumbing is used to fetch tarballs from github.

This port uses the x11/cde-25 port/pkg coexistence methodology to allow
it to be installed while a more stable version of x11/cde* is installed,
allowing users to safely use the port with a quick fallback should the
upstream software significanly break.

Users should ensure that their ~/.dt is backed up prior to switching
from a stable version of x11/cde* to x11/cde-devel or back again.
2022-08-05 20:38:58 -07:00

26 lines
460 B
Bash

#!/bin/sh
# PROVIDE: dtcms
# REQUIRE: rpcbind
# KEYWORD: shutdown
# Add the following line to /etc/rc.conf to enable dtcms:
#
# dtcms_enable=YES
. /etc/rc.subr
name=dtcms
rcvar=dtcms_enable
desc="CDE calendar manager service daemon"
load_rc_config $name
: ${dtcms_enable:=NO}
start_precmd="force_depend rpcbind || exit 1"
pidfile=/var/run/dtcms.pid
command=/usr/sbin/daemon
command_args="-P $pidfile %%PREFIX%%/dt-devel/bin/rpc.cmsd"
run_rc_command $1