From owner-svn-ports-head@freebsd.org Tue Jun 20 20:22:18 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1E8D4DA1579; Tue, 20 Jun 2017 20:22:18 +0000 (UTC) (envelope-from joneum@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 mx1.freebsd.org (Postfix) with ESMTPS id ED495722A8; Tue, 20 Jun 2017 20:22:17 +0000 (UTC) (envelope-from joneum@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v5KKMGfP026217; Tue, 20 Jun 2017 20:22:16 GMT (envelope-from joneum@FreeBSD.org) Received: (from joneum@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v5KKMGif026215; Tue, 20 Jun 2017 20:22:16 GMT (envelope-from joneum@FreeBSD.org) Message-Id: <201706202022.v5KKMGif026215@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: joneum set sender to joneum@FreeBSD.org using -f From: Jochen Neumeister Date: Tue, 20 Jun 2017 20:22:16 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r443999 - head/databases/influxdb X-SVN-Group: ports-head 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.23 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: Tue, 20 Jun 2017 20:22:18 -0000 Author: joneum Date: Tue Jun 20 20:22:16 2017 New Revision: 443999 URL: https://svnweb.freebsd.org/changeset/ports/443999 Log: - databases/influxdb: add MANPAGES option PR: 217592 Reported by: xmj Approved by: cheffo at freebsd-bg.org (maintainer) miwi (mentor) Differential Revision: https://reviews.freebsd.org/D11219 Modified: head/databases/influxdb/Makefile head/databases/influxdb/pkg-plist Modified: head/databases/influxdb/Makefile ============================================================================== --- head/databases/influxdb/Makefile Tue Jun 20 20:20:44 2017 (r443998) +++ head/databases/influxdb/Makefile Tue Jun 20 20:22:16 2017 (r443999) @@ -3,6 +3,7 @@ PORTNAME= influxdb PORTVERSION= 1.2.4 DISTVERSIONPREFIX= v +PORTREVISION= 1 CATEGORIES= databases net-mgmt MAINTAINER= cheffo@freebsd-bg.org @@ -12,6 +13,15 @@ LICENSE= MIT BUILD_DEPENDS= go>=1.5.0:lang/go +OPTIONS_DEFINE= MANPAGES +OPTIONS_DEFAULT= MANPAGES + +MANPAGES_BUILD_DEPENDS= xmlto:textproc/xmlto \ + asciidoc:textproc/asciidoc \ + docbook-xml>0:textproc/docbook-xml +MANPAGES_USES= gmake +OPTIONS_SUB= yes + ONLY_FOR_ARCHS= i386 amd64 armv6 USE_RC_SUBR= influxd @@ -83,6 +93,9 @@ do-build: @cd ${WRKSRC}/src/github.com/${GH_ACCOUNT_DEFAULT}/${GH_PROJECT} && \ ${SETENV} GOPATH=${WRKSRC} go install -ldflags "-X main.version=${DISTVERSION}" ./... +do-build-MANPAGES-on: + @cd ${WRKSRC}/src/github.com/influxdata/influxdb/man && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} + do-install: ${MKDIR} ${STAGEDIR}${INFLUXD_DBDIR} \ ${STAGEDIR}${INFLUXD_PIDDIR} \ @@ -97,5 +110,12 @@ do-install: ${INSTALL_DATA} \ ${WRKSRC}/src/github.com/${GH_ACCOUNT_DEFAULT}/${GH_PROJECT}/etc/config.sample.toml \ ${STAGEDIR}${PREFIX}/etc/influxd.conf.sample + +do-install-MANPAGES-on: +.for i in influx.1 influx_inspect.1 influx_stress.1 influx_tsm.1 \ + influxd-backup.1 influxd-config.1 influxd-restore.1 \ + influxd-run.1 influxd-version.1 influxd.1 + ${INSTALL_MAN} ${WRKSRC}/src/github.com/influxdata/influxdb/man/$i ${STAGEDIR}${MAN8PREFIX}/man/man1 +.endfor .include Modified: head/databases/influxdb/pkg-plist ============================================================================== --- head/databases/influxdb/pkg-plist Tue Jun 20 20:20:44 2017 (r443998) +++ head/databases/influxdb/pkg-plist Tue Jun 20 20:22:16 2017 (r443999) @@ -2,7 +2,17 @@ bin/influx bin/influx_inspect bin/influx_tsm bin/influxd +%%MANPAGES%%man/man1/influx.1.gz +%%MANPAGES%%man/man1/influx_inspect.1.gz +%%MANPAGES%%man/man1/influx_stress.1.gz +%%MANPAGES%%man/man1/influx_tsm.1.gz +%%MANPAGES%%man/man1/influxd-backup.1.gz +%%MANPAGES%%man/man1/influxd-config.1.gz +%%MANPAGES%%man/man1/influxd-restore.1.gz +%%MANPAGES%%man/man1/influxd-run.1.gz +%%MANPAGES%%man/man1/influxd-version.1.gz +%%MANPAGES%%man/man1/influxd.1.gz @dir(%%INFLUXD_USER%%,%%INFLUXD_GROUP%%,0750) %%INFLUXD_DBDIR%% @dir(%%INFLUXD_USER%%,%%INFLUXD_GROUP%%,0750) %%INFLUXD_LOGDIR%% @dir(%%INFLUXD_USER%%,%%INFLUXD_GROUP%%,0750) %%INFLUXD_PIDDIR%% -@sample etc/%%INFLUXD_USER%%.conf.sample +@sample etc/influxd.conf.sample