summaryrefslogtreecommitdiff
path: root/sysutils/amanda/Makefile
blob: cb148cbdea705183200f50bce9c3929f8d58e162 (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
# $NetBSD: Makefile,v 1.20 1999/02/09 16:08:58 bad Exp $
# FreeBSD Id: Makefile,v 1.9 1997/03/08 05:00:11 gpalmer Exp
#

DISTNAME=		amanda-2.4.0p1
CATEGORIES=		misc
MASTER_SITES=		ftp://ftp.cs.umd.edu/pub/amanda/

MAINTAINER=		packages@netbsd.org
HOMEPAGE=		http://www.amanda.org/

DEPENDS+=		readline-2.2:../../devel/readline
DEPENDS+=		addnerd-1.6:../../sysutils/addnerd
DEPENDS+=		gnuplot-3.7:../../graphics/gnuplot
DEPENDS+=		gtar-1.12:../../archivers/gtar

AMANDA_USER?=		backup
AMANDA_GROUP=		operator

USE_LIBTOOL=		yes
GNU_CONFIGURE=		yes
CONFIGURE_ARGS+=	--with-user=${AMANDA_USER} --with-group=${AMANDA_GROUP} \
			--with-mmap --with-amandahosts
CONFIGURE_ENV+=		INSTALL_SCRIPT="${INSTALL_SCRIPT}"

pre-install:
	@${SETENV} ${MAKE_ENV} addnerd -g ${AMANDA_GROUP} ${AMANDA_USER}

.include "../../mk/bsd.pkg.mk"