1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00
freebsd-ports/sysutils/rdiff-backup/Makefile
Bryan Drewery 37fc8ecec9 - Update librsync to 2.0.0 and move to net/librsync2.
This is ABI-compatible with 1.0.0, but due to an accident
  upstream with releasing 1.0.1 with a reversed shlib version,
  they released 2.0.0 with only a restoration of the shlib
  version of 2.

Submitted by:	Danilo G. Baio (dbaio) <dbaio@bsd.com.br>
2017-01-24 19:44:33 +00:00

41 lines
920 B
Makefile

# Created by: Gerhard Häring <gh@ghaering.de>
# $FreeBSD$
PORTNAME= rdiff-backup
PORTVERSION= 1.2.8
PORTREVISION= 2
PORTEPOCH= 1
CATEGORIES= sysutils
MASTER_SITES= SAVANNAH \
LOCAL/vd/${PORTNAME}${PKGNAMESUFFIX}
MAINTAINER= udvzsolt@gmail.com
COMMENT= Local/remote mirroring+incremental backup
LICENSE= GPLv2
LIB_DEPENDS= librsync.so:net/librsync2
CONFLICTS= rdiff-backup-devel-[0-9]* rdiff-backup-1.0*
PORTSCOUT= limitw:1,even
USES= python
USE_PYTHON= distutils
USE_LDCONFIG= yes
MAN1S= rdiff-backup.1 rdiff-backup-statistics.1
DOCS= CHANGELOG README COPYING FAQ.html
OPTIONS_DEFINE= DOCS
post-install:
${INSTALL_MAN} ${MAN1S:S,^,${WRKSRC}/,} ${STAGEDIR}${PREFIX}/man/man1
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.for lib in C.so _librsync.so
${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME:S,-,_,}/${lib}
.endfor
.include <bsd.port.mk>