mirror of
https://github.com/beard7n/bsdports.git
synced 2026-04-10 10:31:20 +02:00
31 lines
783 B
Makefile
31 lines
783 B
Makefile
#
|
|
# $Id$
|
|
#
|
|
PORTNAME= pgtune
|
|
PORTVERSION= 0.9.3
|
|
CATEGORIES= databases
|
|
MASTER_SITES+= http://pgfoundry.org/frs/download.php/2449/
|
|
MASTER_SITES+= https://www.glenbarber.us/ports/${CATEGORIES}/${PORTNAME}/
|
|
|
|
MAINTAINER= gjb@FreeBSD.org
|
|
COMMENT= Postgresql.conf tuning tips based on hardware and load type
|
|
|
|
USES= python shebangfix
|
|
NO_BUILD= yes
|
|
SHEBANG_FILES= ${PORTNAME}
|
|
python_OLD_CMD= ${PREFIX}/bin/python
|
|
|
|
pre-install:
|
|
# ${REINPLACE_CMD} -e 's|${python_OLD_CMD}|${PYTHON_CMD}|' \
|
|
# ${WRKSRC}/${PORTNAME}
|
|
|
|
do-install:
|
|
${MKDIR} ${STAGEDIR}${PREFIX}/bin
|
|
${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>
|
|
#EOF
|