diff options
author | swills <swills@FreeBSD.org> | 2017-11-22 00:56:24 +0800 |
---|---|---|
committer | swills <swills@FreeBSD.org> | 2017-11-22 00:56:24 +0800 |
commit | 84330c3633a909c25455cca49803d96ac9159c1e (patch) | |
tree | a617547a2e64c42adc38c9e006069b7b0ece4e3c /sysutils | |
parent | 9d4f1a37cbaba58f9e068d88ec4acea75ab4d189 (diff) | |
download | freebsd-ports-gnome-84330c3633a909c25455cca49803d96ac9159c1e.tar.gz freebsd-ports-gnome-84330c3633a909c25455cca49803d96ac9159c1e.tar.zst freebsd-ports-gnome-84330c3633a909c25455cca49803d96ac9159c1e.zip |
sysutils/daemontools-encore: Fix RC script
PR: 211961
Submitted by: Christian Ullrich <chris@chrullrich.net>
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/daemontools-encore/Makefile | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/sysutils/daemontools-encore/Makefile b/sysutils/daemontools-encore/Makefile index 4cb1ec22cf20..677d748d108a 100644 --- a/sysutils/daemontools-encore/Makefile +++ b/sysutils/daemontools-encore/Makefile @@ -18,6 +18,28 @@ CONFLICTS= daemontools-[0-9]* freedt-[0-9]* serialmail-[0-9]* ALL_TARGET= default +S_EARLY_DESC= Start early, before the normal daemons +S_NORMAL_DESC= Start normally in the usual boot sequence + +OPTIONS_SINGLE= SEQ +OPTIONS_SINGLE_SEQ= S_EARLY S_NORMAL + +OPTIONS_DEFAULT= S_NORMAL + +.include <bsd.port.options.mk> + +. if ${PORT_OPTIONS:MS_EARLY} +SVSCAN_REQUIRE?= SERVERS +SVSCAN_BEFORE?= DAEMON +. endif + +. if ${PORT_OPTIONS:MS_NORMAL} +SVSCAN_REQUIRE?= LOGIN +SVSCAN_BEFORE?= +. endif + +SUB_LIST+= SVSCAN_REQUIRE=${SVSCAN_REQUIRE} SVSCAN_BEFORE=${SVSCAN_BEFORE} + USE_RC_SUBR= svscan MANFILES= \ |