Do not hardcode /usr/local and rely on %%PREFIX%%.

While here, also add %%PREFIX%%/sbin to $PATH.
Bump PORTREVISION for this change.

With hat:	puppet
This commit is contained in:
Romain Tartière 2019-02-23 05:38:27 +00:00
parent bc7316915f
commit de77e91b71
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=493642
6 changed files with 6 additions and 3 deletions

View File

@ -2,6 +2,7 @@
PORTNAME= puppet
PORTVERSION= 4.10.12
PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= https://downloads.puppetlabs.com/puppet/
PKGNAMESUFFIX= 4

View File

@ -30,7 +30,7 @@ unset puppet_flags
pidfile="${puppet_rundir}/agent.pid"
start_precmd="install -d -o puppet -g puppet ${pidfile%/*}"
PATH="${PATH}:/usr/local/bin"
PATH="${PATH}:%%PREFIX%%/bin:%%PREFIX%%/sbin"
# An UTF-8 locale is required
: LC_ALL=${LC_ALL:=C.UTF-8}

View File

@ -2,6 +2,7 @@
PORTNAME= puppet
PORTVERSION= 5.5.10
PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= https://downloads.puppetlabs.com/puppet/
PKGNAMESUFFIX= 5

View File

@ -30,7 +30,7 @@ unset puppet_flags
pidfile="${puppet_rundir}/agent.pid"
start_precmd="install -d -o puppet -g puppet ${pidfile%/*}"
PATH="${PATH}:/usr/local/bin"
PATH="${PATH}:%%PREFIX%%/bin:%%PREFIX%%/sbin"
# An UTF-8 locale is required
: LC_ALL=${LC_ALL:=C.UTF-8}

View File

@ -2,6 +2,7 @@
PORTNAME= puppet
PORTVERSION= 6.3.0
PORTREVISION= 1
CATEGORIES= sysutils
PKGNAMESUFFIX= 6

View File

@ -30,7 +30,7 @@ unset puppet_flags
pidfile="${puppet_rundir}/agent.pid"
start_precmd="install -d -o puppet -g puppet ${pidfile%/*}"
PATH="${PATH}:/usr/local/bin"
PATH="${PATH}:%%PREFIX%%/bin:%%PREFIX%%/sbin"
# An UTF-8 locale is required
: LC_ALL=${LC_ALL:=C.UTF-8}