freebsd-ports/sysutils/rdiff-backup/Makefile
Adam Weinberger dcbf98ce0f - replace USE_PYTHON and USE_PYDISTUTILS to USES=python and USE_PYTHON=distutils
- strip the generated libraries
- pass maintainership to submitter

PR:		192785
Submitted by:	Zsolt Udvari
2014-08-24 16:39:20 +00:00

41 lines
1 KiB
Makefile

# Created by: Gerhard Häring <gh@ghaering.de>
# $FreeBSD$
PORTNAME= rdiff-backup
PORTVERSION= 1.2.8
PORTREVISION= 1
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
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:savannah,local
MAINTAINER= udvzsolt@gmail.com
COMMENT= Local/remote mirroring+incremental backup
LICENSE= GPLv2
LIB_DEPENDS= librsync.so:${PORTSDIR}/net/librsync
CONFLICTS= rdiff-backup-devel-[0-9]* rdiff-backup-1.0*
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>