freebsd-ports/databases/rrdtool/Makefile

57 lines
1.8 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: rrdtool
# Date created: 20 July 1999
# Whom: Dmitry Sivachenko <dima@Chg.RU>
#
1999-08-30 16:24:37 +02:00
# $FreeBSD$
#
PORTNAME= rrdtool
2005-06-17 13:53:35 +02:00
PORTVERSION= 1.2.10
CATEGORIES= net
MASTER_SITES= http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/pub/
MAINTAINER= demon@FreeBSD.org
2003-02-22 10:13:13 +01:00
COMMENT= Round Robin Database Tools
2005-05-08 22:56:09 +02:00
LIB_DEPENDS= cgi.1:${PORTSDIR}/devel/cgilib \
freetype.9:${PORTSDIR}/print/freetype2 \
art_lgpl_2.5:${PORTSDIR}/graphics/libart_lgpl2 \
png.5:${PORTSDIR}/graphics/png
2005-05-08 22:56:09 +02:00
USE_PERL5= yes
USE_LIBTOOL_VER=15
2005-05-08 22:56:09 +02:00
USE_GMAKE= yes
USE_REINPLACE= yes
2005-05-17 10:45:35 +02:00
CONFIGURE_ARGS= --enable-perl-site-install --disable-python
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
2005-05-08 22:56:09 +02:00
CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/libart-2.0 -I${LOCALBASE}/include/freetype2
2004-04-06 09:30:51 +02:00
LDFLAGS+= -L${LOCALBASE}/lib
CFLAGS:= ${CFLAGS:N-ffast-math}
2005-05-08 22:56:09 +02:00
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
INSTALLS_SHLIB= yes
2005-05-08 22:56:09 +02:00
MAN1= bin_dec_hex.1 cdeftutorial.1 rpntutorial.1 rrd-beginners.1 \
rrdbuild.1 rrdcgi.1 rrdcreate.1 rrddump.1 rrdfetch.1 rrdfirst.1 \
rrdgraph.1 rrdgraph_data.1 rrdgraph_examples.1 rrdgraph_graph.1 \
rrdgraph_rpn.1 rrdinfo.1 rrdlast.1 rrdresize.1 rrdrestore.1 \
rrdthreads.1 rrdtool.1 rrdtune.1 rrdtutorial.1 rrdupdate.1 \
rrdxport.1
MAN3= RRDp.3 RRDs.3
MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
post-extract:
.if defined(NOPORTDOCS)
@${REINPLACE_CMD} -e 's/install-idocDATA install-ihtmlDATA//g' \
${WRKSRC}/doc/Makefile.in
.endif
post-install:
.if !defined(BATCH)
@${ECHO_MSG} ""
@${ECHO_MSG} "############################################################################"
@${ECHO_MSG} "# See ${PREFIX}/share/examples/rrdtool for some demonstration code #"
@${ECHO_MSG} "############################################################################"
.endif
2005-05-08 22:56:09 +02:00
.include <bsd.port.mk>