blob: e95cebd26bb166947a951f916f16c9a17ebf5a27 (
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
# $NetBSD: Makefile,v 1.58 2013/07/15 02:02:28 ryoon Exp $
#
PKGNAME= amanda-client-${AMANDA_VERSION}
PKGREVISION= 1
SVR4_PKGNAME= amacl
COMMENT= Client part of Amanda, a network backup system
CONFIGURE_ARGS+= --without-server --without-gnuplot
BUILD_DIRS= gnulib
BUILD_DIRS+= client-src application-src
BUILD_DIRS+= recover-src oldrecover-src
MANPAGES+= amanda-applications.7
MANPAGES+= amdump_client.8
MANPAGES+= amgtar.8
MANPAGES+= ampgsql.8
MANPAGES+= amraw.8
MANPAGES+= amrecover.8
MANPAGES+= amsamba.8
MANPAGES+= amstar.8
MANPAGES+= amsuntar.8
MANPAGES+= amzfs-snapshot.8
MANPAGES+= amzfs-sendrecv.8
PERL5_MODS+= Amanda/Application.pm
PERL5_MODS+= Amanda/Application/Zfs.pm
PERL5_LIBS+= Application
.include "../../sysutils/amanda-common/Makefile.common"
.if !empty(PKG_OPTIONS:Mamanda-smb)
CONFIGURE_ARGS+= --with-smbclient
DEPENDS+= {samba>=2.0,ja-samba>=2.0}:../../net/samba
.endif
.if !empty(PKG_OPTIONS:Mamanda-dump-snap)
CONFIGURE_ARGS+= --with-dump-use-snapshot --with-rundump
.endif
SPECIAL_PERMS+= libexec/amanda/application/amgtar ${AM_PROG_PERMS}
SPECIAL_PERMS+= libexec/amanda/application/amstar ${AM_PROG_PERMS}
SPECIAL_PERMS+= libexec/amanda/calcsize ${AM_PROG_PERMS}
SPECIAL_PERMS+= libexec/amanda/killpgrp ${AM_PROG_PERMS}
SPECIAL_PERMS+= libexec/amanda/rundump ${AM_PROG_PERMS}
SPECIAL_PERMS+= libexec/amanda/runtar ${AM_PROG_PERMS}
post-build:
${RUN}${_ULIMIT_CMD} cd ${WRKSRC}/amandad-src && \
${BUILD_MAKE_CMD} amandad
post-install:
${INSTALL_PROGRAM} ${WRKSRC}/amandad-src/amandad \
${DESTDIR}${PREFIX}/libexec/amanda
.include "../../sysutils/amanda-common/buildlink3.mk"
.include "../../mk/readline.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|