aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authormnag <mnag@FreeBSD.org>2005-10-12 04:41:15 +0800
committermnag <mnag@FreeBSD.org>2005-10-12 04:41:15 +0800
commit92461c1322da9e3fcb8fa368169e0cecd702636b (patch)
tree951f16edcb1bb489d48b75ee62c7242777c39f1f /www
parentc2b1b1d4e4ccf744db7d30eeb9353a65d4364633 (diff)
downloadfreebsd-ports-gnome-92461c1322da9e3fcb8fa368169e0cecd702636b.tar.gz
freebsd-ports-gnome-92461c1322da9e3fcb8fa368169e0cecd702636b.tar.zst
freebsd-ports-gnome-92461c1322da9e3fcb8fa368169e0cecd702636b.zip
Fix message when not set INSTALLDIR
PR: 87278 Submitted by: Daniel Gerzo <danger@rulez.sk> (maintainer)
Diffstat (limited to 'www')
-rw-r--r--www/usermanager/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/www/usermanager/Makefile b/www/usermanager/Makefile
index cd3910598cff..6fdf74777e65 100644
--- a/www/usermanager/Makefile
+++ b/www/usermanager/Makefile
@@ -20,14 +20,17 @@ BROKEN_WITH_PHP= 5
USE_PHP= mysql pcre posix session
NO_BUILD= yes
+
PKGMESSAGE= ${WRKDIR}/pkg-message
PLIST_SUB+= INSTALLDIR=${INSTALLDIR}
-INSTALLDIR?= www/data/UserManager
+
+_INSTDIR= www/data/UserManager
+INSTALLDIR?= ${_INSTDIR}
pre-fetch:
-.if !defined(INSTALLDIR)
+.if ${INSTALLDIR} == ${_INSTDIR}
@${ECHO_MSG} ""
- @${ECHO_MSG} "Define INSTALLDIR to override default of 'www/data/UserManager'."
+ @${ECHO_MSG} "Define INSTALLDIR to override default of '${_INSTDIR}'."
@${ECHO_MSG} ""
.endif