Date: Tue, 20 Jun 2017 20:22:16 +0000 (UTC) From: Jochen Neumeister <joneum@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r443999 - head/databases/influxdb Message-ID: <201706202022.v5KKMGif026215@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <bsd.port.mk> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201706202022.v5KKMGif026215>