summaryrefslogtreecommitdiffstats
path: root/ports-mgmt/fbsdmon/Makefile
blob: 3fbb82e1ec0cb131571f1ef337103e8782a2e41c (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
# Created by: Grzegorz Blach <gblach@FreeBSD.org>
# $FreeBSD$

PORTNAME=	fbsdmon
PORTVERSION=	1.00
PORTREVISION=	1
CATEGORIES=	ports-mgmt sysutils
MASTER_SITES=	LOCAL/gblach/

MAINTAINER=	gblach@FreeBSD.org
COMMENT=	Submit system and ports statistics to fbsdmon.org

LIB_DEPENDS=	curl:${PORTSDIR}/ftp/curl \
		jansson:${PORTSDIR}/devel/jansson

SUB_FILES=	600.fbsdmon pkg-message
USE_RC_SUBR=	fbsdmon

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/fbsdmon ${PREFIX}/sbin
	${MKDIR} /var/db/fbsdmon
	${MKDIR} ${PREFIX}/etc/periodic/weekly
	${INSTALL_SCRIPT} ${WRKDIR}/600.fbsdmon ${PREFIX}/etc/periodic/weekly

post-install:
	@${CAT} ${PKGMESSAGE}

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