openbsd-ports/net/rrdtool/Makefile

58 lines
1.3 KiB
Makefile
Raw Normal View History

2006-01-08 05:23:02 -05:00
# $OpenBSD: Makefile,v 1.35 2006/01/08 10:23:03 steven Exp $
NOT_FOR_ARCHS= ${NO_SHARED_ARCHS}
COMMENT= "system to store and display time-series data"
2004-10-13 09:43:26 -04:00
RRDVERSION= 1.0.49
2004-06-08 16:21:24 -04:00
DISTNAME= rrdtool-${RRDVERSION}
2006-01-03 10:15:43 -05:00
PKGNAME= ${DISTNAME}p3
2006-01-08 05:23:02 -05:00
SHARED_LIBS= rrd 0.0
2005-10-12 01:40:00 -04:00
CATEGORIES= net
2005-10-22 13:18:53 -04:00
MASTER_SITES= ${HOMEPAGE}pub/rrdtool-1.0.x/ \
http://ftp.sunet.se/pub/network/monitoring/rrdtool/rrdtool-1.0.x/
HOMEPAGE= http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/
2000-09-23 15:59:51 -04:00
MAINTAINER= Dan Harnett <danh@openbsd.org>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c freetype fontconfig jpeg m png z
2005-10-12 01:40:00 -04:00
MODULES= converters/libiconv
2004-06-08 16:21:24 -04:00
SUBST_VARS= RRDVERSION
FLAVORS= tcl
FLAVOR?=
2005-10-12 01:40:00 -04:00
LIB_DEPENDS= gd.18::graphics/gd
USE_X11= Yes
2006-01-03 10:15:43 -05:00
USE_LIBTOOL= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} --enable-static \
--enable-local-libpng \
--enable-local-zlib
2004-08-03 14:24:40 -04:00
MODGNU_CONFIG_GUESS_DIRS=${WRKSRC}/config ${WRKSRC}/contrib/php4
.if ${FLAVOR:L:Mtcl}
2004-12-30 07:12:19 -05:00
LIB_DEPENDS+= tcl84:tcl-8.4.*: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
INSTALL_TARGET= install site-tcl-install
FAKE_FLAGS+= MACHINE_ARCH="${MACHINE_ARCH}"
.else
CONFIGURE_ARGS+= --without-tcllib
.endif
2004-02-15 15:59:58 -05:00
CFLAGS+= -I${LOCALBASE}/include/libpng
.include <bsd.port.mk>