freebsd-ports/sysutils/duply/Makefile
William Grzybowski 67dd6b55c1 sysutils/duply: update to 1.7.4
PR:		191711
Submitted by:	maintainer
2014-07-08 18:50:21 +00:00

41 lines
1.1 KiB
Makefile

# Created by: Michael Ranner <michael@ranner.eu>
# $FreeBSD$
PORTNAME= duply
PORTVERSION= 1.7.4
CATEGORIES= sysutils
MASTER_SITES= SF/ftplicity/${PORTNAME}%20%28simple%20duplicity%29/1.7.x/
DISTNAME= ${PORTNAME}_${PORTVERSION}
EXTRACT_SUFX= .tgz
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:${PORTSDIR}/sysutils/duplicity \
bash:${PORTSDIR}/shells/bash
NO_BUILD= yes
PORTDOCS= INSTALL.txt gpl-2.0.txt
PLIST_FILES= bin/duply ${PERIODICDIR}/${PERIODICFILE}
PLIST_DIRSTRY= etc/periodic ${PERIODICDIR}
PERIODICFILE?= 300.duply
PERIODICDIR?= ${PREFIX}/etc/periodic/backup
SUB_FILES= pkg-message periodic_duply
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}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
. for i in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
. endfor
.include <bsd.port.mk>