aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/rdiff-backup/Makefile
blob: 812233469e8da81e8d5af69a250d8341aadb58a8 (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
40
41
42
43
44
# New ports collection makefile for:    rdiff-backup
# Date created:     Wed Jun 11 19:53:46 CEST 2003
# Whom:         Gerhard Häring <gh@ghaering.de>
#
# $FreeBSD$
#

PORTNAME=   rdiff-backup
PORTVERSION=    1.2.2
PORTEPOCH=  1
CATEGORIES= sysutils
MASTER_SITES=   ${MASTER_SITE_SAVANNAH:S/$/:savannah/} \
        ${MASTER_SITE_LOCAL:S/$/:local/}
MASTER_SITE_SUBDIR= ${PORTNAME}/:savannah \
        vd/${PORTNAME}${PKGNAMESUFFIX}/:local
DISTNAME=   ${PORTNAME}-${PORTVERSION}
DISTFILES=  ${DISTNAME}${EXTRACT_SUFX}:savannah,local

MAINTAINER= vd@FreeBSD.org
COMMENT=    Local/remote mirroring+incremental backup

LIB_DEPENDS=    rsync.1:${PORTSDIR}/net/librsync

CONFLICTS=  rdiff-backup-devel-[0-9]* rdiff-backup10-[0-9]*

USE_PYTHON= yes
USE_PYDISTUTILS=yes

MAN1=       rdiff-backup.1 rdiff-backup-statistics.1

DOCFILES=   CHANGELOG README COPYING FAQ.html

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

.include <bsd.port.mk>