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) |