diff options
Diffstat (limited to 'mail/cyrus-imapd2/pkg-install')
-rw-r--r-- | mail/cyrus-imapd2/pkg-install | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mail/cyrus-imapd2/pkg-install b/mail/cyrus-imapd2/pkg-install index 20f1fbb0ff7c..21e473bac5db 100644 --- a/mail/cyrus-imapd2/pkg-install +++ b/mail/cyrus-imapd2/pkg-install @@ -6,12 +6,14 @@ PKG_BATCH=${BATCH:=NO} PKG_PREFIX=${PKG_PREFIX:=/usr/local} +CYRUS_USER=${CYRUS_USER:=%%CYRUS_USER%%} + # # Modify the 'cyrus' user created from the cyrus-sasl port # modify_cyrus_user() { - USER=cyrus + USER=${CYRUS_USER} PW=/usr/sbin/pw shell=/bin/csh uhome=${PKG_PREFIX}/cyrus |