From fa6a0c40dd1c4f65953b37c46a06775e5acb8e2f Mon Sep 17 00:00:00 2001 From: Guido Falsi Date: Sun, 14 Oct 2012 21:09:21 +0000 Subject: - Add hourly deletion script - While I'm here, trim Makefile headers PR: ports/172665 Submitted by: Aldis Berjoza (maintainer) Feature safe: yes --- sysutils/zfsnap/Makefile | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'sysutils/zfsnap/Makefile') diff --git a/sysutils/zfsnap/Makefile b/sysutils/zfsnap/Makefile index 43198c707ff3..f29fbc3778d7 100644 --- a/sysutils/zfsnap/Makefile +++ b/sysutils/zfsnap/Makefile @@ -1,12 +1,9 @@ -# New ports collection makefile for: zfsnap -# Date created: 2010-08-02 -# Whom: Aldis Berjoza -# +# Created by: Aldis Berjoza # $FreeBSD$ -# PORTNAME= zfsnap PORTVERSION= 1.10.1 +PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= http://files.bsdroot.lv/my/FreeBSD/distfiles/ DISTNAME= zfSnap-${PORTVERSION} @@ -25,7 +22,7 @@ do-patch: .for period in hourly daily weekly monthly reboot @${SED} -e "s/xPERIODICx/${period}/g" -e "s#xPREFIXx#${PREFIX}/sbin#g" ${WRKSRC}/xPERIODICx_zfSnap.sh > ${WRKSRC}/${period}_zfSnap.sh .endfor -.for period in daily weekly monthly +.for period in hourly daily weekly monthly @${SED} -e "s/xPERIODICx/${period}/g" -e "s#xPREFIXx#${PREFIX}/sbin#g" ${WRKSRC}/xPERIODICx_zfSnap_delete.sh > ${WRKSRC}/${period}_zfSnap_delete.sh .endfor @@ -35,7 +32,7 @@ do-install: @${MKDIR} ${PERIODICDIR}/${period} @${INSTALL_SCRIPT} ${WRKSRC}/${period}_zfSnap.sh ${PERIODICDIR}/${period}/402.zfSnap .endfor -.for period in daily weekly monthly +.for period in hourly daily weekly monthly @${INSTALL_SCRIPT} ${WRKSRC}/${period}_zfSnap_delete.sh ${PERIODICDIR}/${period}/403.zfSnap_delete .endfor -- cgit v1.2.3