Merge from vendor branch TNF:
[pkgsrc.git] / databases / rrdtool / Makefile
1 # $NetBSD: Makefile,v 1.2 1999/11/18 15:57:23 wennmach Exp $
2 #
3
4 DISTNAME=       rrdtool-1.0.21
5 CATEGORIES=     databases graphics net
6 MASTER_SITES=   http://ee-staff.ethz.ch/~oetiker/webtools/rrdtool/pub/
7
8 MAINTAINER=     wulf@ping.net.au
9 HOMEPAGE=       http://ee-staff.ethz.ch/~oetiker/webtools/rrdtool
10
11 DEPENDS+=       cgilib-0.5:../../www/cgilib
12 DEPENDS+=       gd>=1.7.3:../../graphics/gd
13 DEPENDS+=       jpeg-6*:../../graphics/jpeg
14
15 USE_PERL5=      yes
16 USE_LIBTOOL=    yes
17 USE_GMAKE=      yes
18 USE_X11=        yes
19 GNU_CONFIGURE=  yes
20
21 CPPFLAGS+=      -I${LOCALBASE}/include
22 LDFLAGS+=       -L${LOCALBASE}/lib
23
24 CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}"
25 CONFIGURE_ARGS= --enable-shared
26
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:
29 #
30 # lib/tclrrd1.0.21.so
31 # lib/tclrrd1.0.21/
32 # lib/tclrrd1.0.21/pkgIndex.tcl
33 #
34 #DEPENDS+=      tcl-8.0.5:../../x11/tk
35 #
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
40
41 .include "../../mk/bsd.pkg.mk"