blob: 4a2a594a298dc5d72245bc5d65d787856af92f35 (
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
|
# $NetBSD: Makefile.common,v 1.16 2004/12/28 09:10:50 minskim Exp $
#
# common make file fragment shared by all amanda-* pkgs.
#
VERS= 2.4.4p4
DISTNAME?= amanda-${VERS}
CATEGORIES= sysutils
MASTER_SITES?= http://download.sourceforge.net/amanda/
MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://www.amanda.org/
.if ${OPSYS} == "SunOS"
AMANDA_GROUP?= sysadmin
.else
# NetBSD, Linux and Darwin
AMANDA_GROUP?= operator
.endif
AMANDA_USER?= backup
AMANDA_TMP?= /tmp/amanda
AMANDA_VAR?= ${VARBASE}/amanda
BUILD_DEFS+= AMANDA_USER AMANDA_GROUP AMANDA_SMB
BUILD_DEFS+= AMANDA_TMP AMANDA_VAR
USE_LIBTOOL= yes
LTCONFIG_OVERRIDE= ${WRKSRC}/config/ltconfig
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-user=${AMANDA_USER}
CONFIGURE_ARGS+= --with-group=${AMANDA_GROUP}
CONFIGURE_ARGS+= --with-owner=${ROOT_USER}
CONFIGURE_ARGS+= --with-mmap
CONFIGURE_ARGS+= --with-amandahosts
CONFIGURE_ARGS+= --with-tmpdir=${AMANDA_TMP}
CONFIGURE_ARGS+= --localstatedir=${AMANDA_VAR}
CONFIGURE_ARGS+= --with-gnutar-listdir=${AMANDA_VAR}/gnutar-lists
CONFIGURE_ARGS+= --with-dump-honor-nodump
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
|