summaryrefslogtreecommitdiff
path: root/sysutils/duplicity/Makefile
blob: f2eeead44142593bd09082d21a08fae1f8b8473c (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
# $NetBSD: Makefile,v 1.20 2011/10/29 07:48:47 obache Exp $

DISTNAME=		duplicity-0.6.16
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>=0.9d:../../net/py-boto

PKG_DESTDIR_SUPPORT=	user-destdir

USE_PKGLOCALEDIR=	yes

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"