aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/rdiff-backup-devel/Makefile
blob: 41e88e0c09e86b00d0011dbbe74dda5fb19089dc (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
# Created by: Vasil Dimov <vd@datamax.bg>
# $FreeBSD$

PORTNAME=   rdiff-backup
PORTVERSION=    1.3.3
PORTREVISION=   3
CATEGORIES= sysutils
MASTER_SITES=   SAVANNAH \
        LOCAL/vd/${PORTNAME}${PKGNAMESUFFIX}
PKGNAMESUFFIX=  -devel

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

LICENSE=    GPLv2+
LICENSE_FILE=   ${WRKSRC}/COPYING

LIB_DEPENDS=    librsync.so:net/librsync2

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

USES=       python
USE_PYTHON= distutils

MAN1S=      rdiff-backup.1 rdiff-backup-statistics.1
DOCS=       CHANGELOG README FAQ.html

OPTIONS_DEFINE= DOCS

post-install:
    @${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/rdiff_backup/*.so
    ${INSTALL_MAN} ${MAN1S:S,^,${WRKSRC}/,} ${STAGEDIR}${PREFIX}/man/man1

post-install-DOCS-on:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>