1 # $NetBSD: Makefile,v 1.2 1999/11/18 15:57:23 wennmach Exp $
4 DISTNAME= rrdtool-1.0.21
5 CATEGORIES= databases graphics net
6 MASTER_SITES= http://ee-staff.ethz.ch/~oetiker/webtools/rrdtool/pub/
8 MAINTAINER= wulf@ping.net.au
9 HOMEPAGE= http://ee-staff.ethz.ch/~oetiker/webtools/rrdtool
11 DEPENDS+= cgilib-0.5:../../www/cgilib
12 DEPENDS+= gd>=1.7.3:../../graphics/gd
13 DEPENDS+= jpeg-6*:../../graphics/jpeg
21 CPPFLAGS+= -I${LOCALBASE}/include
22 LDFLAGS+= -L${LOCALBASE}/lib
24 CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}"
25 CONFIGURE_ARGS= --enable-shared
27 # tcl build not enabled at this time. If this is turned on, the
28 # following files & directory would have to be added to PLIST:
32 # lib/tclrrd1.0.21/pkgIndex.tcl
34 #DEPENDS+= tcl-8.0.5:../../x11/tk
36 #CFLAGS+= -I${LOCALBASE}/include/tcl8.0
37 #CONFIGURE_ENV+= CFLAGS="${CFLAGS}"
38 #CONFIGURE_ARGS+= --with-tcllib=${LOCALBASE}/lib/tcl8.0
39 #INSTALL_TARGET= install site-tcl-install
41 .include "../../mk/bsd.pkg.mk"