2013-05-04 23:24:23 +02:00
|
|
|
# Created by: Joe Horn <joehorn@gmail.com>
|
2010-01-08 22:57:12 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= tuning-primer
|
2011-09-23 04:00:32 +02:00
|
|
|
PORTVERSION= 1.6.r1
|
2010-01-08 22:57:12 +01:00
|
|
|
CATEGORIES= databases
|
2011-09-23 04:00:32 +02:00
|
|
|
MASTER_SITES= http://launchpad.net/mysql-${PORTNAME}/trunk/1.6-r1/+download/
|
2010-01-08 22:57:12 +01:00
|
|
|
DISTNAME= ${PORTNAME}.sh
|
|
|
|
EXTRACT_SUFX=
|
|
|
|
EXTRACT_ONLY=
|
|
|
|
|
|
|
|
MAINTAINER= joehorn@gmail.com
|
|
|
|
COMMENT= MySQL performance tuning primer script
|
|
|
|
|
2011-05-17 22:51:24 +02:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2011-09-23 04:00:32 +02:00
|
|
|
FETCH_ARGS= -pRr
|
2010-01-08 22:57:12 +01:00
|
|
|
NO_BUILD= yes
|
2010-02-11 20:38:27 +01:00
|
|
|
USE_MYSQL= yes
|
2010-01-08 22:57:12 +01:00
|
|
|
|
|
|
|
PLIST_FILES= bin/${PORTNAME}
|
|
|
|
|
2011-09-23 04:00:32 +02:00
|
|
|
pre-fetch:
|
|
|
|
@if [ -f ${DISTDIR}/${PORTNAME}.sh ]; then \
|
|
|
|
${RM} ${DISTDIR}/${PORTNAME}.sh; \
|
|
|
|
fi
|
|
|
|
|
2010-01-08 22:57:12 +01:00
|
|
|
do-install:
|
|
|
|
@${CP} ${DISTDIR}/${PORTNAME}.sh \
|
|
|
|
${PREFIX}/bin/${PORTNAME}
|
|
|
|
@${CHMOD} 755 ${PREFIX}/bin/${PORTNAME}
|
|
|
|
@${ECHO_CMD} '@exec ${CHMOD} 755 ${PREFIX}/bin/${PORTNAME}' \
|
|
|
|
>> ${TMPPLIST}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|