1
0
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:
Jesús Daniel Colmenares Oviedo 2024-11-13 17:37:46 -08:00 committed by Yuri Victorovich
parent 2eeff9417f
commit ad6fccf871
2 changed files with 26 additions and 1 deletions

View File

@ -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

View 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"