8c88aca871
- Include patch to fix CLOCK test Approved by: swills (mentor)
41 lines
874 B
Makefile
41 lines
874 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= xymon
|
|
PORTVERSION= 4.3.12
|
|
CATEGORIES= net-mgmt www
|
|
MASTER_SITES= SF/xymon/Xymon/${PORTVERSION}
|
|
PKGNAMESUFFIX= -client${PKGNAMESUFFIX2}
|
|
DIST_SUBDIR= repacked
|
|
|
|
MAINTAINER= feld@feld.me
|
|
COMMENT= System for monitoring servers and networks - Client
|
|
|
|
LICENSE= GPLv2
|
|
|
|
USERS= xymon
|
|
GROUPS= xymon
|
|
|
|
# Options
|
|
XYMONUSER?= xymon
|
|
XYMONHOSTIP?= 127.0.0.1
|
|
|
|
MAKE_JOBS_UNSAFE= yes
|
|
USE_GMAKE= yes
|
|
CONFIGURE_ENV= MAKE=gmake
|
|
MAKE_ENV+= XYMONUSER="${XYMONUSER}"
|
|
MAKE_ENV+= XYMONHOSTIP="${XYMONHOSTIP}"
|
|
USE_RC_SUBR= xymon-client
|
|
PLIST_SUB+= XYMONUSER="${XYMONUSER}"
|
|
CONFIG_FILES= clientlaunch.cfg xymonclient.cfg localclient.cfg
|
|
|
|
# Configure script is interactive
|
|
do-configure:
|
|
${CP} ${FILESDIR}/Makefile ${WRKSRC}/
|
|
|
|
post-install:
|
|
.for i in ${CONFIG_FILES}
|
|
${CP} -np ${WWWDIR}/client/etc/${i}.DIST \
|
|
${WWWDIR}/client/etc/${i} || ${TRUE}
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|