1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-01 10:59:55 +00:00
freebsd-ports/sysutils/zap/Makefile
Joseph Mingrone 380a187d40 sysutils/zap: Update to version 0.5.0
Changelog:
- Use getops for option handling.
- Create snapshots again when a scrub is in progress.
- Let the -r flag be specified for individual datasets.
  - To handle parsing the '-r' flags, the create function was broken off
    into two functions: create_parse() and create(). create() creates one
    snapshot per call.
- Created helper functions pool_ok and pool_scrub.
- Minor changes to warning messages.
- POSIX sh does not support local, so initialize variables intended to be
  local to a function.

Approved by:	swills (mentor)
Differential Revision:	https://reviews.freebsd.org/D8511
2016-11-14 19:13:39 +00:00

27 lines
453 B
Makefile

# $FreeBSD$
PORTNAME= zap
PORTVERSION= 0.5.0
CATEGORIES= sysutils
MAINTAINER= jrm@FreeBSD.org
COMMENT= Maintain ZFS snapshots with cron
LICENSE= BSD2CLAUSE
NO_ARCH= yes
NO_BUILD= yes
USE_GITHUB= yes
GH_ACCOUNT= Jehops
PLIST_FILES= bin/zap
PORTDOCS= README.org
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/zap ${STAGEDIR}${PREFIX}/bin
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.org ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>