diff options
author | bad <bad@pkgsrc.org> | 1999-09-06 19:30:19 +0000 |
---|---|---|
committer | bad <bad@pkgsrc.org> | 1999-09-06 19:30:19 +0000 |
commit | 3f20add20cfb888be4e4f8331fd0a9656462988d (patch) | |
tree | 0f00e90f59e6e45cc6e961d3d74bffc70c207f75 /sysutils/amanda-common/Makefile.common | |
parent | dbd92defc536de9e1534a5a14cf71ca5b90c9d98 (diff) | |
download | pkgsrc-3f20add20cfb888be4e4f8331fd0a9656462988d.tar.gz |
Split out the common code in the amanda make files into
amanda-common/Makefile.common.
Diffstat (limited to 'sysutils/amanda-common/Makefile.common')
-rw-r--r-- | sysutils/amanda-common/Makefile.common | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/sysutils/amanda-common/Makefile.common b/sysutils/amanda-common/Makefile.common new file mode 100644 index 00000000000..9fd4b9192c9 --- /dev/null +++ b/sysutils/amanda-common/Makefile.common @@ -0,0 +1,25 @@ +# $NetBSD: Makefile.common,v 1.1 1999/09/06 19:30:20 bad Exp $ +# +# common make file fragment shared by all amanda-* pkgs. +# + +.if ${OPSYS} == "NetBSD" +AMANDA_GROUP= operator +.elif ${OPSYS} == "SunOS" +AMANDA_GROUP= sysadmin +.endif + +AMANDA_USER?= backup +AMANDA_VAR?= /var/amanda + +USE_LIBTOOL= yes +GNU_CONFIGURE= yes +CONFIGURE_ARGS+= --with-user=${AMANDA_USER} \ + --with-group=${AMANDA_GROUP} \ + --with-owner=root \ + --with-mmap --with-amandahosts \ + --with-includes=${PREFIX}/include \ + --with-libraries=${PREFIX}/lib \ + --localstatedir=${AMANDA_VAR} \ + --with-gnutar-listdir=${AMANDA_VAR}/gnutar-lists \ + --with-dump-honor-nodump |