blob: 2bfee2bbc365e3291fcd21ae2385df2c97fd4d86 (
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
29
30
31
32
33
34
35
36
|
# New ports collection makefile for: mrtg-mysql-load
# Date created: 2004-04-08
# Whom: Piet Delport <pjd@303.za.net>
#
# $FreeBSD$
#
PORTNAME= mrtg-mysql-load
PORTVERSION= 1.02
CATEGORIES= databases net-mgmt
MASTER_SITES= http://www.bitbybit.dk/mysqlfaq/mrtg-mysql-load/
MAINTAINER= ports@FreeBSD.org
COMMENT= A MySQL load analysis fetcher for MRTG
RUN_DEPENDS= mrtg:${PORTSDIR}/net-mgmt/mrtg \
mysqladmin:${PORTSDIR}/databases/mysql40-client
NO_BUILD= yes
NO_WRKSUBDIR= yes
USE_PERL5_RUN= yes
USE_REINPLACE= yes
MAN1= ${PORTNAME}.1
post-patch:
@${REINPLACE_CMD} -e 's|%%PERL%%|${PERL}|' ${WRKSRC}/${PORTNAME}
do-install:
@${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
@${MKDIR} ${PREFIX}/etc/mrtg
@${INSTALL_DATA} ${WRKSRC}/mrtg-cfg.example ${PREFIX}/etc/mrtg/mrtg.cfg-mysql-load.example
@${INSTALL_DATA} ${WRKSRC}/mysql-load-cfg.example ${PREFIX}/etc/mrtg/mysql-load-cfg.example
@${INSTALL_MAN} ${WRKSRC}/doc/${PORTNAME}.1 ${PREFIX}/man/man1
.include <bsd.port.mk>
|