blob: 3776dd638d8eec15e4e63e0d9683be6c9497af09 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# Created by: Dmitry Sivachenko <dima@Chg.RU>
# $FreeBSD$
PORTNAME= rrdtool
PORTVERSION= 1.0.50
PORTREVISION= 5
CATEGORIES= databases
MASTER_SITES= http://oss.oetiker.ch/rrdtool/pub/rrdtool-1.0.x/
PKGNAMESUFFIX= 10
MAINTAINER= ports@FreeBSD.org
COMMENT= Round Robin Database Tools
LICENSE= GPLv2
MAKE_ENV= PERL=${PERL}
CONFLICTS= rrdtool12-1.* rrdtool-1.*
USES= autoreconf pkgconfig perl5 libtool
USE_PERL5= build run
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-shared --enable-local-zlib
CONFIGURE_ENV= PERL=${PERL} PERL_MAKE_OPTIONS="PREFIX=${PREFIX}"
CFLAGS:= ${CFLAGS:N-ffast-math}
CPPFLAGS+= -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib
INSTALL_TARGET= install-strip
OPTIONS_DEFINE= LATIN2 DOCS EXAMPLES
LATIN2_DESC= ISO-8859-2 fonts support
LATIN2_CONFIGURE_ENABLE= latin2
post-patch:
# fix perl5.18+ pod2x tool
${REINPLACE_CMD} -e 's|IMG<|IMG ... E<|' \
${WRKSRC}/doc/rrdcgi.pod
${REINPLACE_CMD} -e 's|rrdtutorial.es.pod||' \
${WRKSRC}/doc/Makefile.am \
${WRKSRC}/doc/Makefile.in
.include <bsd.port.mk>
|