| @@ -1,45 +1,43 @@ | | | @@ -1,45 +1,43 @@ |
1 | # $NetBSD: Makefile,v 1.70 2008/09/15 15:11:46 martti Exp $ | | 1 | # $NetBSD: Makefile,v 1.71 2008/09/18 13:56:13 joerg Exp $ |
2 | | | 2 | |
3 | DISTNAME= rrdtool-1.3.3 | | 3 | DISTNAME= rrdtool-1.3.3 |
4 | #PKGREVISION= 1 | | 4 | PKGREVISION= 1 |
5 | CATEGORIES= databases graphics net | | 5 | CATEGORIES= databases graphics net |
6 | MASTER_SITES= http://oss.oetiker.ch/rrdtool/pub/ | | 6 | MASTER_SITES= http://oss.oetiker.ch/rrdtool/pub/ |
7 | | | 7 | |
8 | MAINTAINER= martti@NetBSD.org | | 8 | MAINTAINER= martti@NetBSD.org |
9 | HOMEPAGE= http://oss.oetiker.ch/rrdtool/ | | 9 | HOMEPAGE= http://oss.oetiker.ch/rrdtool/ |
10 | COMMENT= Data analysis tool generating graphical representations | | 10 | COMMENT= Data analysis tool generating graphical representations |
11 | #LICENSE= gnu-gpl-v2 | | 11 | #LICENSE= gnu-gpl-v2 |
12 | | | 12 | |
13 | PKG_DESTDIR_SUPPORT= user-destdir | | 13 | PKG_DESTDIR_SUPPORT= user-destdir |
14 | | | 14 | |
15 | USE_LIBTOOL= yes | | 15 | USE_LIBTOOL= yes |
16 | USE_TOOLS+= gmake pkg-config perl | | 16 | USE_TOOLS+= gmake pkg-config perl msgfmt intltool |
17 | GNU_CONFIGURE= yes | | 17 | GNU_CONFIGURE= yes |
18 | CONFIGURE_ARGS+= --enable-shared | | 18 | CONFIGURE_ARGS+= --enable-shared |
19 | CONFIGURE_ARGS+= --with-perl-options=${MAKE_PARAMS:Q} | | 19 | CONFIGURE_ARGS+= --with-perl-options=${MAKE_PARAMS:Q} |
20 | CONFIGURE_ARGS+= --disable-tcl | | 20 | CONFIGURE_ARGS+= --disable-tcl |
21 | CONFIGURE_ARGS+= --disable-python | | 21 | CONFIGURE_ARGS+= --disable-python |
22 | CONFIGURE_ARGS+= --disable-ruby | | 22 | CONFIGURE_ARGS+= --disable-ruby |
23 | | | 23 | |
24 | PTHREAD_OPTS+= require | | 24 | PTHREAD_OPTS+= require |
25 | PERL5_CONFIGURE= no | | 25 | PERL5_CONFIGURE= no |
26 | PERL5_PACKLIST+= auto/RRDp/.packlist | | 26 | PERL5_PACKLIST+= auto/RRDp/.packlist |
27 | PERL5_PACKLIST+= auto/RRDs/.packlist | | 27 | PERL5_PACKLIST+= auto/RRDs/.packlist |
28 | | | 28 | |
29 | # rrdtool explicitly forbids any use of -ffast-math | | 29 | # rrdtool explicitly forbids any use of -ffast-math |
30 | BUILDLINK_TRANSFORM+= rm:-ffast-math | | 30 | BUILDLINK_TRANSFORM+= rm:-ffast-math |
31 | # rrdtool wants libintl_gettext, which at least NetBSD's lib doesn't have | | | |
32 | USE_BUILTIN.gettext= no | | | |
33 | | | 31 | |
34 | SUBST_CLASSES+= prefix | | 32 | SUBST_CLASSES+= prefix |
35 | SUBST_STAGE.prefix= post-build | | 33 | SUBST_STAGE.prefix= post-build |
36 | SUBST_MESSAGE.prefix= Fixing $${prefix} in scripts. | | 34 | SUBST_MESSAGE.prefix= Fixing $${prefix} in scripts. |
37 | SUBST_FILES.prefix= examples/cgi-demo.cgi | | 35 | SUBST_FILES.prefix= examples/cgi-demo.cgi |
38 | SUBST_SED.prefix= -e '1s,^\#! \$${prefix},\#! ${PREFIX},' | | 36 | SUBST_SED.prefix= -e '1s,^\#! \$${prefix},\#! ${PREFIX},' |
39 | | | 37 | |
40 | .include "../../devel/gettext-lib/buildlink3.mk" | | 38 | .include "../../devel/gettext-lib/buildlink3.mk" |
41 | .include "../../graphics/freetype2/buildlink3.mk" | | 39 | .include "../../graphics/freetype2/buildlink3.mk" |
42 | .include "../../fonts/fontconfig/buildlink3.mk" | | 40 | .include "../../fonts/fontconfig/buildlink3.mk" |
43 | .include "../../devel/pango/buildlink3.mk" | | 41 | .include "../../devel/pango/buildlink3.mk" |
44 | .include "../../graphics/cairo/buildlink3.mk" | | 42 | .include "../../graphics/cairo/buildlink3.mk" |
45 | .include "../../graphics/png/buildlink3.mk" | | 43 | .include "../../graphics/png/buildlink3.mk" |