freebsd-ports/sysutils/rdiff-backup-devel/Makefile
Kurt Jaeger 4070b24b51 sysutils/rdiff-backup-devel: Fix build, change dependency to librsync1
- rdiff-backup-devel fails with:
  _librsyncmodule.c:63:17:
  error: use of undeclared identifier 'RS_DEFAULT_STRONG_LEN'
- found working patch here:
  http://pkgs.fedoraproject.org/cgit/rpms/rdiff-backup.git/tree/rdiff-backup-1.2.8-librsync-1.0.0.patch
- change dependency to librsync1

PR:		210239
Submitted by:	Walter Schwarzenfeld <w.schwarzenfeld@utanet.at>
2016-06-13 19:05:31 +00:00

36 lines
849 B
Makefile

# 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/librsync1
CONFLICTS= rdiff-backup-[0-9]*
USES= python
USE_PYTHON= distutils
MAN1S= rdiff-backup.1 rdiff-backup-statistics.1
DOCS= CHANGELOG README COPYING FAQ.html
OPTIONS_DEFINE= DOCS
post-install:
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/rdiff_backup/*.so
${INSTALL_MAN} ${MAN1S:S,^,${WRKSRC}/,} ${STAGEDIR}${PREFIX}/man/man1
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>