mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
print/cups-filters: add missing rc script
. add imissing rc script; [1] . bump PORTREVISION. PR: ports/190086 [1] Submitted by: Rafael Ostertag <rafi@guengel.ch> [1] Approved by: Naram Qashat <cyberbotx@cyberbotx.com> (maintainer) [1]
This commit is contained in:
parent
49d1531ae2
commit
2bef4ad4ff
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=354832
@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
PORTNAME= cups-filters
|
PORTNAME= cups-filters
|
||||||
PORTVERSION= 1.0.53
|
PORTVERSION= 1.0.53
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= print
|
CATEGORIES= print
|
||||||
MASTER_SITES= http://www.openprinting.org/download/cups-filters/
|
MASTER_SITES= http://www.openprinting.org/download/cups-filters/
|
||||||
|
|
||||||
@ -24,6 +25,7 @@ USES= compiler:c++11-lib pathfix pkgconfig shebangfix tar:xz
|
|||||||
SHEBANG_FILES= filter/textonly
|
SHEBANG_FILES= filter/textonly
|
||||||
USE_GNOME= glib20
|
USE_GNOME= glib20
|
||||||
USE_GHOSTSCRIPT= yes
|
USE_GHOSTSCRIPT= yes
|
||||||
|
USE_RC_SUBR= cups_browsed
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
CUPS_SOCKET= /var/run/cups.sock
|
CUPS_SOCKET= /var/run/cups.sock
|
||||||
CONFIGURE_ARGS= --with-cups-domainsocket=${CUPS_SOCKET}
|
CONFIGURE_ARGS= --with-cups-domainsocket=${CUPS_SOCKET}
|
||||||
|
29
print/cups-filters/files/cups_browsed.in
Normal file
29
print/cups-filters/files/cups_browsed.in
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
# $FreeBSD$
|
||||||
|
#
|
||||||
|
# PROVIDE: cups_browsed
|
||||||
|
# REQUIRE: LOGIN
|
||||||
|
# KEYWORD: shutdown
|
||||||
|
#
|
||||||
|
# Add the following to /etc/rc.conf[.local] to enable this service
|
||||||
|
#
|
||||||
|
# cups_browsed_enable (bool): Set to NO by default.
|
||||||
|
# Set it to YES to enable cups_browsed.
|
||||||
|
#
|
||||||
|
|
||||||
|
. /etc/rc.subr
|
||||||
|
|
||||||
|
name=cups_browsed
|
||||||
|
rcvar=cups_browsed_enable
|
||||||
|
|
||||||
|
load_rc_config ${name}
|
||||||
|
|
||||||
|
: ${cups_browsed_enable:=NO}
|
||||||
|
|
||||||
|
command=/usr/sbin/daemon
|
||||||
|
pidfile=/var/run/cups-browsed.pid
|
||||||
|
command_args="-p ${pidfile} %%PREFIX%%/sbin/cups-browsed"
|
||||||
|
procname="%%PREFIX%%/sbin/cups-browsed"
|
||||||
|
|
||||||
|
run_rc_command "$1"
|
Loading…
Reference in New Issue
Block a user