Merge from vendor branch TNF:
[pkgsrc.git] / sysutils / amanda-common / Makefile.common
1 # $NetBSD: Makefile.common,v 1.1 1999/09/06 19:30:20 bad Exp $
2 #
3 # common make file fragment shared by all amanda-* pkgs.
4 #
5
6 .if ${OPSYS} == "NetBSD"
7 AMANDA_GROUP=           operator
8 .elif ${OPSYS} == "SunOS"
9 AMANDA_GROUP=           sysadmin
10 .endif
11
12 AMANDA_USER?=           backup
13 AMANDA_VAR?=            /var/amanda
14
15 USE_PKGLIBTOOL=         yes
16 GNU_CONFIGURE=          yes
17 CONFIGURE_ARGS+=        --with-user=${AMANDA_USER} \
18                         --with-group=${AMANDA_GROUP} \
19                         --with-owner=root \
20                         --with-mmap --with-amandahosts \
21                         --with-includes=${PREFIX}/include \
22                         --with-libraries=${PREFIX}/lib \
23                         --localstatedir=${AMANDA_VAR} \
24                         --with-gnutar-listdir=${AMANDA_VAR}/gnutar-lists \
25                         --with-dump-honor-nodump