blob: d7c4ed13088e85d1ef9d35a1d4aee4ef93f2ad63 (
plain)
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
40
41
42
43
44
45
46
|
# $NetBSD: Makefile,v 1.12 2012/10/03 21:57:44 wiz Exp $
#
DISTNAME= rsnapshot-1.3.1
PKGREVISION= 1
CATEGORIES= net
MASTER_SITES= http://www.rsnapshot.org/downloads/
MAINTAINER= kim@tac.nyc.ny.us
HOMEPAGE= http://www.rsnapshot.org/
COMMENT= Filesystem snapshot utility
LICENSE= gnu-gpl-v2
PKG_DESTDIR_SUPPORT= user-destdir
DEPENDS+= rsync>=2.3.1:../../net/rsync
DEPENDS+= p5-Lchown>=0.07:../../sysutils/p5-Lchown
GNU_CONFIGURE= yes
USE_TOOLS+= perl:run
.include "../../mk/bsd.prefs.mk"
EGDIR= ${PREFIX}/share/examples/${PKGBASE}
DOCDIR= ${PREFIX}/share/doc/${PKGBASE}
CONF_FILES+= ${EGDIR}/rsnapshot.conf.default \
${PKG_SYSCONFDIR}/rsnapshot.conf
FIND_PREFIX:= RSYNCDIR=rsync
.include "../../mk/find-prefix.mk"
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
CONFIGURE_ARGS+= --with-perl=${PERL5:Q}
CONFIGURE_ARGS+= --with-rsync=${RSYNCDIR}/bin/rsync
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 ${DOCDIR} ${EGDIR}
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/rsnapshot ${DESTDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/rsnapshot.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
${INSTALL_DATA} ${WRKSRC}/rsnapshot.conf.default ${DESTDIR}${EGDIR}
${INSTALL_DATA} ${WRKSRC}/INSTALL ${DESTDIR}${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${DOCDIR}
.include "../../mk/bsd.pkg.mk"
|