From owner-svn-ports-head@freebsd.org Mon Mar 19 20:14:39 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 32F3DF6987F; Mon, 19 Mar 2018 20:14:39 +0000 (UTC) (envelope-from zeising@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DAD1582FC8; Mon, 19 Mar 2018 20:14:38 +0000 (UTC) (envelope-from zeising@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id D568913217; Mon, 19 Mar 2018 20:14:38 +0000 (UTC) (envelope-from zeising@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w2JKEcVR003541; Mon, 19 Mar 2018 20:14:38 GMT (envelope-from zeising@FreeBSD.org) Received: (from zeising@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w2JKEcco003540; Mon, 19 Mar 2018 20:14:38 GMT (envelope-from zeising@FreeBSD.org) Message-Id: <201803192014.w2JKEcco003540@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: zeising set sender to zeising@FreeBSD.org using -f From: Niclas Zeising Date: Mon, 19 Mar 2018 20:14:38 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r465027 - head/databases/rrdtool X-SVN-Group: ports-head X-SVN-Commit-Author: zeising X-SVN-Commit-Paths: head/databases/rrdtool X-SVN-Commit-Revision: 465027 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Mar 2018 20:14:39 -0000 Author: zeising Date: Mon Mar 19 20:14:38 2018 New Revision: 465027 URL: https://svnweb.freebsd.org/changeset/ports/465027 Log: databases/rrdtool: Make groff a conditional dependency groff is required by rrdtool to format documentation, which is only required when documentation is being built. Accordingly, make groff conditional on the existing DOCS option. This precludes building a litany of dependencies, mostly due to groff requiring ghostscript. While here, remove unneeded post-patch in the case the DOCS option is switched off. Submitted by: koobs Differential Revision: https://reviews.freebsd.org/D14732 Modified: head/databases/rrdtool/Makefile Modified: head/databases/rrdtool/Makefile ============================================================================== --- head/databases/rrdtool/Makefile Mon Mar 19 20:03:48 2018 (r465026) +++ head/databases/rrdtool/Makefile Mon Mar 19 20:14:38 2018 (r465027) @@ -3,7 +3,7 @@ PORTNAME= rrdtool PORTVERSION= 1.7.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= databases graphics MASTER_SITES= http://oss.oetiker.ch/rrdtool/pub/ @@ -20,7 +20,7 @@ CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/inclu USE_RC_SUBR= rrdcached USE_LDCONFIG= yes GNU_CONFIGURE= yes -USES= gmake groff libtool pathfix pkgconfig shebangfix +USES= gmake libtool pathfix pkgconfig shebangfix USE_GNOME= glib20 libxml2 INSTALL_TARGET= install-strip @@ -38,6 +38,10 @@ PYTHON_DESC= Build PYTHON bindings RUBY_DESC= Build RUBY bindings DEJAVU_RUN_DEPENDS= dejavu>0:x11-fonts/dejavu + +DOCS_CONFIGURE_ENABLE= docs +DOCS_USES= groff + GRAPH_CONFIGURE_OFF= --disable-rrdcgi --disable-rrd_graph GRAPH_LIB_DEPENDS= libfreetype.so:print/freetype2 \ libpng.so:graphics/png @@ -75,10 +79,6 @@ post-extract: @${REINPLACE_CMD} -E 's|(^rrdtool_LDADD = librrd.la)|\1 $$\(ALL_LIBS\)|' \ ${WRKSRC}/src/Makefile.in - -post-extract-DOCS-off: - @${REINPLACE_CMD} -e '/^SUBDIRS = /s| doc | |' \ - ${WRKSRC}/Makefile.in post-extract-EXAMPLES-off: @${REINPLACE_CMD} -e '/^SUBDIRS = /s| examples | |' \