Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

64 lines (48 sloc) 1.762 kb
# $NetBSD: Makefile,v 1.56 2012/09/15 10:06:19 obache Exp $
#
PKGNAME= amanda-client-${AMANDA_VERSION}
PKGREVISION= 1
SVR4_PKGNAME= amacl
COMMENT= Client part of Amanda, a network backup system
PKG_DESTDIR_SUPPORT= user-destdir
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 "../../devel/readline/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
Jump to Line
Something went wrong with that request. Please try again.