mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 09:36:41 -04:00
net-p2p/lidarr: use LOCALBASE in exporting PATH
Reported by: jbeich Approved by: maintainer (e-mail)
This commit is contained in:
parent
d52daad310
commit
2e3d3209da
2 changed files with 2 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
||||||
PORTNAME= lidarr
|
PORTNAME= lidarr
|
||||||
DISTVERSION= 2.1.7.4030
|
DISTVERSION= 2.1.7.4030
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= net-p2p
|
CATEGORIES= net-p2p
|
||||||
MASTER_SITES= https://github.com/lidarr/Lidarr/releases/download/v${PORTVERSION}/
|
MASTER_SITES= https://github.com/lidarr/Lidarr/releases/download/v${PORTVERSION}/
|
||||||
DISTNAME= Lidarr.master.${DISTVERSION}.freebsd-core-x64
|
DISTNAME= Lidarr.master.${DISTVERSION}.freebsd-core-x64
|
||||||
|
|
|
@ -33,7 +33,7 @@ command="/usr/sbin/daemon"
|
||||||
|
|
||||||
start_precmd=${name}_precmd
|
start_precmd=${name}_precmd
|
||||||
%%PORTNAME%%_precmd() {
|
%%PORTNAME%%_precmd() {
|
||||||
export PATH="/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"
|
export PATH="/sbin:/bin:/usr/sbin:/usr/bin:%%LOCALBASE%%/sbin:%%LOCALBASE%%/bin"
|
||||||
|
|
||||||
if [ ! -d ${%%PORTNAME%%_data_dir} ]; then
|
if [ ! -d ${%%PORTNAME%%_data_dir} ]; then
|
||||||
install -d -o ${%%PORTNAME%%_user} -g ${%%PORTNAME%%_group} ${%%PORTNAME%%_data_dir}
|
install -d -o ${%%PORTNAME%%_user} -g ${%%PORTNAME%%_group} ${%%PORTNAME%%_data_dir}
|
||||||
|
|
Loading…
Add table
Reference in a new issue