mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
520165ebdf
PR: ports/157923 Submitted by: Vlad V. Teterya <vlad@vlad.uz.ua> Approved by: Michael Ranner <michael@ranner.eu> (maintainer)
41 lines
922 B
Makefile
41 lines
922 B
Makefile
# New ports collection makefile for: duply
|
|
# Date created: 2010-09-25
|
|
# Whom: Michael Ranner <michael@ranner.eu>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= duply
|
|
PORTVERSION= 1.5.5.1
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= SF/ftplicity/${PORTNAME}%20%28simple%20duplicity%29/1.5.x/
|
|
DISTNAME= ${PORTNAME}_${PORTVERSION}
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= michael@ranner.eu
|
|
COMMENT= Shell front end for the duplicity backup tool
|
|
|
|
RUN_DEPENDS= bash:${PORTSDIR}/shells/bash \
|
|
duplicity:${PORTSDIR}/sysutils/duplicity
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/gpl-2.0.txt
|
|
NO_BUILD= yes
|
|
|
|
PORTDOCS= INSTALL.txt gpl-2.0.txt
|
|
PLIST_FILES= bin/duply
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e "s,/etc/duply,${ETCDIR},g" ${WRKSRC}/duply
|
|
|
|
do-install:
|
|
@${INSTALL_SCRIPT} ${WRKSRC}/duply ${PREFIX}/bin/duply
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}/
|
|
. for i in ${PORTDOCS}
|
|
@${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}/
|
|
. endfor
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|