aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/zetaback/Makefile
blob: 6905cf32a69a6161e2a5353f0233074894f74492 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Created by: Cy Schubert <cy@FreeBSD.org>
# $FreeBSD$

PORTNAME=   zetaback
PORTVERSION=    1.0.4
PORTREVISION=   1
CATEGORIES= sysutils
MASTER_SITES=   https://labs.omniti.com/zetaback/tags/1.0/

MAINTAINER= cy@FreeBSD.org
COMMENT=    Zetaback ZFS backup and recovery management system

USES=       perl5
USE_PERL5=  run
GNU_CONFIGURE=  yes
USE_AUTOTOOLS=  autoconf

post-install:
    @${TEST} ! -f ${PREFIX}/etc/zetaback.conf && ${CP} ${STAGEDIR}${PREFIX}/etc/zetaback.conf.sample ${STAGEDIR}${PREFIX}/etc/zetaback.conf; ${TRUE}
    @${TEST} ! -f ${PREFIX}/etc/zetaback_agent.conf && ${CP} ${STAGEDIR}${PREFIX}/etc/zetaback_agent.conf.sample ${STAGEDIR}${PREFIX}/etc/zetaback_agent.conf; ${TRUE}

.include <bsd.port.mk>