3de5a84967
Move net/rrdtool to databases/rrdtool. It's an itch which needs to be scratched: net/rrdtool came from net/mrtg, which was a good location for it. net/mrtg has later been moved to net-mgmt/mrtg. net/rrdtool is "Round Robin Database Tools", therefor it's better if it moves to databases/rrdtool. Same with net/rrdtool10. PR: ports/112942 Submitted by: Edwin Groothuis <edwin@mavetju.org>
40 lines
896 B
Makefile
40 lines
896 B
Makefile
# New ports collection makefile for: mysqlard
|
|
# Date created: 31 July 2006
|
|
# Whom: Greg Albrecht <gregoryba@gmail.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= mysqlard
|
|
PORTVERSION= 1.0.0
|
|
CATEGORIES= databases www
|
|
MASTER_SITES= http://gert.sos.be/downloads/mysqlar/
|
|
|
|
MAINTAINER= gregoryba@gmail.com
|
|
COMMENT= A tool to collect and graph database statistics from mysql
|
|
|
|
BUILD_DEPENDS= rrdtool:${PORTSDIR}/databases/rrdtool
|
|
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
|
|
|
USE_APACHE= 1.3+
|
|
USE_GETOPT_LONG=yes
|
|
USE_MYSQL= yes
|
|
|
|
MYSQLARD_DIR?= ${PREFIX}/www/mysqlard
|
|
|
|
USE_RC_SUBR= mysqlard.sh
|
|
|
|
MAN1= mysqlar_graph.1
|
|
MAN8= mysqlard.8
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
|
|
CONFIGURE_ARGS= --with-rrd="${LOCALBASE}" --datadir="${PREFIX}/www" \
|
|
--sysconfdir="${PREFIX}/etc"
|
|
|
|
SUB_FILES= pkg-message
|
|
|
|
post-install:
|
|
@${ECHO_CMD}; ${CAT} ${PKGMESSAGE}; ${ECHO_CMD}
|
|
|
|
.include <bsd.port.mk>
|