Lines 2-15
Link Here
|
2 |
# Date created: 09 September 2008 |
2 |
# Date created: 09 September 2008 |
3 |
# Whom: Wen heping <wenheping@gmail.com> |
3 |
# Whom: Wen heping <wenheping@gmail.com> |
4 |
# |
4 |
# |
5 |
# $FreeBSD: ports/databases/mysqltuner/Makefile,v 1.2 2009/03/20 12:03:05 lwhsu Exp $ |
5 |
# $FreeBSD$ |
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= mysqltuner |
8 |
PORTNAME= mysqltuner |
9 |
PORTVERSION= 1.0.0 |
9 |
PORTVERSION= 1.1.0 |
10 |
CATEGORIES= databases |
10 |
CATEGORIES= databases |
11 |
MASTER_SITES= http://mysqltuner.com/releases/ |
11 |
MASTER_SITES= http://mysqltuner.pl/ |
12 |
DISTFILES= ${PORTNAME}-${PORTVERSION}.pl |
12 |
DISTNAME= ${PORTNAME}.pl |
|
|
13 |
EXTRACT_SUFX= |
13 |
EXTRACT_ONLY= |
14 |
EXTRACT_ONLY= |
14 |
|
15 |
|
15 |
MAINTAINER= wenheping@gmail.com |
16 |
MAINTAINER= wenheping@gmail.com |
Lines 20-31
Link Here
|
20 |
|
21 |
|
21 |
PLIST_FILES= bin/${PORTNAME}.pl |
22 |
PLIST_FILES= bin/${PORTNAME}.pl |
22 |
|
23 |
|
|
|
24 |
pre-patch: |
25 |
@${MKDIR} ${WRKSRC} |
26 |
@${CP} ${DISTDIR}/${DISTNAME} ${WRKSRC} |
27 |
|
28 |
post-patch: |
29 |
@${REINPLACE_CMD} -e 's|"1.0.1";|"1.1.0";|' \ |
30 |
${WRKSRC}/${DISTNAME} |
31 |
|
23 |
.include <bsd.port.pre.mk> |
32 |
.include <bsd.port.pre.mk> |
24 |
do-install: |
33 |
do-install: |
25 |
@${CP} ${DISTDIR}/${PORTNAME}-${PORTVERSION}.pl \ |
34 |
@${CP} ${WRKSRC}/${DISTNAME} \ |
26 |
${PREFIX}/bin/${PORTNAME}.pl |
35 |
${PREFIX}/bin/${DISTNAME} |
27 |
@${CHMOD} 755 ${PREFIX}/bin/${PORTNAME}.pl |
36 |
@${CHMOD} 755 ${PREFIX}/bin/${DISTNAME} |
28 |
@${ECHO_CMD} '@exec ${CHMOD} 755 ${PREFIX}/bin/${PORTNAME}.pl' \ |
37 |
@${ECHO_CMD} '@exec ${CHMOD} 755 ${PREFIX}/bin/${DISTNAME}.pl' \ |
29 |
>> ${TMPPLIST} |
38 |
>> ${TMPPLIST} |
30 |
|
39 |
|
31 |
.include <bsd.port.post.mk> |
40 |
.include <bsd.port.post.mk> |