# New ports collection makefile for:   pgtune
# Date created:        16 feb 2009
# Whom:                Matthieu BOUTHORS
#
# $FreeBSD: branches/RELEASE_8_4_0/databases/pgtune/Makefile 300896 2012-07-14 13:54:48Z beat $
#

PORTNAME=	pgtune
PORTVERSION=	0.9.3
CATEGORIES=	databases
MASTER_SITES=	http://pgfoundry.org/frs/download.php/2449/ \
		http://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

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>
