2005-05-04 15:28:47 +02:00
|
|
|
# New ports collection makefile for: dirvish
|
|
|
|
# Date created: 28 April 2005
|
|
|
|
# Whom: Loren M. Lang
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= dirvish
|
2005-06-30 21:47:13 +02:00
|
|
|
PORTVERSION= 1.2.1
|
2009-04-14 18:02:11 +02:00
|
|
|
PORTREVISION= 1
|
2005-05-04 15:28:47 +02:00
|
|
|
CATEGORIES= sysutils archivers
|
|
|
|
MASTER_SITES= http://www.dirvish.org/
|
2005-06-30 21:47:13 +02:00
|
|
|
EXTRACT_SUFX= .tgz
|
2005-05-04 15:28:47 +02:00
|
|
|
|
2009-04-14 18:02:11 +02:00
|
|
|
MAINTAINER= tarkhil@over.ru
|
2005-05-04 15:28:47 +02:00
|
|
|
COMMENT= Network backup system based off of rsync
|
|
|
|
|
2012-06-30 14:25:05 +02:00
|
|
|
RUN_DEPENDS= p5-Time-modules>=0:${PORTSDIR}/devel/p5-Time-modules \
|
|
|
|
p5-Time-Period>=0:${PORTSDIR}/devel/p5-Time-Period \
|
2005-06-08 13:49:24 +02:00
|
|
|
rsync:${PORTSDIR}/net/rsync
|
2005-05-04 15:28:47 +02:00
|
|
|
|
|
|
|
MAN5= dirvish.conf.5
|
|
|
|
MAN8= dirvish.8 dirvish-expire.8 dirvish-locate.8 dirvish-runall.8
|
|
|
|
|
2009-04-14 18:02:11 +02:00
|
|
|
WRKSRC= ${WRKDIR}
|
2005-05-04 15:28:47 +02:00
|
|
|
NO_BUILD= yes
|
|
|
|
USE_PERL5_RUN= yes
|
|
|
|
|
2005-12-04 19:25:46 +01:00
|
|
|
MAN5= dirvish.conf.5
|
|
|
|
MAN8= dirvish.8 dirvish-expire.8 dirvish-locate.8 dirvish-runall.8
|
|
|
|
|
|
|
|
EXECUTABLES= dirvish dirvish-expire dirvish-locate dirvish-runall
|
|
|
|
|
|
|
|
do-patch:
|
|
|
|
@${SED} -e 's:%%CONFDIR%%:${PREFIX}/etc/dirvish:' -e 's:%%PERL%%:${PERL5}:' \
|
|
|
|
${FILESDIR}/header.pl > ${WRKDIR}/header.pl
|
|
|
|
.for _E in ${EXECUTABLES}
|
|
|
|
@(cd ${WRKSRC} && ${CAT} ${WRKDIR}/header.pl ${_E}.pl loadconfig.pl \
|
|
|
|
> ${_E} && ${CHMOD} 755 ${_E})
|
|
|
|
.endfor
|
|
|
|
|
2005-05-04 15:28:47 +02:00
|
|
|
do-install:
|
|
|
|
${MKDIR} ${PREFIX}/etc/dirvish
|
2005-12-04 19:25:46 +01:00
|
|
|
.for _E in ${EXECUTABLES}
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/${_E} ${PREFIX}/sbin
|
|
|
|
.endfor
|
|
|
|
.for _M in ${MAN5}
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/${_M} ${PREFIX}/man/man5
|
|
|
|
.endfor
|
|
|
|
.for _M in ${MAN8}
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/${_M} ${PREFIX}/man/man8
|
|
|
|
.endfor
|
2005-06-08 13:49:24 +02:00
|
|
|
${INSTALL_DATA} ${FILESDIR}/master.conf.dist ${PREFIX}/etc/dirvish
|
|
|
|
${INSTALL_DATA} ${FILESDIR}/default.conf.dist ${PREFIX}/etc/dirvish
|
2005-05-04 15:28:47 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|