ports/net/dico/files/dicod.in
FreeBSD 0318e32744 net/dico: Update to 2.11/Rename port
- Rename the port to match upstream naming
  Change the name from net/gnu-dico to net/dico, prefix gnu- was added
  to distinguish this port from the port french/dico no longer needed
  since the port french/dico was removed from ports few years ago

- Switch to DISTVERSION
- Strip binaries
- Add missing dependencies

ChangeLog:	https://git.savannah.gnu.org/cgit/dico.git/tree/NEWS
PR:		268796

The prefix gnu was added to distinguish this port from the port french/dico

This is no longer needed since the port french/dico was removed from ports few years ago
2023-06-03 12:46:40 +01:00

20 lines
284 B
Bash

#!/bin/sh
# PROVIDE: dicod
# REQUIRE: DAEMON
#
# Add the following line to /etc/rc.conf to enable dicod:
#
# dicod_enable="YES"
dicod_enable=${dicod_enable-"NO"}
. /etc/rc.subr
name=dicod
rcvar=dicod_enable
command=%%PREFIX%%/sbin/dicod
load_rc_config $name
run_rc_command "$1"