openbsd-ports/sysutils/duplicity/Makefile

43 lines
871 B
Makefile

# $OpenBSD: Makefile,v 1.20 2012/04/05 10:33:45 ajacoutot Exp $
COMMENT = encrypted backup using rsync algorithm
MODPY_EGG_VERSION = 0.6.18
DISTNAME = duplicity-${MODPY_EGG_VERSION}
REVISION = 0
CATEGORIES = sysutils
HOMEPAGE = http://www.nongnu.org/duplicity/
MASTER_SITES = ${MASTER_SITE_SAVANNAH:=duplicity/}
MAINTAINER = Jim Razmus II <jim@openbsd.org>
# GPLv2
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
MODULES = lang/python
WANTLIB += rsync ${MODPY_WANTLIB}
LIB_DEPENDS += net/librsync \
${MODPY_LIB_DEPENDS}
RUN_DEPENDS += net/py-boto \
net/ncftp \
security/py-gnupg
MAKE_ENV += LIBRSYNC_DIR=${LOCALBASE}
NO_REGRESS = Yes
# XXX 600 mode prevents from reading the man page;
# check if still required at next update
post-extract:
chmod 644 ${WRKSRC}/bin/*.1
.include <bsd.port.mk>