summaryrefslogtreecommitdiff
path: root/sysutils/amanda-plot/Makefile
diff options
context:
space:
mode:
authorbad <bad@pkgsrc.org>1999-09-06 18:11:22 +0000
committerbad <bad@pkgsrc.org>1999-09-06 18:11:22 +0000
commitfc50a01d05a6607e38ce9d0b3e2a6582266943ad (patch)
tree251a32eb3cc82fa5ec6e5f4d05d084ebfd212f95 /sysutils/amanda-plot/Makefile
parent69876b341af0e5e3fb2effc7acfbe8ca73e90d3d (diff)
downloadpkgsrc-fc50a01d05a6607e38ce9d0b3e2a6582266943ad.tar.gz
Split out amanda-plot from amanda-server so that one doesn't need X11
just to write backups to tape.
Diffstat (limited to 'sysutils/amanda-plot/Makefile')
-rw-r--r--sysutils/amanda-plot/Makefile43
1 files changed, 43 insertions, 0 deletions
diff --git a/sysutils/amanda-plot/Makefile b/sysutils/amanda-plot/Makefile
new file mode 100644
index 00000000000..9851aaee3cc
--- /dev/null
+++ b/sysutils/amanda-plot/Makefile
@@ -0,0 +1,43 @@
+# $NetBSD: Makefile,v 1.1.1.1 1999/09/06 18:11:22 bad Exp $
+# FreeBSD Id: Makefile,v 1.9 1997/03/08 05:00:11 gpalmer Exp
+#
+
+DISTNAME= amanda-2.4.1p1
+PKGNAME= amanda-plot-2.4.1p1
+CATEGORIES= sysutils
+MASTER_SITES= ftp://ftp.cs.umd.edu/pub/amanda/
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://www.amanda.org/
+
+DEPENDS+= gnuplot-3.7:../../graphics/gnuplot
+DEPENDS+= amanda-server-2.4.1p1:../../sysutils/amanda-server
+
+USE_X11= yes
+
+.include "../../mk/bsd.prefs.mk"
+
+.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_ENV+= GNUPLOT="${LOCALBASE}/gnuplot"
+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 \
+ --without-client
+
+.include "../../mk/bsd.pkg.mk"