View | Details | Raw Unified | Return to bug 140045
Collapse All | Expand All

(-)sysutils/zfs-snapshot-mgmt/Makefile (+6 lines)
Lines 22-27 MAN8= zfs-snapshot-mgmt.8 Link Here
22
SUB_FILES=	pkg-message
22
SUB_FILES=	pkg-message
23
PKGMESSAGE=	${WRKDIR}/pkg-message
23
PKGMESSAGE=	${WRKDIR}/pkg-message
24
24
25
post-patch:	.SILENT
26
	${FIND} ${WRKSRC} -type f -exec ${REINPLACE_CMD} \
27
		-e 's|/usr/local|${PREFIX}|g' \
28
		-e 's|${PREFIX}\(/bin/ruby\)|${LOCALBASE}\1|g' \
29
		{} +
30
25
do-install:
31
do-install:
26
	@${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
32
	@${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
27
	@${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 ${MANPREFIX}/man/man8
33
	@${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 ${MANPREFIX}/man/man8
(-)sysutils/zfs-snapshot-mgmt/files/pkg-message.in (-1 / +1 lines)
Lines 3-9 To actually turn on the automatic snapsh Link Here
3
3
4
1. Add an appropriate crontab entry, e.g.:
4
1. Add an appropriate crontab entry, e.g.:
5
5
6
    echo "*/5 * * * *	root   /usr/local/bin/zfs-snapshot-mgmt" >> /etc/crontab
6
    echo "*/5 * * * *	root   %%PREFIX%%/bin/zfs-snapshot-mgmt" >> /etc/crontab
7
7
8
See zfs-snapshot-mgmt(8) manpage for more details.
8
See zfs-snapshot-mgmt(8) manpage for more details.

Return to bug 140045