aboutsummaryrefslogtreecommitdiff
path: root/sysutils/duplicity
diff options
context:
space:
mode:
authorVasil Dimov <vd@FreeBSD.org>2007-08-24 10:39:18 +0000
committerVasil Dimov <vd@FreeBSD.org>2007-08-24 10:39:18 +0000
commit888517b6ee442afd342c5f5286806aebd0c3ebbd (patch)
treed191cd545d6b6a6a4efb3dc47db11957665fa378 /sysutils/duplicity
parentee2257b360b0f4a45d4a6b7c2039267058cb7df0 (diff)
downloadports-888517b6ee442afd342c5f5286806aebd0c3ebbd.tar.gz
ports-888517b6ee442afd342c5f5286806aebd0c3ebbd.zip
Notes
Diffstat (limited to 'sysutils/duplicity')
-rw-r--r--sysutils/duplicity/Makefile22
-rw-r--r--sysutils/duplicity/distinfo6
-rw-r--r--sysutils/duplicity/pkg-plist3
3 files changed, 19 insertions, 12 deletions
diff --git a/sysutils/duplicity/Makefile b/sysutils/duplicity/Makefile
index ed0cadd0a7ac..7b13cd5792ee 100644
--- a/sysutils/duplicity/Makefile
+++ b/sysutils/duplicity/Makefile
@@ -6,26 +6,36 @@
#
PORTNAME= duplicity
-PORTVERSION= 0.4.2
-PORTREVISION= 3
+PORTVERSION= 0.4.3
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_SAVANNAH}
MASTER_SITE_SUBDIR= ${PORTNAME}
-DISTNAME= ${PORTNAME}-${PORTVERSION}
MAINTAINER= vd@FreeBSD.org
COMMENT= Untrusted backup using rsync algorithm
LIB_DEPENDS= rsync.1:${PORTSDIR}/net/librsync
-RUN_DEPENDS= gpg:${PORTSDIR}/security/gnupg
+RUN_DEPENDS= gpg:${PORTSDIR}/security/gnupg \
+ ${PYTHON_SITELIBDIR}/GnuPGInterface.py:${PORTSDIR}/security/py-gnupg
-USE_PYTHON= yes
+PEXPECT_DIR= misc/py-pexpect
+OPTIONS= PEXPECT "Depend on ${PEXPECT_DIR}, needed for ssh backend" On
+
+USE_PYTHON= 2.4+
USE_PYDISTUTILS=yes
MAN1= duplicity.1 rdiffdir.1
DOCFILES= CHANGELOG COPYING README
+.include <bsd.port.pre.mk>
+
+.if !defined(WITHOUT_PEXPECT)
+PEXPECT_DEP= ${PYTHON_SITELIBDIR}/pexpect.py:${PORTSDIR}/${PEXPECT_DIR}
+BUILD_DEPENDS+= ${PEXPECT_DEP}
+RUN_DEPENDS+= ${PEXPECT_DEP}
+.endif
+
post-install:
${INSTALL_MAN} ${WRKSRC}/duplicity.1 ${PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/rdiffdir.1 ${PREFIX}/man/man1
@@ -36,4 +46,4 @@ post-install:
.endfor
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/sysutils/duplicity/distinfo b/sysutils/duplicity/distinfo
index f945b8c96800..8a26be302690 100644
--- a/sysutils/duplicity/distinfo
+++ b/sysutils/duplicity/distinfo
@@ -1,3 +1,3 @@
-MD5 (duplicity-0.4.2.tar.gz) = a9fd4094f23bb36c82cc1dc2816a5b7d
-SHA256 (duplicity-0.4.2.tar.gz) = 5fdf8aeb32bb4c09e3c9d5c4150245a71d757d31d9bb341524de75e06421e176
-SIZE (duplicity-0.4.2.tar.gz) = 103183
+MD5 (duplicity-0.4.3.tar.gz) = fc615a1bf173fb55c36c502d252583f8
+SHA256 (duplicity-0.4.3.tar.gz) = 67b03ccc51fcc3bc339835149466e609ddb05a9f54963515b163fe44da0e690c
+SIZE (duplicity-0.4.3.tar.gz) = 104581
diff --git a/sysutils/duplicity/pkg-plist b/sysutils/duplicity/pkg-plist
index a5cdcb2d43e1..3813da993a09 100644
--- a/sysutils/duplicity/pkg-plist
+++ b/sysutils/duplicity/pkg-plist
@@ -1,8 +1,5 @@
bin/duplicity
bin/rdiffdir
-%%PYTHON_SITELIBDIR%%/duplicity/GnuPGInterface.py
-%%PYTHON_SITELIBDIR%%/duplicity/GnuPGInterface.pyc
-%%PYTHON_SITELIBDIR%%/duplicity/GnuPGInterface.pyo
%%PYTHON_SITELIBDIR%%/duplicity/__init__.py
%%PYTHON_SITELIBDIR%%/duplicity/__init__.pyc
%%PYTHON_SITELIBDIR%%/duplicity/__init__.pyo