mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-02 06:03:50 +00:00
deskutils/pueue: Add rc script
PR: 282742
This commit is contained in:
parent
2eeff9417f
commit
ad6fccf871
@ -1,7 +1,7 @@
|
||||
PORTNAME= pueue
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 3.4.1
|
||||
PORTREVISION= 4
|
||||
PORTREVISION= 5
|
||||
CATEGORIES= deskutils
|
||||
|
||||
MAINTAINER= yuri@FreeBSD.org
|
||||
@ -15,6 +15,7 @@ USES= cargo
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= Nukesor
|
||||
USE_RC_SUBR= pueued
|
||||
|
||||
RUSTFLAGS= ${ARCH:S/i386/YES/:C/^[a-z].*//:S/YES/-C target-feature=+sse,+sse2/} # add sse sse2 target-features only on i386
|
||||
|
||||
|
24
deskutils/pueue/files/pueued.in
Normal file
24
deskutils/pueue/files/pueued.in
Normal file
@ -0,0 +1,24 @@
|
||||
#! /bin/sh
|
||||
|
||||
# PROVIDE: pueued
|
||||
# REQUIRE: DAEMON
|
||||
# KEYWORD: shutdown
|
||||
#
|
||||
# Configuration settings for pueued in /etc/rc.conf
|
||||
#
|
||||
# pueued_enable (bool): Enable pueued. (default=NO)
|
||||
|
||||
. /etc/rc.subr
|
||||
|
||||
name="pueued"
|
||||
rcvar="pueued_enable"
|
||||
|
||||
load_rc_config $name
|
||||
|
||||
: ${pueued_enable:="NO"}
|
||||
: ${pueued_env:="HOME=/root"}
|
||||
|
||||
command="%%PREFIX%%/bin/${name}"
|
||||
command_args="-d"
|
||||
|
||||
run_rc_command "$1"
|
Loading…
Reference in New Issue
Block a user