aboutsummaryrefslogtreecommitdiff
path: root/net-p2p/lidarr
diff options
context:
space:
mode:
authorDries Michiels <driesm@FreeBSD.org>2024-03-04 15:17:08 +0000
committerDries Michiels <driesm@FreeBSD.org>2024-03-04 16:09:31 +0000
commit2e3d3209da63233028c34d2a1e752abb2e67a3a1 (patch)
tree96487343f6ba36ace68aaf9ab59f65f2f33fa5c9 /net-p2p/lidarr
parentd52daad3109a9605ed1addc70d67fa6080207e8f (diff)
downloadports-2e3d3209da63233028c34d2a1e752abb2e67a3a1.tar.gz
ports-2e3d3209da63233028c34d2a1e752abb2e67a3a1.zip
net-p2p/lidarr: use LOCALBASE in exporting PATH
Reported by: jbeich Approved by: maintainer (e-mail)
Diffstat (limited to 'net-p2p/lidarr')
-rw-r--r--net-p2p/lidarr/Makefile1
-rw-r--r--net-p2p/lidarr/files/lidarr.in2
2 files changed, 2 insertions, 1 deletions
diff --git a/net-p2p/lidarr/Makefile b/net-p2p/lidarr/Makefile
index f8b2cab538c0..1ae9ddc1bd9b 100644
--- a/net-p2p/lidarr/Makefile
+++ b/net-p2p/lidarr/Makefile
@@ -1,5 +1,6 @@
PORTNAME= lidarr
DISTVERSION= 2.1.7.4030
+PORTREVISION= 1
CATEGORIES= net-p2p
MASTER_SITES= https://github.com/lidarr/Lidarr/releases/download/v${PORTVERSION}/
DISTNAME= Lidarr.master.${DISTVERSION}.freebsd-core-x64
diff --git a/net-p2p/lidarr/files/lidarr.in b/net-p2p/lidarr/files/lidarr.in
index df009015b687..fe5dc36a157b 100644
--- a/net-p2p/lidarr/files/lidarr.in
+++ b/net-p2p/lidarr/files/lidarr.in
@@ -33,7 +33,7 @@ command="/usr/sbin/daemon"
start_precmd=${name}_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
install -d -o ${%%PORTNAME%%_user} -g ${%%PORTNAME%%_group} ${%%PORTNAME%%_data_dir}