net-p2p/lidarr: use LOCALBASE in exporting PATH

Reported by:	jbeich
Approved by:	maintainer (e-mail)
This commit is contained in:
Dries Michiels 2024-03-04 16:17:08 +01:00
parent d52daad310
commit 2e3d3209da
2 changed files with 2 additions and 1 deletions

View file

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

View file

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