summaryrefslogtreecommitdiff
path: root/sysutils/znapzend/Makefile
blob: 95cc0a0615c9337b2ecad089a7ec98806d877daa (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
38
39
40
41
PORTNAME=	znapzend
PORTVERSION=	0.20.0
DISTVERSIONPREFIX=	v
PORTREVISION=	1
CATEGORIES=	sysutils

MAINTAINER=	olgeni@FreeBSD.org
COMMENT=	ZFS-centric backup tool

LICENSE=	GPLv3+
LICENSE_FILE=	${WRKSRC}/LICENSE

BUILD_DEPENDS=	mbuffer>=0:misc/mbuffer \
		p5-IO-Pipely>=0:devel/p5-IO-Pipely \
		p5-Mojo-IOLoop-ForkCall>=0.21:www/p5-Mojo-IOLoop-ForkCall \
		p5-Mojolicious>=7.15:www/p5-Mojolicious \
		p5-Scalar-List-Utils>=1.45:lang/p5-Scalar-List-Utils
RUN_DEPENDS=	mbuffer>=0:misc/mbuffer \
		p5-IO-Pipely>=0:devel/p5-IO-Pipely \
		p5-Mojo-IOLoop-ForkCall>=0.21:www/p5-Mojo-IOLoop-ForkCall \
		p5-Mojolicious>=7.15:www/p5-Mojolicious \
		p5-Scalar-List-Utils>=1.45:lang/p5-Scalar-List-Utils

USES=		autoreconf gmake perl5
USE_GITHUB=	yes
GH_ACCOUNT=	oetiker
USE_RC_SUBR=	znapzend

GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--libdir=${SITE_PERL} \
		--prefix=${PREFIX}
CONFIGURE_ENV=	PERL5LIB=${SITE_PERL}
NO_ARCH=	yes

pre-configure:
	@${REINPLACE_CMD} -e '/thirdparty\/Makefile/d' ${WRKSRC}/configure.ac

post-configure:
	@${REINPLACE_CMD} -e 's/thirdparty//g' ${WRKSRC}/Makefile

.include <bsd.port.mk>