60d1a83c2a
- Replace ${MASTER_SITE_FOO} with FOO. - Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9% of the time.) - Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and no hint of what it should be was present. - Fix some logic. - And generally, make things more simple and easy to understand. While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and SAMBA macros. Also, replace some EXTRACT_SUFX occurences with USES=tar:*. Checked by: make fetch-urlall-list With hat: portmgr Sponsored by: Absolight
38 lines
905 B
Makefile
38 lines
905 B
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= SAVANNAH \
|
|
LOCAL/vd/${PORTNAME}${PKGNAMESUFFIX}
|
|
|
|
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>
|