aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/xymon-client/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/xymon-client/Makefile')
-rw-r--r--net-mgmt/xymon-client/Makefile25
1 files changed, 12 insertions, 13 deletions
diff --git a/net-mgmt/xymon-client/Makefile b/net-mgmt/xymon-client/Makefile
index 95fcc1d17c4a..4d49fdd384a0 100644
--- a/net-mgmt/xymon-client/Makefile
+++ b/net-mgmt/xymon-client/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= xymon
-PORTVERSION= 4.2.3
-PORTREVISION= 1
+PORTVERSION= 4.3.0
CATEGORIES= net-mgmt www
MASTER_SITES= SF/xymon/Xymon/${PORTVERSION}
PKGNAMESUFFIX= -client${PKGNAMESUFFIX2}
@@ -18,29 +17,29 @@ COMMENT= System for monitoring servers and networks - Client
LICENSE= GPLv2
# Options
-BBUSER?= hobbit
-BBHOSTIP?= 127.0.0.1
+XYMONUSER?= xymon
+XYMONHOSTIP?= 127.0.0.1
USE_GMAKE= yes
CONFIGURE_ENV= MAKE=gmake
-MAKE_ENV+= BBUSER="${BBUSER}"
-MAKE_ENV+= BBHOSTIP="${BBHOSTIP}"
-USE_RC_SUBR= hobbit-client.sh
-PLIST_SUB+= BBUSER="${BBUSER}"
-CONFIG_FILES= clientlaunch.cfg hobbitclient.cfg localclient.cfg
+MAKE_ENV+= XYMONUSER="${XYMONUSER}"
+MAKE_ENV+= XYMONHOSTIP="${XYMONHOSTIP}"
+USE_RC_SUBR= xymon-client.sh
+PLIST_SUB+= XYMONUSER="${XYMONUSER}"
+CONFIG_FILES= clientlaunch.cfg xymonclient.cfg localclient.cfg
# Configure script is interactive
do-configure:
${CP} ${FILESDIR}/Makefile ${WRKSRC}/
pre-install:
- if ! pw groupshow ${BBUSER}; then pw groupadd ${BBUSER} -g 280; fi
- if ! pw usershow ${BBUSER}; then pw useradd ${BBUSER} -g ${BBUSER} -u 280 \
- -h - -d ${WWWDIR} -s /usr/sbin/nologin -c "Hobbit Monitor"; fi
+ if ! pw groupshow ${XYMONUSER}; then pw groupadd ${XYMONUSER} -g 280; fi
+ if ! pw usershow ${XYMONUSER}; then pw useradd ${XYMONUSER} -g ${XYMONUSER} -u 280 \
+ -h - -d ${WWWDIR} -s /usr/sbin/nologin -c "Xymon Monitor"; fi
post-install:
.for i in ${CONFIG_FILES}
- ${CP} -np ${WWWDIR}/client/etc/${i}-dist \
+ ${CP} -np ${WWWDIR}/client/etc/${i}.DIST \
${WWWDIR}/client/etc/${i}
.endfor