2004-06-08 16:21:24 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.25 2004/06/08 20:21:24 danh Exp $
|
2004-01-17 10:58:06 -05:00
|
|
|
|
|
|
|
NOT_FOR_ARCHS= ${NO_SHARED_ARCHS}
|
2001-03-28 14:35:25 -05:00
|
|
|
|
|
|
|
COMMENT= "system to store and display time-series data"
|
2000-06-14 01:57:49 -04:00
|
|
|
|
2004-06-08 16:21:24 -04:00
|
|
|
RRDVERSION= 1.0.48
|
|
|
|
DISTNAME= rrdtool-${RRDVERSION}
|
2000-09-06 15:17:22 -04:00
|
|
|
CATEGORIES= net
|
2001-11-21 08:57:38 -05:00
|
|
|
MASTER_SITES= http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/pub/ \
|
2000-09-06 15:17:22 -04:00
|
|
|
ftp://ftp.sunet.se/pub/network/monitoring/rrdtool/ \
|
|
|
|
http://ftp.sunet.se/pub/network/monitoring/rrdtool/
|
2000-06-14 01:57:49 -04:00
|
|
|
|
2001-11-21 08:57:38 -05:00
|
|
|
HOMEPAGE= http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/
|
2000-09-06 15:17:22 -04:00
|
|
|
|
2000-09-23 15:59:51 -04:00
|
|
|
MAINTAINER= Dan Harnett <danh@openbsd.org>
|
2000-06-14 01:57:49 -04:00
|
|
|
|
2004-02-09 12:30:05 -05:00
|
|
|
# GPL
|
2000-06-14 01:57:49 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2004-06-08 16:21:24 -04:00
|
|
|
SUBST_VARS= RRDVERSION
|
2000-06-14 01:57:49 -04:00
|
|
|
|
2000-09-06 15:17:22 -04:00
|
|
|
FLAVORS= tcl
|
2000-06-15 06:39:42 -04:00
|
|
|
FLAVOR?=
|
|
|
|
|
2004-06-08 16:21:24 -04:00
|
|
|
LIB_DEPENDS= png.4::graphics/png \
|
|
|
|
gd.18::graphics/gd
|
2004-02-09 12:30:05 -05:00
|
|
|
|
2000-09-06 15:17:22 -04:00
|
|
|
CONFIGURE_STYLE= gnu
|
2004-02-09 12:30:05 -05:00
|
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} --enable-static \
|
|
|
|
--enable-local-libpng \
|
|
|
|
--enable-local-zlib
|
2001-10-04 14:10:09 -04:00
|
|
|
MODGNU_CONFIG_GUESS_DIRS= ${WRKSRC} ${WRKSRC}/config ${WRKSRC}/contrib/php4
|
2000-06-19 05:11:27 -04:00
|
|
|
|
2000-09-06 15:17:22 -04:00
|
|
|
.if ${FLAVOR:L:Mtcl}
|
2003-12-27 18:32:06 -05:00
|
|
|
LIB_DEPENDS+= tcl84::lang/tcl/8.4
|
2001-04-06 11:04:13 -04:00
|
|
|
USE_GMAKE= Yes
|
2003-12-27 18:32:06 -05:00
|
|
|
CONFIGURE_ARGS+= --with-tcllib="${LOCALBASE}/lib/tcl8.4"
|
2004-02-15 15:59:58 -05:00
|
|
|
CFLAGS+= -I${LOCALBASE}/include/tcl8.4
|
2000-06-15 06:39:42 -04:00
|
|
|
.else
|
2000-09-06 15:17:22 -04:00
|
|
|
CONFIGURE_ARGS+= --without-tcllib
|
|
|
|
.endif
|
|
|
|
|
2004-02-15 15:59:58 -05:00
|
|
|
CFLAGS+= -I${LOCALBASE}/include/libpng
|
2004-02-09 12:30:05 -05:00
|
|
|
|
2000-09-06 15:17:22 -04:00
|
|
|
.if ${FLAVOR:L:Mtcl}
|
|
|
|
post-install:
|
|
|
|
cd ${WRKSRC} && ${MAKE} site-tcl-install
|
2000-06-15 06:39:42 -04:00
|
|
|
.endif
|
|
|
|
|
2000-06-14 01:57:49 -04:00
|
|
|
.include <bsd.port.mk>
|