Changeset View
Changeset View
Standalone View
Standalone View
head/databases/pgtune/Makefile
# Created by: Matthieu BOUTHORS | # Created by: Matthieu BOUTHORS | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= pgtune | PORTNAME= pgtune | ||||
PORTVERSION= 0.9.3 | PORTVERSION= 0.9.3 | ||||
PORTREVISION= 1 | PORTREVISION= 1 | ||||
CATEGORIES= databases | CATEGORIES= databases | ||||
MASTER_SITES= http://pgfoundry.org/frs/download.php/2449/ \ | MASTER_SITES= http://pgfoundry.org/frs/download.php/2449/ \ | ||||
https://www.glenbarber.us/ports/${CATEGORIES}/${PORTNAME}/ | https://www.glenbarber.us/ports/${CATEGORIES}/${PORTNAME}/ | ||||
MAINTAINER= gjb@FreeBSD.org | MAINTAINER= gjb@FreeBSD.org | ||||
COMMENT= Postgresql.conf tuning tips based on hardware and load type | COMMENT= Postgresql.conf tuning tips based on hardware and load type | ||||
USES= python shebangfix | USES= python shebangfix | ||||
NO_BUILD= yes | |||||
SHEBANG_FILES= ${PORTNAME} | SHEBANG_FILES= ${PORTNAME} | ||||
python_OLD_CMD= ${PREFIX}/bin/python | NO_BUILD= yes | ||||
pre-install: | |||||
@${REINPLACE_CMD} -e 's|${python_OLD_CMD}|${PYTHON_CMD}|' \ | |||||
${WRKSRC}/${PORTNAME} | |||||
do-install: | do-install: | ||||
${INSTALL_SCRIPT} ${WRKSRC}/pgtune ${STAGEDIR}${PREFIX}/bin | ${INSTALL_SCRIPT} ${WRKSRC}/pgtune ${STAGEDIR}${PREFIX}/bin | ||||
@${MKDIR} ${STAGEDIR}${PREFIX}/share/pgtune/settings | @${MKDIR} ${STAGEDIR}${PREFIX}/share/pgtune/settings | ||||
${INSTALL_DATA} ${WRKSRC}/pg_settings* \ | ${INSTALL_DATA} ${WRKSRC}/pg_settings* \ | ||||
${STAGEDIR}${PREFIX}/share/pgtune/settings | ${STAGEDIR}${PREFIX}/share/pgtune/settings | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> |