# $OpenBSD: Makefile,v 1.53 2010/10/18 18:36:57 espie Exp $ SHARED_ONLY= Yes COMMENT-main= system to store and display time-series data COMMENT-perl= perl interface to librrd COMMENT-python= python interface to librrd COMMENT-ruby= ruby interface to librrd VERSION= 1.2.30 DISTNAME= rrdtool-${VERSION} PKGNAME-main= rrdtool-${VERSION} PKGNAME-perl= p5-RRD-${VERSION} PKGNAME-python= py-rrd-${VERSION} PKGNAME-ruby= ruby-rrd-${VERSION} REVISION-main= 1 REVISION-python=1 REVISION-ruby= 2 SHARED_LIBS+= rrd 3.0 SHARED_LIBS+= rrd_th 3.0 CATEGORIES= net databases MAINTAINER= Mathieu Sauve-Frankel HOMEPAGE= http://oss.oetiker.ch/rrdtool/ # GPLv2+ PERMIT_PACKAGE_CDROM= Yes PERMIT_PACKAGE_FTP= Yes PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_FTP= Yes MASTER_SITES= ${HOMEPAGE}pub/ USE_GMAKE= Yes USE_X11= Yes USE_LIBTOOL= Yes USE_GROFF = Yes MULTI_PACKAGES= -main -perl -python -ruby MODULES= lang/python lang/ruby CONFIGURE_STYLE= gnu CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \ --enable-perl-site-install \ --enable-python \ --enable-ruby-site-install \ --disable-tcl CPPFLAGS+= -I${LOCALBASE}/include/libart-2.0 \ -I${LOCALBASE}/include/libpng \ -I${X11BASE}/include/ \ -I${X11BASE}/include/freetype2 LDFLAGS+= -L${LOCALBASE}/lib -L${X11BASE}/lib CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" WANTLIB-main= c m z freetype LIB_DEPENDS-main= png::graphics/png \ art_lgpl_2::graphics/libart RUN_DEPENDS-main= WANTLIB-perl= m z LIB_DEPENDS-perl= rrd:rrdtool-${VERSION}:net/rrdtool RUN_DEPENDS-perl= LIB_DEPENDS-python= rrd:rrdtool-${VERSION}:net/rrdtool RUN_DEPENDS-python= ${MODPY_RUN_DEPENDS} MODPY_EGG_VERSION= 0.2.1 LIB_DEPENDS-ruby= rrd:rrdtool-${VERSION}:net/rrdtool \ ${MODRUBY_LIB_DEPENDS} WANTLIB-ruby= c m .include