summaryrefslogtreecommitdiffstats
path: root/sysutils/pfSense-Status_Monitoring/Makefile
blob: 94e533f370ca03532539222ad2f1621c72503f35 (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
# $FreeBSD$

PORTNAME=	pfSense-Status_Monitoring
PORTVERSION=	1.4.4
PORTREVISION=	2
CATEGORIES=	sysutils
MASTER_SITES=	# empty
DISTFILES=	# empty
EXTRACT_ONLY=	# empty

MAINTAINER=	coreteam@pfsense.org
COMMENT=	pfSense Status Monitoring

LICENSE=	ESF

NO_BUILD=	yes
NO_MTREE=	yes
USE_PHP=	yes

PLIST_SUB=	PORTNAME=${PORTNAME}

.include <bsd.port.pre.mk>

RUN_DEPENDS+=	${PHPBASE}/lib/php/${PHP_EXT_DIR}/rrd.so:databases/pecl-rrd

do-extract:
	${MKDIR} ${WRKSRC}

do-install:
	${MKDIR} ${STAGEDIR}/etc/inc/priv
	${MKDIR} ${STAGEDIR}${PREFIX}/www
	${MKDIR} ${STAGEDIR}${PREFIX}/share/pfSense/menu
	${INSTALL_DATA} ${FILESDIR}/etc/inc/priv/status_monitoring.priv.inc \
		${STAGEDIR}/etc/inc/priv/${PORTNAME}.priv.inc
	${INSTALL_DATA} ${FILESDIR}${PREFIX}/www/status_monitoring.php \
		${STAGEDIR}${PREFIX}/www
	${INSTALL_DATA} ${FILESDIR}${PREFIX}/www/rrd_fetch_json.php \
		${STAGEDIR}${PREFIX}/www
	${INSTALL_DATA} ${FILESDIR}${DATADIR}/menu.xml \
		${STAGEDIR}${PREFIX}/share/pfSense/menu/${PORTNAME}.xml

.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud