2013-09-20 18:13:47 +02:00
|
|
|
# Created by: Matthieu BOUTHORS
|
2009-05-17 12:14:08 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= pgtune
|
2011-08-08 14:55:47 +02:00
|
|
|
PORTVERSION= 0.9.3
|
2017-05-15 21:39:49 +02:00
|
|
|
PORTREVISION= 2
|
2009-05-17 12:14:08 +02:00
|
|
|
CATEGORIES= databases
|
2011-08-08 14:55:47 +02:00
|
|
|
MASTER_SITES= http://pgfoundry.org/frs/download.php/2449/ \
|
2013-04-26 06:03:22 +02:00
|
|
|
https://www.glenbarber.us/ports/${CATEGORIES}/${PORTNAME}/
|
2009-05-17 12:14:08 +02:00
|
|
|
|
2011-08-08 14:55:47 +02:00
|
|
|
MAINTAINER= gjb@FreeBSD.org
|
2009-05-17 12:14:08 +02:00
|
|
|
COMMENT= Postgresql.conf tuning tips based on hardware and load type
|
|
|
|
|
2017-05-15 21:39:49 +02:00
|
|
|
LICENSE= BSD3CLAUSE
|
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYRIGHT
|
|
|
|
|
|
|
|
USES= python:2,run shebangfix
|
2014-05-08 19:06:35 +02:00
|
|
|
SHEBANG_FILES= ${PORTNAME}
|
2015-10-19 16:50:52 +02:00
|
|
|
NO_BUILD= yes
|
2017-05-15 21:39:49 +02:00
|
|
|
NO_ARCH= yes
|
2014-05-08 19:06:35 +02:00
|
|
|
|
2009-05-17 12:14:08 +02:00
|
|
|
do-install:
|
2015-10-19 16:50:52 +02:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/pgtune ${STAGEDIR}${PREFIX}/bin
|
2014-02-27 14:50:17 +01:00
|
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/share/pgtune/settings
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/pg_settings* \
|
|
|
|
${STAGEDIR}${PREFIX}/share/pgtune/settings
|
2009-05-17 12:14:08 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|