2003-07-03 08:57:30 +02:00
|
|
|
|
# New ports collection makefile for: duplicity
|
|
|
|
|
# Date created: Wed Jun 11 19:53:46 CEST 2003
|
|
|
|
|
# Whom: Gerhard H<>ring <gh@ghaering.de>
|
|
|
|
|
#
|
|
|
|
|
# $FreeBSD$
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
PORTNAME= duplicity
|
2011-05-26 03:56:42 +02:00
|
|
|
|
PORTVERSION= 0.6.13
|
2003-07-03 08:57:30 +02:00
|
|
|
|
CATEGORIES= sysutils
|
2011-03-16 04:24:49 +01:00
|
|
|
|
MASTER_SITES= http://launchpad.net/duplicity/0.6-series/${PORTVERSION}/+download/
|
2003-07-03 08:57:30 +02:00
|
|
|
|
|
2009-05-07 09:05:52 +02:00
|
|
|
|
MAINTAINER= peter.schuller@infidyne.com
|
2003-07-03 08:57:30 +02:00
|
|
|
|
COMMENT= Untrusted backup using rsync algorithm
|
|
|
|
|
|
|
|
|
|
LIB_DEPENDS= rsync.1:${PORTSDIR}/net/librsync
|
2009-04-12 21:14:09 +02:00
|
|
|
|
RUN_DEPENDS= gpg:${PORTSDIR}/security/gnupg \
|
2011-05-26 03:56:42 +02:00
|
|
|
|
ncftp>=3.2.2:${PORTSDIR}/ftp/ncftp3 \
|
|
|
|
|
lftp>=3.7.15:${PORTSDIR}/ftp/lftp
|
2007-08-24 12:39:18 +02:00
|
|
|
|
|
2009-09-09 11:29:16 +02:00
|
|
|
|
# fetch claims "Moved temporarily" without this - why? (inspired by deskutils/gtg)
|
|
|
|
|
FETCH_ARGS= -pRr
|
|
|
|
|
|
2011-03-16 04:24:49 +01:00
|
|
|
|
CONFLICTS= duplicity-0.5.* duplicity-devel-[0-9]*
|
2009-07-13 19:30:11 +02:00
|
|
|
|
|
2007-08-24 12:39:18 +02:00
|
|
|
|
USE_PYTHON= 2.4+
|
2006-12-12 11:49:21 +01:00
|
|
|
|
USE_PYDISTUTILS=yes
|
2009-07-13 19:30:11 +02:00
|
|
|
|
USE_LDCONFIG= yes
|
2011-03-16 04:24:49 +01:00
|
|
|
|
|
|
|
|
|
.if !defined(WITHOUT_NLS)
|
2009-07-13 19:30:11 +02:00
|
|
|
|
USE_GETTEXT= yes
|
2011-03-16 04:24:49 +01:00
|
|
|
|
PLIST_SUB+= NLS=""
|
|
|
|
|
.else
|
|
|
|
|
PLIST_SUB+= NLS="@comment "
|
|
|
|
|
.endif
|
|
|
|
|
|
|
|
|
|
.if defined(WITHOUT_NLS)
|
|
|
|
|
post-patch:
|
|
|
|
|
@${REINPLACE_CMD} -e '54,63d' \
|
|
|
|
|
${WRKSRC}/setup.py
|
|
|
|
|
.endif
|
2003-07-03 08:57:30 +02:00
|
|
|
|
|
|
|
|
|
MAN1= duplicity.1 rdiffdir.1
|
|
|
|
|
|
2009-01-10 16:04:38 +01:00
|
|
|
|
DOCFILES= CHANGELOG \
|
|
|
|
|
COPYING \
|
2009-09-09 11:29:16 +02:00
|
|
|
|
REPO-README \
|
2009-01-10 16:04:38 +01:00
|
|
|
|
LOG-README \
|
|
|
|
|
README \
|
|
|
|
|
tarfile-LICENSE
|
2003-07-03 08:57:30 +02:00
|
|
|
|
|
2007-08-24 12:39:18 +02:00
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
2003-07-03 08:57:30 +02:00
|
|
|
|
post-install:
|
|
|
|
|
.if !defined(NOPORTDOCS)
|
2006-12-12 11:49:21 +01:00
|
|
|
|
${MKDIR} ${DOCSDIR}
|
2003-07-03 08:57:30 +02:00
|
|
|
|
.for file in ${DOCFILES}
|
2006-12-12 11:49:21 +01:00
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
|
2003-07-03 08:57:30 +02:00
|
|
|
|
.endfor
|
|
|
|
|
.endif
|
|
|
|
|
|
2007-08-24 12:39:18 +02:00
|
|
|
|
.include <bsd.port.post.mk>
|