summaryrefslogtreecommitdiff
path: root/sysutils/amanda/Makefile
blob: 72fb62f02b618d3300c04257debbc22fbf8b9fe1 (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
# $NetBSD: Makefile,v 1.8 1998/05/07 17:04:05 agc Exp $
# FreeBSD Id: Makefile,v 1.9 1997/03/08 05:00:11 gpalmer Exp
#

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

MAINTAINER=		packages@netbsd.org

USE_PERL5=		yes
DEPENDS+=		readline-2.2:../../devel/readline
RUN_DEPENDS+=		gnuplot:../../graphics/gnuplot
RUN_DEPENDS+=		gtar:../../archivers/gtar

AMANDA_USER?=		backup

GNU_CONFIGURE=		yes
CONFIGURE_ARGS+=	--with-user=${AMANDA_USER} --with-group=${AMANDA_USER}
MAKE_ENV+=		INSTALL_SCRIPT="${INSTALL_SCRIPT}"
CONFIGURE_ENV+=		INSTALL_SCRIPT="${INSTALL_SCRIPT}"

MAN8+=			amadmin.8 amcheck.8 amdump.8 amflush.8 amlabel.8
MAN8+=			amrestore.8 amtape.8 amanda.8 amcleanup.8 amtoc.8
MAN8+=			amcheckdb.8 amoverview.8 amplot.8 amrecover.8
MAN8+=			amrmtape.8 amverify.8

pre-install:
	@${SETENV} ${MAKE_ENV} perl ${SCRIPTDIR}/createuser ${AMANDA_USER}

post-install:
	${LDCONFIG} || ${TRUE}

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