summaryrefslogtreecommitdiffstats
path: root/sysutils/zogftw/Makefile
blob: a65b58e3dbd6073e1c7755f4f93758c0f396df22 (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
32
33
34
35
36
37
# Created by: Fabian Keil <fk@fabiankeil.de>
# $FreeBSD$

PORTNAME=	zogftw
PORTVERSION=	0.0.2013.03.31
CATEGORIES=	sysutils
MASTER_SITES=	http://www.fabiankeil.de/sourcecode/zogftw/
DISTNAME=	${PORTNAME}-2013-03-31-80ef6e9

MAINTAINER=	fk@fabiankeil.de
COMMENT=	Creates redundant backups on encrypted ZFS pools

RUN_DEPENDS=	mbuffer:${PORTSDIR}/misc/mbuffer \
		sudo:${PORTSDIR}/security/sudo

OPTIONS_DEFINE=		GNUPG
OPTIONS_DEFAULT=	GNUPG

PLIST_FILES=	sbin/zogftw

MAN8=		zogftw.8

PORTSCOUT=	ignore:1

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MGNUPG}
RUN_DEPENDS+=	gpg:${PORTSDIR}/security/gnupg1 \
		gpg-agent:${PORTSDIR}/security/gnupg
.endif

do-build:
do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/zogftw ${PREFIX}/sbin/zogftw
	${INSTALL_MAN} ${WRKSRC}/zogftw.8 ${MAN8PREFIX}/man/man8

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