summaryrefslogtreecommitdiff
path: root/databases/rrdtool/Makefile
blob: cd73452994e9872ced5f56f446aa38880ab157ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# $NetBSD: Makefile,v 1.5 2000/06/27 01:32:11 hubertf Exp $
#

DISTNAME=	rrdtool-1.0.21
CATEGORIES=	databases graphics net
MASTER_SITES=	http://ee-staff.ethz.ch/~oetiker/webtools/rrdtool/pub/

MAINTAINER=	wulf@ping.net.au
HOMEPAGE=	http://ee-staff.ethz.ch/~oetiker/webtools/rrdtool

DEPENDS+=	cgilib-0.5:../../www/cgilib
DEPENDS+=	gd>=1.7.3:../../graphics/gd
DEPENDS+=	jpeg-6*:../../graphics/jpeg

USE_PERL5=	yes
USE_LIBTOOL=	yes
USE_GMAKE=	yes
USE_X11=	yes
GNU_CONFIGURE=	yes

CPPFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib

CONFIGURE_ENV+=	CPPFLAGS="${CPPFLAGS}"
CONFIGURE_ARGS= --enable-shared

# tcl build not enabled at this time.  If this is turned on, the
# following files & directory would have to be added to PLIST:
#
# lib/tclrrd1.0.21.so
# lib/tclrrd1.0.21/
# lib/tclrrd1.0.21/pkgIndex.tcl
#
#DEPENDS+=	tcl-8.0.5:../../x11/tk
#
#CFLAGS+=		-I${LOCALBASE}/include/tcl8.0
#CONFIGURE_ENV+= 	CFLAGS="${CFLAGS}"
#CONFIGURE_ARGS+=	--with-tcllib=${LOCALBASE}/lib/tcl8.0
#INSTALL_TARGET= 	install site-tcl-install

.include "../../mk/bsd.pkg.mk"