22 lines
593 B
Makefile
22 lines
593 B
Makefile
# Created by: Matthieu BOUTHORS
|
|
# $FreeBSD$
|
|
|
|
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
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/pgtune ${STAGEDIR}${PREFIX}/bin
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/share/pgtune/settings
|
|
${INSTALL_DATA} ${WRKSRC}/pg_settings* \
|
|
${STAGEDIR}${PREFIX}/share/pgtune/settings
|
|
|
|
.include <bsd.port.mk>
|