b66056ffed
Based on the timeout of 3+ months (2018-03-23-now) on bug#226885 for net/ucarp Also, looking at the subversion log, there were timeouts on: * bug#224169 r465659 | ygy | 2018-03-26 19:51:12 * bug#224768 r459066 | swills | 2018-01-15 07:16:28 * bug#224755 r459058 | swills | 2018-01-15 06:55:08 The last approval from alexey@renatasystems.org was over a year ago: bug#218563 r438885 | lifanov | 2017-04-19 08:30:28 (devel/py-colorama)
42 lines
1.1 KiB
Makefile
42 lines
1.1 KiB
Makefile
# Created by: Alexey Degtyarev <alexey@renatasystems.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= mysqlbackup
|
|
PORTVERSION= 2.8
|
|
CATEGORIES= databases
|
|
MASTER_SITES= ftp://ftp.renatasystems.org/pub/FreeBSD/ports/distfiles/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Creates MySQL backups on a periodic basis
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
USES= mysql
|
|
NO_BUILD= yes
|
|
NO_ARCH= yes
|
|
|
|
PERIODICS= 200.mysqlbackup.daily \
|
|
200.mysqlbackup.weekly \
|
|
200.mysqlbackup.monthly
|
|
|
|
PLIST_FILES= bin/mysqlbackup \
|
|
${PERIODICS:C,^(.*)\.(.*)$,\2/\1,:S,^,etc/periodic/,} \
|
|
man/man1/mysqlbackup.1.gz
|
|
|
|
pre-install:
|
|
@${REINPLACE_CMD} ${SUB_LIST:S,$,!g,:S,^, -e s!%%,:S,=,%%!,} \
|
|
${PERIODICS:S,^,${WRKSRC}/,}
|
|
|
|
do-install:
|
|
.for periodic in ${PERIODICS}
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/periodic/${periodic:E}
|
|
${INSTALL_SCRIPT} ${WRKSRC}/${periodic} \
|
|
${STAGEDIR}${PREFIX}/etc/periodic/${periodic:E}/${periodic:R}
|
|
.endfor
|
|
${INSTALL_MAN} ${WRKSRC}/mysqlbackup.1 \
|
|
${STAGEDIR}${MANPREFIX}/man/man1/mysqlbackup.1
|
|
${INSTALL_SCRIPT} ${WRKSRC}/mysqlbackup \
|
|
${STAGEDIR}${PREFIX}/bin/mysqlbackup
|
|
|
|
.include <bsd.port.mk>
|