Changeset View
Changeset View
Standalone View
Standalone View
head/databases/rrdtool/Makefile
# Created by: Dmitry Sivachenko <dima@Chg.RU> | # Created by: Dmitry Sivachenko <dima@Chg.RU> | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= rrdtool | PORTNAME= rrdtool | ||||
PORTVERSION= 1.7.0 | PORTVERSION= 1.7.0 | ||||
PORTREVISION= 1 | PORTREVISION= 2 | ||||
CATEGORIES= databases graphics | CATEGORIES= databases graphics | ||||
MASTER_SITES= http://oss.oetiker.ch/rrdtool/pub/ | MASTER_SITES= http://oss.oetiker.ch/rrdtool/pub/ | ||||
MAINTAINER= zeising@FreeBSD.org | MAINTAINER= zeising@FreeBSD.org | ||||
COMMENT= Round Robin Database Tools | COMMENT= Round Robin Database Tools | ||||
LICENSE= GPLv2 | LICENSE= GPLv2 | ||||
LICENSE_FILE= ${WRKSRC}/LICENSE | LICENSE_FILE= ${WRKSRC}/LICENSE | ||||
CONFLICTS= rrdtool12-* | CONFLICTS= rrdtool12-* | ||||
CONFIGURE_ARGS= --disable-tcl | CONFIGURE_ARGS= --disable-tcl | ||||
CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/freetype2 | CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/freetype2 | ||||
USE_RC_SUBR= rrdcached | USE_RC_SUBR= rrdcached | ||||
USE_LDCONFIG= yes | USE_LDCONFIG= yes | ||||
GNU_CONFIGURE= yes | GNU_CONFIGURE= yes | ||||
USES= gmake groff libtool pathfix pkgconfig shebangfix | USES= gmake libtool pathfix pkgconfig shebangfix | ||||
USE_GNOME= glib20 libxml2 | USE_GNOME= glib20 libxml2 | ||||
INSTALL_TARGET= install-strip | INSTALL_TARGET= install-strip | ||||
PORTEXAMPLES= cgi-demo.cgi | PORTEXAMPLES= cgi-demo.cgi | ||||
OPTIONS_DEFINE= DEJAVU GRAPH MMAP NLS PERL PYTHON \ | OPTIONS_DEFINE= DEJAVU GRAPH MMAP NLS PERL PYTHON \ | ||||
RUBY EXAMPLES DOCS | RUBY EXAMPLES DOCS | ||||
OPTIONS_DEFAULT=DEJAVU GRAPH MMAP PERL | OPTIONS_DEFAULT=DEJAVU GRAPH MMAP PERL | ||||
OPTIONS_SUB= yes | OPTIONS_SUB= yes | ||||
GRAPH_DESC= Enable the rrdtool graph command (needs cairo) | GRAPH_DESC= Enable the rrdtool graph command (needs cairo) | ||||
DEJAVU_DESC= Use DejaVu fonts (requires X11) | DEJAVU_DESC= Use DejaVu fonts (requires X11) | ||||
MMAP_DESC= Use mmap in rrd_update | MMAP_DESC= Use mmap in rrd_update | ||||
PERL_DESC= Build PERL module | PERL_DESC= Build PERL module | ||||
PYTHON_DESC= Build PYTHON bindings | PYTHON_DESC= Build PYTHON bindings | ||||
RUBY_DESC= Build RUBY bindings | RUBY_DESC= Build RUBY bindings | ||||
DEJAVU_RUN_DEPENDS= dejavu>0:x11-fonts/dejavu | DEJAVU_RUN_DEPENDS= dejavu>0:x11-fonts/dejavu | ||||
DOCS_CONFIGURE_ENABLE= docs | |||||
DOCS_USES= groff | |||||
GRAPH_CONFIGURE_OFF= --disable-rrdcgi --disable-rrd_graph | GRAPH_CONFIGURE_OFF= --disable-rrdcgi --disable-rrd_graph | ||||
GRAPH_LIB_DEPENDS= libfreetype.so:print/freetype2 \ | GRAPH_LIB_DEPENDS= libfreetype.so:print/freetype2 \ | ||||
libpng.so:graphics/png | libpng.so:graphics/png | ||||
GRAPH_USE= GNOME=cairo,pango | GRAPH_USE= GNOME=cairo,pango | ||||
GRAPH_USES= gnome | GRAPH_USES= gnome | ||||
MMAP_CONFIGURE_ENABLE= mmap | MMAP_CONFIGURE_ENABLE= mmap | ||||
NLS_CONFIGURE_ENABLE= nls | NLS_CONFIGURE_ENABLE= nls | ||||
NLS_USE= GNOME=intltool | NLS_USE= GNOME=intltool | ||||
Show All 21 Lines | |||||
.endif | .endif | ||||
post-extract: | post-extract: | ||||
@${REINPLACE_CMD} -E 's|(^rrdcached_LDADD = librrd_th.la)|\1 $$\(ALL_LIBS\)|' \ | @${REINPLACE_CMD} -E 's|(^rrdcached_LDADD = librrd_th.la)|\1 $$\(ALL_LIBS\)|' \ | ||||
${WRKSRC}/src/Makefile.in | ${WRKSRC}/src/Makefile.in | ||||
@${REINPLACE_CMD} -E 's|(^rrdtool_LDADD = librrd.la)|\1 $$\(ALL_LIBS\)|' \ | @${REINPLACE_CMD} -E 's|(^rrdtool_LDADD = librrd.la)|\1 $$\(ALL_LIBS\)|' \ | ||||
${WRKSRC}/src/Makefile.in | ${WRKSRC}/src/Makefile.in | ||||
post-extract-DOCS-off: | |||||
@${REINPLACE_CMD} -e '/^SUBDIRS = /s| doc | |' \ | |||||
${WRKSRC}/Makefile.in | |||||
post-extract-EXAMPLES-off: | post-extract-EXAMPLES-off: | ||||
@${REINPLACE_CMD} -e '/^SUBDIRS = /s| examples | |' \ | @${REINPLACE_CMD} -e '/^SUBDIRS = /s| examples | |' \ | ||||
${WRKSRC}/Makefile.in | ${WRKSRC}/Makefile.in | ||||
post-install-EXAMPLES-on: | post-install-EXAMPLES-on: | ||||
.if !defined(BATCH) | .if !defined(BATCH) | ||||
@${ECHO_MSG} "" | @${ECHO_MSG} "" | ||||
Show All 22 Lines |