2013-03-21 18:43:46 +01:00
|
|
|
# Created by: Dmitry Sivachenko <dima@Chg.RU>
|
1999-08-30 16:24:37 +02:00
|
|
|
# $FreeBSD$
|
1999-08-22 10:41:12 +02:00
|
|
|
|
2000-04-09 20:14:07 +02:00
|
|
|
PORTNAME= rrdtool
|
2005-11-23 20:30:34 +01:00
|
|
|
PORTVERSION= 1.0.50
|
2006-02-23 11:40:44 +01:00
|
|
|
PORTREVISION= 1
|
2007-08-11 13:18:54 +02:00
|
|
|
CATEGORIES= databases
|
2007-12-24 12:30:38 +01:00
|
|
|
MASTER_SITES= http://oss.oetiker.ch/rrdtool/pub/rrdtool-1.0.x/
|
1999-08-22 10:41:12 +02:00
|
|
|
|
2005-05-23 21:48:26 +02:00
|
|
|
MAINTAINER= lth@FreeBSD.org
|
2003-02-22 10:13:13 +01:00
|
|
|
COMMENT= Round Robin Database Tools
|
1999-08-22 10:41:12 +02:00
|
|
|
|
2005-05-23 21:48:26 +02:00
|
|
|
MAKE_ENV= PERL=${PERL}
|
|
|
|
|
|
|
|
CONFLICTS= rrdtool-1.2*
|
|
|
|
LATEST_LINK= rrdtool10
|
|
|
|
|
2013-09-16 19:03:42 +02:00
|
|
|
USES= pkgconfig perl5
|
2010-12-04 08:34:27 +01:00
|
|
|
USE_AUTOTOOLS= libtool
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
USE_LDCONFIG= yes
|
2005-05-23 21:48:26 +02:00
|
|
|
CONFIGURE_ARGS= --enable-shared --enable-local-zlib \
|
|
|
|
--program-transform-name=''
|
2005-11-23 20:30:34 +01:00
|
|
|
CONFIGURE_ENV= PERL=${PERL} PERL_MAKE_OPTIONS="PREFIX=${PREFIX}"
|
2005-05-23 21:48:26 +02:00
|
|
|
CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib -fPIC
|
2004-04-06 09:30:51 +02:00
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
2001-03-28 15:22:15 +02:00
|
|
|
CFLAGS:= ${CFLAGS:N-ffast-math}
|
1999-08-22 10:41:12 +02:00
|
|
|
|
2005-05-23 21:48:26 +02:00
|
|
|
MAN1= RRDp.1 RRDs.1 bin_dec_hex.1 rrdcgi.1 rrdcreate.1 rrddump.1 \
|
|
|
|
rrdfetch.1 rrdgraph.1 rrdlast.1 rrdresize.1 rrdrestore.1 \
|
|
|
|
rrdtool.1 rrdtune.1 rrdtutorial.1 rrdtutorial.es.1 rrdupdate.1 \
|
2005-11-23 20:30:34 +01:00
|
|
|
cdeftutorial.1 rpntutorial.1 rrdinfo.1 rrdxport.1 rrd-beginners.1 \
|
|
|
|
rrdfirst.1
|
1999-09-11 02:55:52 +02:00
|
|
|
MAN3= RRDp.3 RRDs.3
|
2013-06-12 19:45:02 +02:00
|
|
|
MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VER}
|
1999-08-22 10:41:12 +02:00
|
|
|
|
2013-03-21 18:43:46 +01:00
|
|
|
OPTIONS_DEFINE= LATIN2
|
|
|
|
LATIN2_DESC= ISO-8859-2 fonts support
|
2005-05-23 21:48:26 +02:00
|
|
|
|
2013-09-20 18:13:47 +02:00
|
|
|
NO_STAGE= yes
|
2013-03-21 18:43:46 +01:00
|
|
|
.include <bsd.port.options.mk>
|
2005-05-23 21:48:26 +02:00
|
|
|
|
2013-03-21 18:43:46 +01:00
|
|
|
.if ${PORT_OPTIONS:MLATIN2}
|
2005-05-23 21:48:26 +02:00
|
|
|
CONFIGURE_ARGS+=--enable-latin2
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if ${ARCH} == "amd64"
|
|
|
|
CONFIGURE_ARGS+=--with-pic
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if ${ARCH} == "ia64"
|
2010-06-13 10:40:06 +02:00
|
|
|
BROKEN= Does not build on ia64
|
2005-05-23 21:48:26 +02:00
|
|
|
.endif
|
|
|
|
|
2005-03-17 10:58:57 +01:00
|
|
|
post-extract:
|
2013-03-31 11:11:36 +02:00
|
|
|
.if ! ${PORT_OPTIONS:MDOCS}
|
2005-03-17 10:58:57 +01:00
|
|
|
@${REINPLACE_CMD} -e 's/install-idocDATA install-ihtmlDATA//g' \
|
|
|
|
${WRKSRC}/doc/Makefile.in
|
2003-10-29 09:56:29 +01:00
|
|
|
.endif
|
|
|
|
|
1999-08-22 10:41:12 +02:00
|
|
|
post-install:
|
|
|
|
.if !defined(BATCH)
|
2003-10-29 09:56:29 +01:00
|
|
|
@${ECHO_MSG} ""
|
|
|
|
@${ECHO_MSG} "############################################################################"
|
|
|
|
@${ECHO_MSG} "# See ${PREFIX}/share/examples/rrdtool for some demonstration code #"
|
|
|
|
@${ECHO_MSG} "############################################################################"
|
1999-08-22 10:41:12 +02:00
|
|
|
.endif
|
|
|
|
|
2013-03-21 18:43:46 +01:00
|
|
|
.include <bsd.port.mk>
|