- Update to 2.3

PR:		136228
Submitted by:	Alexey V.Degtyarev <alexey@renatasystems.org> (maintainer)
This commit is contained in:
Martin Wilke 2009-07-04 23:00:14 +00:00
parent 9a31589e6a
commit cb9c56503b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=237119
2 changed files with 23 additions and 6 deletions

View file

@ -6,7 +6,7 @@
#
PORTNAME= mysqlbackup
PORTVERSION= 2.2
PORTVERSION= 2.3
CATEGORIES= databases
MASTER_SITES= ftp://ftp.renatasystems.org/pub/FreeBSD/ports/distfiles/
@ -16,11 +16,28 @@ COMMENT= Program to create everyday MySQL-database servers backup
USE_MYSQL= yes
NO_BUILD= yes
PERIODICS= 200.mysqlbackup.daily \
200.mysqlbackup.weekly \
200.mysqlbackup.monthly
MAN1= mysqlbackup.1
PLIST_FILES= bin/mysqlbackup
PLIST_FILES= bin/mysqlbackup \
${PERIODICS:C,^(.*)\.(.*)$,\2/\1,:S,^,etc/periodic/,}
PLIST_DIRS= ${PERIODICS:C,^(.*)\.(.*)$,etc/periodic/\2,:u} \
etc/periodic
pre-install:
${REINPLACE_CMD} ${SUB_LIST:S,$,!g,:S,^, -e s!%%,:S,=,%%!,} \
${PERIODICS:S,^,${WRKSRC}/,}
do-install:
${INSTALL_MAN} ${WRKSRC}/mysqlbackup.1 ${MAN1PREFIX}/man/man1/mysqlbackup.1
.for periodic in ${PERIODICS}
${MKDIR} ${PREFIX}/etc/periodic/${periodic:E}
${INSTALL_SCRIPT} ${WRKSRC}/${periodic} \
${PREFIX}/etc/periodic/${periodic:E}/${periodic:R}
.endfor
${INSTALL_MAN} ${WRKSRC}/mysqlbackup.1 \
${MAN1PREFIX}/man/man1/mysqlbackup.1
${INSTALL_SCRIPT} ${WRKSRC}/mysqlbackup ${PREFIX}/bin/mysqlbackup
.include <bsd.port.mk>

View file

@ -1,3 +1,3 @@
MD5 (mysqlbackup-2.2.tar.gz) = 1c7028d7e1c1386d08e491d7d8b36e54
SHA256 (mysqlbackup-2.2.tar.gz) = ffc5d0a05745e23c8a7eca9365d952b81710942ebd971bb7a43bd1033364dd5c
SIZE (mysqlbackup-2.2.tar.gz) = 11647
MD5 (mysqlbackup-2.3.tar.gz) = 6ad21297153e8d139a12c36a88da298d
SHA256 (mysqlbackup-2.3.tar.gz) = 1cc555d1637f8c27df14ff7ae22ef181cab8af1133cab3e3c0fde3ed479e35fb
SIZE (mysqlbackup-2.3.tar.gz) = 13669