2011-09-16 07:13:37 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.65 2011/09/16 11:13:40 espie Exp $
|
2004-01-17 10:58:06 -05:00
|
|
|
|
2007-09-12 10:34:36 -04:00
|
|
|
SHARED_ONLY= Yes
|
2001-03-28 14:35:25 -05:00
|
|
|
|
2007-09-12 10:34:36 -04:00
|
|
|
COMMENT-main= system to store and display time-series data
|
|
|
|
COMMENT-perl= perl interface to librrd
|
2010-07-01 11:49:24 -04:00
|
|
|
COMMENT-python= python interface to librrd
|
|
|
|
COMMENT-ruby= ruby interface to librrd
|
2007-09-12 10:34:36 -04:00
|
|
|
|
2009-01-26 16:26:32 -05:00
|
|
|
VERSION= 1.2.30
|
2007-09-12 10:34:36 -04:00
|
|
|
DISTNAME= rrdtool-${VERSION}
|
2010-07-12 18:07:37 -04:00
|
|
|
PKGNAME-main= rrdtool-${VERSION}
|
2009-01-26 16:26:32 -05:00
|
|
|
PKGNAME-perl= p5-RRD-${VERSION}
|
2010-07-12 18:07:37 -04:00
|
|
|
PKGNAME-python= py-rrd-${VERSION}
|
2010-07-01 11:49:24 -04:00
|
|
|
PKGNAME-ruby= ruby-rrd-${VERSION}
|
2011-06-08 14:00:49 -04:00
|
|
|
REVISION-main= 3
|
2011-09-16 07:13:37 -04:00
|
|
|
REVISION-perl= 2
|
|
|
|
REVISION-python=4
|
|
|
|
REVISION-ruby= 10
|
2007-09-12 10:34:36 -04:00
|
|
|
|
2008-07-28 19:41:54 -04:00
|
|
|
SHARED_LIBS+= rrd 3.0
|
|
|
|
SHARED_LIBS+= rrd_th 3.0
|
2000-06-14 01:57:49 -04:00
|
|
|
|
2009-06-08 06:00:37 -04:00
|
|
|
CATEGORIES= net databases
|
2000-06-14 01:57:49 -04:00
|
|
|
|
2011-03-16 08:58:42 -04:00
|
|
|
MAINTAINER= Stuart Henderson <sthen@openbsd.org>
|
2007-04-03 10:54:26 -04:00
|
|
|
HOMEPAGE= http://oss.oetiker.ch/rrdtool/
|
2000-09-06 15:17:22 -04:00
|
|
|
|
2009-01-26 16:26:32 -05:00
|
|
|
# GPLv2+
|
2000-06-14 01:57:49 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2005-10-24 01:11:01 -04:00
|
|
|
|
2007-09-12 10:34:36 -04:00
|
|
|
MASTER_SITES= ${HOMEPAGE}pub/
|
2005-10-12 01:40:00 -04:00
|
|
|
|
2007-09-12 10:34:36 -04:00
|
|
|
USE_GMAKE= Yes
|
|
|
|
USE_LIBTOOL= Yes
|
2010-10-18 14:36:45 -04:00
|
|
|
USE_GROFF = Yes
|
2000-06-14 01:57:49 -04:00
|
|
|
|
2010-07-01 11:49:24 -04:00
|
|
|
MULTI_PACKAGES= -main -perl -python -ruby
|
2000-06-15 06:39:42 -04:00
|
|
|
|
2010-07-01 11:49:24 -04:00
|
|
|
MODULES= lang/python lang/ruby
|
2004-02-09 12:30:05 -05:00
|
|
|
|
2000-09-06 15:17:22 -04:00
|
|
|
CONFIGURE_STYLE= gnu
|
2007-09-12 10:34:36 -04:00
|
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
|
|
|
|
--enable-perl-site-install \
|
|
|
|
--enable-python \
|
2010-07-01 11:49:24 -04:00
|
|
|
--enable-ruby-site-install \
|
2007-09-12 10:34:36 -04:00
|
|
|
--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
|
2010-10-29 08:45:45 -04:00
|
|
|
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" \
|
|
|
|
LDFLAGS="${LDFLAGS}" \
|
|
|
|
RUBY="${RUBY}"
|
2000-06-19 05:11:27 -04:00
|
|
|
|
2010-11-11 12:20:27 -05:00
|
|
|
WANTLIB-main= c m z freetype png art_lgpl_2
|
2010-11-19 17:31:32 -05:00
|
|
|
LIB_DEPENDS-main= graphics/png \
|
|
|
|
graphics/libart
|
2007-09-12 10:34:36 -04:00
|
|
|
RUN_DEPENDS-main=
|
|
|
|
|
2010-11-11 12:20:27 -05:00
|
|
|
WANTLIB-perl= m z rrd
|
2010-11-19 17:31:32 -05:00
|
|
|
LIB_DEPENDS-perl= rrdtool-${VERSION}:net/rrdtool
|
2007-09-12 10:34:36 -04:00
|
|
|
RUN_DEPENDS-perl=
|
|
|
|
|
2010-11-11 12:20:27 -05:00
|
|
|
WANTLIB-python = rrd
|
2010-11-19 17:31:32 -05:00
|
|
|
LIB_DEPENDS-python= rrdtool-${VERSION}:net/rrdtool
|
2007-09-12 10:34:36 -04:00
|
|
|
RUN_DEPENDS-python= ${MODPY_RUN_DEPENDS}
|
2009-01-26 16:26:32 -05:00
|
|
|
MODPY_EGG_VERSION= 0.2.1
|
2004-02-09 12:30:05 -05:00
|
|
|
|
2010-11-19 17:31:32 -05:00
|
|
|
LIB_DEPENDS-ruby= rrdtool-${VERSION}:net/rrdtool \
|
2010-07-01 11:49:24 -04:00
|
|
|
${MODRUBY_LIB_DEPENDS}
|
2010-10-28 09:39:35 -04:00
|
|
|
WANTLIB-ruby= c m rrd ${MODRUBY_WANTLIB}
|
2010-07-01 11:49:24 -04:00
|
|
|
|
2000-06-14 01:57:49 -04:00
|
|
|
.include <bsd.port.mk>
|