2009-10-29 13:43:49 +01:00
|
|
|
# $NetBSD: Makefile,v 1.79 2009/10/29 12:43:49 martti Exp $
|
1999-11-17 18:34:38 +01:00
|
|
|
|
2009-10-29 13:43:49 +01:00
|
|
|
DISTNAME= rrdtool-1.3.9
|
2009-01-16 03:23:03 +01:00
|
|
|
|
1999-11-17 18:34:38 +01:00
|
|
|
CATEGORIES= databases graphics net
|
2006-10-04 22:46:42 +02:00
|
|
|
MASTER_SITES= http://oss.oetiker.ch/rrdtool/pub/
|
1999-11-17 18:34:38 +01:00
|
|
|
|
2007-03-06 11:49:00 +01:00
|
|
|
MAINTAINER= martti@NetBSD.org
|
2006-10-04 22:46:42 +02:00
|
|
|
HOMEPAGE= http://oss.oetiker.ch/rrdtool/
|
2001-02-16 15:17:22 +01:00
|
|
|
COMMENT= Data analysis tool generating graphical representations
|
2009-04-08 20:41:25 +02:00
|
|
|
LICENSE= gnu-gpl-v2
|
1999-11-17 18:34:38 +01:00
|
|
|
|
2008-06-20 03:09:05 +02:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
2004-02-08 04:47:08 +01:00
|
|
|
USE_LIBTOOL= yes
|
2008-09-18 15:56:13 +02:00
|
|
|
USE_TOOLS+= gmake pkg-config perl msgfmt intltool
|
2004-02-08 04:47:08 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2005-12-05 21:49:47 +01:00
|
|
|
CONFIGURE_ARGS+= --enable-shared
|
2005-08-08 20:13:13 +02:00
|
|
|
CONFIGURE_ARGS+= --with-perl-options=${MAKE_PARAMS:Q}
|
2006-01-07 13:54:15 +01:00
|
|
|
CONFIGURE_ARGS+= --disable-tcl
|
|
|
|
CONFIGURE_ARGS+= --disable-python
|
2007-05-17 16:41:09 +02:00
|
|
|
CONFIGURE_ARGS+= --disable-ruby
|
1999-11-17 18:34:38 +01:00
|
|
|
|
2007-01-30 14:26:55 +01:00
|
|
|
PTHREAD_OPTS+= require
|
2006-01-24 23:22:16 +01:00
|
|
|
PERL5_CONFIGURE= no
|
|
|
|
PERL5_PACKLIST+= auto/RRDp/.packlist
|
2005-07-13 20:01:18 +02:00
|
|
|
PERL5_PACKLIST+= auto/RRDs/.packlist
|
2000-08-27 09:10:59 +02:00
|
|
|
|
2005-10-12 21:24:42 +02:00
|
|
|
# rrdtool explicitly forbids any use of -ffast-math
|
|
|
|
BUILDLINK_TRANSFORM+= rm:-ffast-math
|
|
|
|
|
2006-03-02 13:23:56 +01:00
|
|
|
SUBST_CLASSES+= prefix
|
|
|
|
SUBST_STAGE.prefix= post-build
|
|
|
|
SUBST_MESSAGE.prefix= Fixing $${prefix} in scripts.
|
|
|
|
SUBST_FILES.prefix= examples/cgi-demo.cgi
|
|
|
|
SUBST_SED.prefix= -e '1s,^\#! \$${prefix},\#! ${PREFIX},'
|
|
|
|
|
2008-06-23 18:24:30 +02:00
|
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
2005-07-03 17:23:33 +02:00
|
|
|
.include "../../graphics/freetype2/buildlink3.mk"
|
2008-06-23 18:24:30 +02:00
|
|
|
.include "../../fonts/fontconfig/buildlink3.mk"
|
|
|
|
.include "../../devel/pango/buildlink3.mk"
|
|
|
|
.include "../../graphics/cairo/buildlink3.mk"
|
2005-07-03 17:23:33 +02:00
|
|
|
.include "../../graphics/png/buildlink3.mk"
|
2008-06-23 18:24:30 +02:00
|
|
|
.include "../../textproc/libxml2/buildlink3.mk"
|
|
|
|
.include "../../devel/glib2/buildlink3.mk"
|
|
|
|
.include "../../x11/pixman/buildlink3.mk"
|
2003-02-17 00:08:55 +01:00
|
|
|
.include "../../lang/perl5/module.mk"
|
2005-07-17 18:29:56 +02:00
|
|
|
.include "../../mk/pthread.buildlink3.mk"
|
1999-11-17 18:34:38 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|