freebsd-ports/sysutils/zsd/Makefile
Pawel Pekala c470a1dc3c zsd (ZFS snapshot destroyer) is a zfs(8) wrapper to destroy snapshots
on a given dataset using a more convenient interface.

The number of snapshots to destroy can be specified directly, or
indirectly by specifying the number of snapshots that should be kept.

It goes nicely with zogftw's zogftw_snapshot_successfully_sent_hook()
to grow a certain number of snapshots on new datasets while keeping the
number of snapshots on old datasets constant.

WWW: http://www.fabiankeil.de/gehacktes/zsd/

PR:		ports/183531
Submitted by:	Fabian Keil <fk@fabiankeil.de>
2014-02-06 16:37:42 +00:00

27 lines
583 B
Makefile

# Created by: Fabian Keil <fk@fabiankeil.de>
# $FreeBSD$
PORTNAME= zsd
PORTVERSION= 0.0.2013.10.08
CATEGORIES= sysutils
MASTER_SITES= http://www.fabiankeil.de/sourcecode/zfs-snapshot-destroyer/
DISTNAME= ${PORTNAME}-2013-10-08-f7cd2b3
MAINTAINER= fk@fabiankeil.de
COMMENT= Destroys ZFS snapshots
PLIST_FILES= sbin/zsd \
man/man8/zsd.8.gz
PORTSCOUT= ignore:1
USES= perl5 shebangfix
SHEBANG_FILES= zsd
NO_BUILD= yes
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/zsd ${STAGEDIR}${PREFIX}/sbin
${INSTALL_MAN} ${WRKSRC}/zsd.8 ${STAGEDIR}${MANPREFIX}/man/man8
.include <bsd.port.mk>