blob: 2e52b4153e26b78902dba3af0ece083b3e6766e5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# Created by: Michael Ranner <michael@ranner.eu>
PORTNAME= duply
PORTVERSION= 2.1
PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= https://duply.net/projects/ftplicity/files/duply%20%28simple%20duplicity%29/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}.x/
DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= michael@ranner.eu
COMMENT= Shell front end for the duplicity backup tool
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/gpl-2.0.txt
RUN_DEPENDS= duplicity:sysutils/duplicity \
bash:shells/bash
USES= python tar:tgz
NO_ARCH= yes
NO_BUILD= yes
PLIST_FILES= bin/duply ${PERIODICDIR}/${PERIODICFILE}
PERIODICFILE?= 300.duply
PERIODICDIR?= ${PREFIX}/etc/periodic/backup
SUB_FILES= pkg-message periodic_duply
OPTIONS_DEFINE= DOCS
post-patch:
${REINPLACE_CMD} -e "s,/etc/duply,${ETCDIR},g" ${WRKSRC}/duply
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/duply ${STAGEDIR}${PREFIX}/bin/duply
@${MKDIR} ${STAGEDIR}${PERIODICDIR}
${INSTALL_SCRIPT} ${WRKDIR}/periodic_duply ${STAGEDIR}${PERIODICDIR}/${PERIODICFILE}
.include <bsd.port.mk>
|