[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / sysutils / amanda-client

File: [cvs.NetBSD.org] / pkgsrc / sysutils / amanda-client / Makefile (download)

Revision 1.58, Mon Jul 15 02:02:28 2013 UTC (8 years, 4 months ago) by ryoon
Branch: MAIN
CVS Tags: pkgsrc-2014Q3-base, pkgsrc-2014Q3, pkgsrc-2014Q2-base, pkgsrc-2014Q2, pkgsrc-2014Q1-base, pkgsrc-2014Q1, pkgsrc-2013Q4-base, pkgsrc-2013Q4, pkgsrc-2013Q3-base, pkgsrc-2013Q3
Changes since 1.57: +2 -2 lines

* .include "../../devel/readline/buildlink3.mk" with USE_GNU_READLINE=yes
  are replaced with .include "../../devel/readline/buildlink3.mk", and
  USE_GNU_READLINE are removed,

* .include "../../devel/readline/buildlink3.mk" without USE_GNU_READLINE
  are replaced with .include "../../mk/readline.buildlink3.mk".

# $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"