View | Details | Raw Unified | Return to bug 114419
Collapse All | Expand All

(-)/usr/ports/databases/rrdtool/Makefile (-3 / +16 lines)
Lines 7-12 Link Here
7
7
8
PORTNAME=	rrdtool
8
PORTNAME=	rrdtool
9
PORTVERSION=	1.2.23
9
PORTVERSION=	1.2.23
10
PORTREVISION=	1
10
CATEGORIES=	databases graphics
11
CATEGORIES=	databases graphics
11
MASTER_SITES=	http://oss.oetiker.ch/rrdtool/pub/
12
MASTER_SITES=	http://oss.oetiker.ch/rrdtool/pub/
12
13
Lines 18-32 Link Here
18
		png.5:${PORTSDIR}/graphics/png
19
		png.5:${PORTSDIR}/graphics/png
19
20
20
USE_AUTOTOOLS=	libtool:15
21
USE_AUTOTOOLS=	libtool:15
21
USE_PERL5=	yes
22
USE_LDCONFIG=	yes
22
USE_LDCONFIG=	yes
23
GNU_CONFIGURE=	yes
23
GNU_CONFIGURE=	yes
24
USE_GMAKE=	yes
24
USE_GMAKE=	yes
25
25
26
CONFIGURE_ARGS=	--enable-perl-site-install --disable-tcl
26
CONFIGURE_ARGS=	--disable-tcl
27
27
28
OPTIONS=	PYTHON_MODULE	"Build PYTHON bindings" off \
28
OPTIONS=	PYTHON_MODULE	"Build PYTHON bindings" off \
29
		RUBY_MODULE	"Build RUBY bindings" off
29
		RUBY_MODULE	"Build RUBY bindings" off \
30
		PERL_MODULE	"Build PERL module" on
30
31
31
.include <bsd.port.pre.mk>
32
.include <bsd.port.pre.mk>
32
.if defined(WITH_PYTHON_MODULE)
33
.if defined(WITH_PYTHON_MODULE)
Lines 49-54 Link Here
49
PLIST_SUB+=	WITH_RUBY="@comment "
50
PLIST_SUB+=	WITH_RUBY="@comment "
50
.endif
51
.endif
51
52
53
.if !defined(WITHOUT_PERL_MODULE)
54
USE_PERL5=	yes
55
CONFIGURE_ARGS+=	--enable-perl --enable-perl-site-install
56
PLIST_SUB+=	WITH_PERL=""
57
.else
58
CONFIGURE_ARGS+=	--disable-perl
59
PLIST_SUB+=	WITH_PERL="@comment "
60
.endif
61
52
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
62
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
53
CPPFLAGS+=	-I${LOCALBASE}/include -I${LOCALBASE}/include/libart-2.0 -I${LOCALBASE}/include/freetype2
63
CPPFLAGS+=	-I${LOCALBASE}/include -I${LOCALBASE}/include/libart-2.0 -I${LOCALBASE}/include/freetype2
54
LDFLAGS+=	-L${LOCALBASE}/lib
64
LDFLAGS+=	-L${LOCALBASE}/lib
Lines 61-68 Link Here
61
		rrdgraph_rpn.1 rrdinfo.1 rrdlast.1 rrdresize.1 rrdrestore.1 \
71
		rrdgraph_rpn.1 rrdinfo.1 rrdlast.1 rrdresize.1 rrdrestore.1 \
62
		rrdthreads.1 rrdtool.1 rrdtune.1 rrdtutorial.1 rrdupdate.1 \
72
		rrdthreads.1 rrdtool.1 rrdtune.1 rrdtutorial.1 rrdupdate.1 \
63
		rrdxport.1 rrdlastupdate.1
73
		rrdxport.1 rrdlastupdate.1
74
75
.if !defined(WITHOUT_PERL_MODULE)
64
MAN3=		RRDp.3 RRDs.3
76
MAN3=		RRDp.3 RRDs.3
65
MAN3PREFIX=	${TARGETDIR}/lib/perl5/${PERL_VERSION}
77
MAN3PREFIX=	${TARGETDIR}/lib/perl5/${PERL_VERSION}
78
.endif
66
79
67
post-extract:
80
post-extract:
68
.if defined(NOPORTDOCS)
81
.if defined(NOPORTDOCS)
(-)/usr/ports/databases/rrdtool/pkg-plist (-9 / +9 lines)
Lines 100-112 Link Here
100
%%PORTDOCS%%%%DOCSDIR%%/txt/rrdxport.pod
100
%%PORTDOCS%%%%DOCSDIR%%/txt/rrdxport.pod
101
%%PORTDOCS%%%%DOCSDIR%%/txt/rrdxport.txt
101
%%PORTDOCS%%%%DOCSDIR%%/txt/rrdxport.txt
102
%%DATADIR%%/fonts/DejaVuSansMono-Roman.ttf
102
%%DATADIR%%/fonts/DejaVuSansMono-Roman.ttf
103
%%SITE_PERL%%/RRDp.pm
103
%%WITH_PERL%%%%SITE_PERL%%/RRDp.pm
104
%%SITE_PERL%%/%%PERL_ARCH%%/auto/RRDp/.packlist
104
%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/RRDp/.packlist
105
%%SITE_PERL%%/%%PERL_ARCH%%/RRDs.pm
105
%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/RRDs.pm
106
%%SITE_PERL%%/%%PERL_ARCH%%/ntmake.pl
106
%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/ntmake.pl
107
%%SITE_PERL%%/%%PERL_ARCH%%/auto/RRDs/RRDs.so
107
%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/RRDs/RRDs.so
108
%%SITE_PERL%%/%%PERL_ARCH%%/auto/RRDs/RRDs.bs
108
%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/RRDs/RRDs.bs
109
%%SITE_PERL%%/%%PERL_ARCH%%/auto/RRDs/.packlist
109
%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/RRDs/.packlist
110
%%WITH_PYTHON%%%%PYTHON_SITELIBDIR%%/rrdtoolmodule.so
110
%%WITH_PYTHON%%%%PYTHON_SITELIBDIR%%/rrdtoolmodule.so
111
%%WITH_RUBY%%%%RUBY_SITEARCHLIBDIR%%/RRD.so
111
%%WITH_RUBY%%%%RUBY_SITEARCHLIBDIR%%/RRD.so
112
@dirrm %%EXAMPLESDIR%%
112
@dirrm %%EXAMPLESDIR%%
Lines 115-119 Link Here
115
%%PORTDOCS%%@dirrm %%DOCSDIR%%
115
%%PORTDOCS%%@dirrm %%DOCSDIR%%
116
@dirrm %%DATADIR%%/fonts
116
@dirrm %%DATADIR%%/fonts
117
@dirrm %%DATADIR%%
117
@dirrm %%DATADIR%%
118
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/RRDp
118
%%WITH_PERL%%@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/RRDp
119
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/RRDs
119
%%WITH_PERL%%@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/RRDs

Return to bug 114419