blob: 0ee7c24ca812a7e7c27b62a834d77084ca1fb75e (
plain) (
blame)
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.01
CATEGORIES= ports-mgmt sysutils
MASTER_SITES= LOCAL/gblach/
MAINTAINER= ports@FreeBSD.org
COMMENT= Submit system and ports statistics to fbsdmon.org
LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl \
libjansson.so:${PORTSDIR}/devel/jansson
SUB_FILES= 600.fbsdmon pkg-message
USE_RC_SUBR= fbsdmon
post-patch:
@${REINPLACE_CMD} '/^LIBS =/s/$$/ -lz/' ${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/fbsdmon ${STAGEDIR}${PREFIX}/sbin
${MKDIR} ${STAGEDIR}/var/db/fbsdmon
${MKDIR} ${STAGEDIR}${PREFIX}/etc/periodic/weekly
${INSTALL_SCRIPT} ${WRKDIR}/600.fbsdmon \
${STAGEDIR}${PREFIX}/etc/periodic/weekly
.include <bsd.port.mk>
|