# Created by: Frank Wall # $FreeBSD: head/databases/autobackupmysql/Makefile 412346 2016-04-01 14:00:51Z mat $ PORTNAME= autobackupmysql PORTVERSION= 1.4 CATEGORIES= databases MASTER_SITES= SF/${PORTNAME} DISTNAME= ${PORTNAME} EXTRACT_SUFX= .sh MAINTAINER= fw@moov.de COMMENT= Make daily, weekly, and monthly backups of your MySQL databases RUN_DEPENDS= ${LOCALBASE}/bin/bash:shells/bash NO_BUILD= yes PLIST_FILES= sbin/autobackupmysql.sh do-extract: @${MKDIR} ${WRKSRC} @${CP} ${DISTDIR}/${DISTFILES} ${WRKSRC} post-patch: @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \ ${WRKSRC}/autobackupmysql.sh @${REINPLACE_CMD} -e 's|${LOCALBASE}/etc|${PREFIX}/etc|g' \ ${WRKSRC}/autobackupmysql.sh do-install: ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.sh ${STAGEDIR}${PREFIX}/sbin .include