summaryrefslogtreecommitdiffstats
path: root/sysutils/zbackup/Makefile
blob: f70b79824eaf07f9d2c15f591fa1944a79083022 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# $FreeBSD$

PORTNAME=	zbackup
PORTVERSION=	1.4.4
CATEGORIES=	sysutils
MASTER_SITES=	https://github.com/zbackup/zbackup/archive/
DISTNAME=	${PORTVERSION}

MAINTAINER=	kevlo@FreeBSD.org
COMMENT=	Versatile deduplicating backup tool

LICENSE=	GPLv2

LIB_DEPENDS=	libprotobuf.so:${PORTSDIR}/devel/protobuf \
		liblzo2.so:${PORTSDIR}/archivers/lzo2

USES=		alias cmake

WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}

OPTIONS_DEFINE=	DOCS

PLIST_FILES=	bin/zbackup
PORTDOCS=	README.md

do-install:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
	${INSTALL_PROGRAM} ${WRKSRC}/zbackup ${STAGEDIR}${PREFIX}/bin

.include <bsd.port.mk>
OpenPOWER on IntegriCloud