diff options
Diffstat (limited to 'sysutils/zfsnap/Makefile')
-rw-r--r-- | sysutils/zfsnap/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sysutils/zfsnap/Makefile b/sysutils/zfsnap/Makefile index 47ae2c774567..5c8302ccacdc 100644 --- a/sysutils/zfsnap/Makefile +++ b/sysutils/zfsnap/Makefile @@ -4,18 +4,21 @@ PORTNAME= zfsnap PORTVERSION= 1.11.1 DISTVERSIONPREFIX= v +PORTREVISION= 1 CATEGORIES= sysutils MAINTAINER= yamagi@yamagi.org COMMENT= Simple sh script to make zfs rolling snaphosts with cron +LICENSE= BSD3CLAUSE + NO_BUILD= yes USE_GITHUB= yes PERIODICDIR?= ${PREFIX}/etc/periodic PLIST_SUB+= PERIODICDIR="${PERIODICDIR:S,^${PREFIX}/,,}" -do-patch: +post-extract: .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 |