aboutsummaryrefslogtreecommitdiffstats
path: root/databases/pgtune/Makefile
blob: eadeac402b4fde19a5561a757d3fd98fcbdd34b0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Created by: Matthieu BOUTHORS
# $FreeBSD$

PORTNAME=   pgtune
PORTVERSION=    0.9.3
PORTREVISION=   2
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

LICENSE=    BSD3CLAUSE
LICENSE_FILE=   ${WRKSRC}/COPYRIGHT

USES=       python:2,run shebangfix
SHEBANG_FILES=  ${PORTNAME}
NO_BUILD=   yes
NO_ARCH=    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>