aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/duplicity05/Makefile
blob: 8a002db28449506abb9c98ccfe11702418f2b17d (plain) (blame)
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
# New ports collection makefile for:    duplicity
# Date created:             Wed Jun 11 19:53:46 CEST 2003
# Whom:                 Gerhard Häring <gh@ghaering.de>
#
# $FreeBSD$
#

PORTNAME=   duplicity
PORTVERSION=    0.4.1
CATEGORIES= sysutils
MASTER_SITES=   ${MASTER_SITE_SAVANNAH}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME=   ${PORTNAME}-${PORTVERSION}

MAINTAINER= vd@datamax.bg
COMMENT=    Untrusted backup using rsync algorithm

LIB_DEPENDS=    rsync.1:${PORTSDIR}/net/librsync
RUN_DEPENDS=    gpg:${PORTSDIR}/security/gnupg

USE_PYTHON= yes
USE_PYDISTUTILS=    yes

MAN1=       duplicity.1 rdiffdir.1

DOCFILES=   CHANGELOG COPYING README
DOCSDIR=    ${PREFIX}/share/doc/${PORTNAME}

post-install:
    ${INSTALL_MAN} ${WRKSRC}/duplicity.1 ${PREFIX}/man/man1
    ${INSTALL_MAN} ${WRKSRC}/rdiffdir.1 ${PREFIX}/man/man1
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
.for file in ${DOCFILES}
    @${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>