aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/rdiff-backup-devel/Makefile
blob: 2a45080e8d0074160a9d8f65ebf0af7777d6d0f6 (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
45
# New ports collection makefile for:    rdiff-backup-devel
# Date created:             10 Nov 2005
# Whom:                 Vasil Dimov <vd@datamax.bg>
#
# $FreeBSD$
#

PORTNAME=   rdiff-backup
PORTVERSION=    1.1.15
PORTREVISION=   1
CATEGORIES= sysutils
MASTER_SITES=   ${MASTER_SITE_SAVANNAH:S/$/:savannah/} \
        ${MASTER_SITE_LOCAL:S/$/:local/}
MASTER_SITE_SUBDIR= ${PORTNAME}/:savannah \
        vd/${PORTNAME}${PKGNAMESUFFIX}/:local
PKGNAMESUFFIX=  -devel
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-[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 doc in ${DOCFILES}
    ${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>