# Created by: Matthieu BOUTHORS
# $FreeBSD: databases/pgtune/Makefile 327717 2013-09-20 16:13:47Z bapt $

PORTNAME=	pgtune
PORTVERSION=	0.9.3
CATEGORIES=	databases
MASTER_SITES=	http://pgfoundry.org/frs/download.php/2449/ \
		https://www.glenbarber.us/ports/${CATEGORIES}/${PORTNAME}/

MAINTAINER=	gjb@FreeBSD.org
COMMENT=	Postgresql.conf tuning tips based on hardware and load type

USE_PYTHON=	yes
NO_BUILD=	yes

NO_STAGE=	yes
do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/pgtune  ${PREFIX}/bin/pgtune
	${MKDIR} ${PREFIX}/share/pgtune/settings/
	${CP} ${WRKSRC}/pg_settings* ${PREFIX}/share/pgtune/settings/

.include <bsd.port.mk>
