1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/databases/autobackupmysql/Makefile
2021-04-06 16:31:07 +02:00

32 lines
743 B
Makefile

# Created by: Frank Wall <fw@moov.de>
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 <bsd.port.mk>