summaryrefslogtreecommitdiff
path: root/sysutils/duplicity/Makefile
blob: 2018b88240489a00b22a2c73003d6ecb881d9b4a (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
# $NetBSD: Makefile,v 1.23 2012/10/23 19:50:59 asau Exp $

DISTNAME=		duplicity-0.6.19
CATEGORIES=		sysutils net
MASTER_SITES=		http://code.launchpad.net/duplicity/0.6-series/${PKGVERSION_NOREV}/+download/

MAINTAINER=		pkgsrc-users@NetBSD.org
HOMEPAGE=		http://www.nongnu.org/duplicity/
COMMENT=		Remote encrypting incremental backup utility
LICENSE=		gnu-gpl-v2

DEPENDS+=	gnupg>=1.0.0:../../security/gnupg
DEPENDS+=	${PYPKGPREFIX}-boto>=1.6a:../../net/py-boto

USE_PKGLOCALEDIR=	yes

REPLACE_PYTHON+=	*.py
REPLACE_PYTHON+=	bin/*
REPLACE_PYTHON+=	duplicity/*.py

SUBST_CLASSES+=			fix-paths
SUBST_STAGE.fix-paths=		pre-configure
SUBST_MESSAGE.fix-paths=	fixing hard coded dirs
SUBST_FILES.fix-paths=		setup.py
SUBST_SED.fix-paths=		-e 's,share/man/man1,${PKGMANDIR}/man1,'
SUBST_SED.fix-paths+=		-e 's,share/locale,${PKGLOCALEDIR}/locale,'

BUILDLINK_API_DEPENDS.librsync+=	librsync>=0.9.6
.include "../../devel/librsync/buildlink3.mk"
.include "../../lang/python/distutils.mk"
.include "../../lang/python/application.mk"
.include "../../mk/bsd.pkg.mk"