blob: bd08ca357a94db134fb2c8c1d57825d73630f6db (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
PORTNAME= xymon
PORTVERSION= 4.3.30
PORTREVISION= 0
CATEGORIES= net-mgmt www
MASTER_SITES= SF/xymon/Xymon/${PORTVERSION}
PKGNAMESUFFIX= -client${PKGNAMESUFFIX2}
DIST_SUBDIR= repacked
MAINTAINER= feld@FreeBSD.org
COMMENT= System for monitoring servers and networks - Client
LICENSE= GPLv2
USERS= xymon
GROUPS= xymon
# Options
XYMONUSER?= xymon
XYMONHOSTIP?= 127.0.0.1
SUB_LIST+= XYMONUSER="${XYMONUSER}"
MAKE_JOBS_UNSAFE= yes
USES= cpe gmake
CONFIGURE_ENV= MAKE=${MAKE_CMD}
MAKE_ENV+= XYMONUSER="${XYMONUSER}"
MAKE_ENV+= XYMONHOSTIP="${XYMONHOSTIP}"
MAKE_ENV+= INSTALLROOT="${STAGEDIR}"
MAKE_ENV+= PKGBUILD=1
MANPREFIX= ${STAGEDIR}${PREFIX}
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:
${MKDIR} ${STAGEDIR}${WWWDIR}/client/ext
${MKDIR} ${STAGEDIR}${WWWDIR}/client/logs
${MKDIR} ${STAGEDIR}${WWWDIR}/client/tmp
.include <bsd.port.mk>
|