Fix missing dirs for pkg_tools users

Convert a gmake to ${GMAKE}

PR:		ports/183670
Approved by:	crees (mentor)
This commit is contained in:
Mark Felder 2013-11-05 14:00:05 +00:00
parent 5e2b4707df
commit 7ee6671f5c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=332848
2 changed files with 5 additions and 1 deletions

View file

@ -2,6 +2,7 @@
PORTNAME= xymon
PORTVERSION= 4.3.12
PORTREVISION= 1
CATEGORIES= net-mgmt www
MASTER_SITES= SF/xymon/Xymon/${PORTVERSION}
PKGNAMESUFFIX= -client${PKGNAMESUFFIX2}
@ -21,7 +22,7 @@ XYMONHOSTIP?= 127.0.0.1
MAKE_JOBS_UNSAFE= yes
USES= gmake
CONFIGURE_ENV= MAKE=gmake
CONFIGURE_ENV= MAKE=${GMAKE}
MAKE_ENV+= XYMONUSER="${XYMONUSER}"
MAKE_ENV+= XYMONHOSTIP="${XYMONHOSTIP}"
MAKE_ENV+= INSTALLROOT="${STAGEDIR}"

View file

@ -34,6 +34,9 @@
%%WWWDIR%%/client/local/README
%%WWWDIR%%/client/runclient.sh
@exec chown -R %%XYMONUSER%% %D/%%WWWDIR%%/client
@exec mkdir %D/%%WWWDIR%%/client/ext
@exec mkdir %D/%%WWWDIR%%/client/logs
@exec mkdir %D/%%WWWDIR%%/client/tmp
@dirrm %%WWWDIR%%/client/tmp
@dirrm %%WWWDIR%%/client/logs
@dirrm %%WWWDIR%%/client/local