1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00
freebsd-ports/databases/mysqlard/Makefile

37 lines
768 B
Makefile

# Created by: Greg Albrecht <gregoryba@gmail.com>
# $FreeBSD$
PORTNAME= mysqlard
PORTVERSION= 1.0.0
PORTREVISION= 6
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_RUN= 22+
USE_MYSQL= yes
MYSQLARD_DIR?= ${PREFIX}/www/mysqlard
USE_RC_SUBR= mysqlard
MAN1= mysqlar_graph.1
MAN8= mysqlard.8
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-rrd="${LOCALBASE}" --datadir="${PREFIX}/www" \
--sysconfdir="${PREFIX}/etc"
SUB_FILES= pkg-message
NO_STAGE= yes
post-install:
@${ECHO_CMD}; ${CAT} ${PKGMESSAGE}; ${ECHO_CMD}
.include <bsd.port.mk>