2021-05-24 21:49:01 +02:00
|
|
|
# $NetBSD: Makefile,v 1.14 2021/05/24 19:54:10 wiz Exp $
|
2006-07-24 20:29:23 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= dirvish-1.2.1
|
2021-05-24 21:49:01 +02:00
|
|
|
PKGREVISION= 7
|
2006-07-24 20:29:23 +02:00
|
|
|
CATEGORIES= sysutils
|
|
|
|
MASTER_SITES= http://www.dirvish.org/
|
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2009-02-24 17:15:22 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2006-07-24 20:29:23 +02:00
|
|
|
HOMEPAGE= http://www.dirvish.org/
|
|
|
|
COMMENT= Fast, disk based, rotating network backup system
|
|
|
|
|
|
|
|
DEPENDS+= rsync>=2.6.0:../../net/rsync
|
2015-07-12 20:56:06 +02:00
|
|
|
#DEPENDS+= {perl>=5.8.8,p5-Getopt-Long>=2.35}:../../devel/p5-Getopt-Long
|
2009-06-09 19:34:50 +02:00
|
|
|
DEPENDS+= p5-Time-modules>=2003.0:../../time/p5-Time-modules
|
2006-07-24 20:29:23 +02:00
|
|
|
DEPENDS+= p5-Time-Period>=1.0:../../time/p5-Time-Period
|
|
|
|
|
|
|
|
PKG_SYSCONFSUBDIR= dirvish
|
|
|
|
|
|
|
|
EXECUTABLES= dirvish dirvish-runall dirvish-expire dirvish-locate
|
|
|
|
MAN5= dirvish.conf.5
|
|
|
|
MAN8= dirvish.8 dirvish-runall.8 dirvish-expire.8 \
|
|
|
|
dirvish-locate.8
|
|
|
|
DOCS= COPYING FAQ.html INSTALL RELEASE.html TODO.html
|
|
|
|
|
2007-03-24 20:21:18 +01:00
|
|
|
INSTALLATION_DIRS= ${PKGMANDIR}/man5 ${PKGMANDIR}/man8 sbin \
|
|
|
|
share/doc/dirvish
|
|
|
|
|
2006-07-24 20:29:23 +02:00
|
|
|
do-build:
|
|
|
|
cd ${WRKSRC}; \
|
|
|
|
for f in ${EXECUTABLES}; do \
|
|
|
|
${ECHO} "#!${PERL5}" > $$f; \
|
|
|
|
${ECHO} "\$$CONFDIR = \"${PKG_SYSCONFDIR}\";" >> $$f; \
|
|
|
|
${CAT} $$f.pl >>$$f; \
|
|
|
|
${CAT} loadconfig.pl >>$$f; \
|
|
|
|
done
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
for f in ${EXECUTABLES}; do \
|
2009-02-16 10:56:09 +01:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/$$f ${DESTDIR}${PREFIX}/sbin; \
|
2006-07-24 20:29:23 +02:00
|
|
|
done
|
|
|
|
for f in ${MAN5}; do \
|
2009-02-16 10:56:09 +01:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/$$f \
|
|
|
|
${DESTDIR}${PREFIX}/${PKGMANDIR}/man5; \
|
2006-07-24 20:29:23 +02:00
|
|
|
done
|
|
|
|
for f in ${MAN8}; do \
|
2009-02-16 10:56:09 +01:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/$$f \
|
|
|
|
${DESTDIR}${PREFIX}/${PKGMANDIR}/man8; \
|
2006-07-24 20:29:23 +02:00
|
|
|
done
|
|
|
|
for f in ${DOCS}; do \
|
2009-02-16 10:56:09 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/$$f \
|
|
|
|
${DESTDIR}${PREFIX}/share/doc/dirvish; \
|
2006-07-24 20:29:23 +02:00
|
|
|
done
|
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|