summaryrefslogtreecommitdiff
path: root/databases/rrdtool12/Makefile
diff options
context:
space:
mode:
authormartti <martti@pkgsrc.org>2008-07-28 19:48:03 +0000
committermartti <martti@pkgsrc.org>2008-07-28 19:48:03 +0000
commit2b76b7389e1e3a9725653dc06cfa002e796553f9 (patch)
tree3818935a3ecd1c8d58e046545e337b690fb5feec /databases/rrdtool12/Makefile
parent75b9b25826880afff90e94848fd101a904b9c201 (diff)
downloadpkgsrc-2b76b7389e1e3a9725653dc06cfa002e796553f9.tar.gz
Imported the old rrdtool 1.2.x due to many private requests. This has
less dependencies...
Diffstat (limited to 'databases/rrdtool12/Makefile')
-rw-r--r--databases/rrdtool12/Makefile43
1 files changed, 43 insertions, 0 deletions
diff --git a/databases/rrdtool12/Makefile b/databases/rrdtool12/Makefile
new file mode 100644
index 00000000000..216a7ab865b
--- /dev/null
+++ b/databases/rrdtool12/Makefile
@@ -0,0 +1,43 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/07/28 19:48:03 martti Exp $
+
+DISTNAME= rrdtool-1.2.28
+#PKGREVISION= 1
+CATEGORIES= databases graphics net
+MASTER_SITES= http://oss.oetiker.ch/rrdtool/pub/
+
+MAINTAINER= martti@NetBSD.org
+HOMEPAGE= http://oss.oetiker.ch/rrdtool/
+COMMENT= Data analysis tool generating graphical representations
+#LICENSE= gnu-gpl-v2
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+USE_LIBTOOL= yes
+USE_TOOLS+= gmake pkg-config perl
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --enable-shared
+CONFIGURE_ARGS+= --with-perl-options=${MAKE_PARAMS:Q}
+CONFIGURE_ARGS+= --disable-tcl
+CONFIGURE_ARGS+= --disable-python
+CONFIGURE_ARGS+= --disable-ruby
+
+PTHREAD_OPTS+= require
+PERL5_CONFIGURE= no
+PERL5_PACKLIST+= auto/RRDp/.packlist
+PERL5_PACKLIST+= auto/RRDs/.packlist
+
+# rrdtool explicitly forbids any use of -ffast-math
+BUILDLINK_TRANSFORM+= rm:-ffast-math
+
+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},'
+
+.include "../../graphics/freetype2/buildlink3.mk"
+.include "../../graphics/png/buildlink3.mk"
+.include "../../graphics/libart/buildlink3.mk"
+.include "../../lang/perl5/module.mk"
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"