head	1.31;
access;
symbols
	pkgsrc-2022Q4:1.30.0.2
	pkgsrc-2022Q4-base:1.30
	pkgsrc-2022Q3:1.29.0.4
	pkgsrc-2022Q3-base:1.29
	pkgsrc-2022Q2:1.29.0.2
	pkgsrc-2022Q2-base:1.29
	pkgsrc-2022Q1:1.28.0.4
	pkgsrc-2022Q1-base:1.28
	pkgsrc-2021Q4:1.28.0.2
	pkgsrc-2021Q4-base:1.28
	pkgsrc-2021Q3:1.27.0.4
	pkgsrc-2021Q3-base:1.27
	pkgsrc-2021Q2:1.27.0.2
	pkgsrc-2021Q2-base:1.27
	pkgsrc-2021Q1:1.26.0.4
	pkgsrc-2021Q1-base:1.26
	pkgsrc-2020Q4:1.26.0.2
	pkgsrc-2020Q4-base:1.26
	pkgsrc-2020Q3:1.25.0.2
	pkgsrc-2020Q3-base:1.25
	pkgsrc-2020Q2:1.24.0.2
	pkgsrc-2020Q2-base:1.24
	pkgsrc-2020Q1:1.23.0.2
	pkgsrc-2020Q1-base:1.23
	pkgsrc-2019Q4:1.21.0.4
	pkgsrc-2019Q4-base:1.21
	pkgsrc-2019Q3:1.20.0.8
	pkgsrc-2019Q3-base:1.20
	pkgsrc-2019Q2:1.20.0.6
	pkgsrc-2019Q2-base:1.20
	pkgsrc-2019Q1:1.20.0.4
	pkgsrc-2019Q1-base:1.20
	pkgsrc-2018Q4:1.20.0.2
	pkgsrc-2018Q4-base:1.20
	pkgsrc-2018Q3:1.18.0.2
	pkgsrc-2018Q3-base:1.18
	pkgsrc-2018Q2:1.17.0.2
	pkgsrc-2018Q2-base:1.17
	pkgsrc-2018Q1:1.15.0.2
	pkgsrc-2018Q1-base:1.15
	pkgsrc-2017Q4:1.14.0.8
	pkgsrc-2017Q4-base:1.14
	pkgsrc-2017Q3:1.14.0.6
	pkgsrc-2017Q3-base:1.14
	pkgsrc-2017Q2:1.14.0.2
	pkgsrc-2017Q2-base:1.14
	pkgsrc-2017Q1:1.13.0.2
	pkgsrc-2017Q1-base:1.13
	pkgsrc-2016Q4:1.10.0.2
	pkgsrc-2016Q4-base:1.10
	pkgsrc-2016Q3:1.8.0.2
	pkgsrc-2016Q3-base:1.8
	pkgsrc-2016Q2:1.6.0.4
	pkgsrc-2016Q2-base:1.6
	pkgsrc-2016Q1:1.6.0.2
	pkgsrc-2016Q1-base:1.6;
locks; strict;
comment	@# @;


1.31
date	2023.01.19.11.01.54;	author wiz;	state dead;
branches;
next	1.30;
commitid	Rju46fxTYf7DQ8aE;

1.30
date	2022.11.23.16.21.05;	author adam;	state Exp;
branches;
next	1.29;
commitid	ju2K3LUYlTJKqQ2E;

1.29
date	2022.04.18.19.12.04;	author adam;	state Exp;
branches;
next	1.28;
commitid	eC9Na3jrfOOUpIAD;

1.28
date	2021.12.08.16.06.28;	author adam;	state Exp;
branches;
next	1.27;
commitid	2PyWjHx5T8rqARjD;

1.27
date	2021.04.21.11.42.40;	author adam;	state Exp;
branches;
next	1.26;
commitid	fph0Axs0eT3az9QC;

1.26
date	2020.11.05.09.09.07;	author ryoon;	state Exp;
branches;
next	1.25;
commitid	VqGaBtHnBBcd5GuC;

1.25
date	2020.08.17.20.20.04;	author leot;	state Exp;
branches;
next	1.24;
commitid	ybGS4iX9Fz8imskC;

1.24
date	2020.06.02.08.24.44;	author adam;	state Exp;
branches;
next	1.23;
commitid	nisovMpvvZm3RCaC;

1.23
date	2020.03.10.22.10.57;	author wiz;	state Exp;
branches;
next	1.22;
commitid	UV3Ncm9kwd8O7UZB;

1.22
date	2020.03.08.16.51.16;	author wiz;	state Exp;
branches;
next	1.21;
commitid	rcNYzTQo8icypCZB;

1.21
date	2019.11.04.17.47.31;	author rillig;	state Exp;
branches;
next	1.20;
commitid	VqSC7jgPvu9zKyJB;

1.20
date	2018.11.14.22.22.23;	author kleink;	state Exp;
branches;
next	1.19;
commitid	GUhtnbJ6vT0uGXZA;

1.19
date	2018.11.12.03.52.53;	author ryoon;	state Exp;
branches;
next	1.18;
commitid	9EFLHvDNIp1OBBZA;

1.18
date	2018.09.22.20.44.34;	author bsiegert;	state Exp;
branches;
next	1.17;
commitid	qkEGqN1O3IObR8TA;

1.17
date	2018.06.12.17.50.27;	author bsiegert;	state Exp;
branches;
next	1.16;
commitid	ommCTsKMmo2Ca1GA;

1.16
date	2018.04.16.14.35.10;	author wiz;	state Exp;
branches;
next	1.15;
commitid	kzqGMVblMLsRUFyA;

1.15
date	2018.03.12.11.17.32;	author wiz;	state Exp;
branches;
next	1.14;
commitid	Mv60lx3Uo1UqW9uA;

1.14
date	2017.04.13.15.12.06;	author bsiegert;	state Exp;
branches;
next	1.13;
commitid	gOGGYrWelc6pXnNz;

1.13
date	2017.02.14.21.24.04;	author joerg;	state Exp;
branches;
next	1.12;
commitid	1qK5Dq6DmcyCSXFz;

1.12
date	2017.02.12.06.25.59;	author ryoon;	state Exp;
branches;
next	1.11;
commitid	k6LcxswBlcMUXCFz;

1.11
date	2017.02.06.13.55.56;	author wiz;	state Exp;
branches;
next	1.10;
commitid	gPJ49nTI4WujETEz;

1.10
date	2016.12.04.16.30.01;	author bsiegert;	state Exp;
branches;
next	1.9;
commitid	5hmsZZpEACcSyGwz;

1.9
date	2016.10.29.08.59.49;	author bsiegert;	state Exp;
branches;
next	1.8;
commitid	V12NNuKEgntve1sz;

1.8
date	2016.09.10.19.47.21;	author bsiegert;	state Exp;
branches;
next	1.7;
commitid	MSuNDeSEePo8oMlz;

1.7
date	2016.08.20.09.21.46;	author bsiegert;	state Exp;
branches;
next	1.6;
commitid	1BWw0AR7vFEvB1jz;

1.6
date	2016.03.14.12.55.40;	author imil;	state Exp;
branches;
next	1.5;
commitid	3saDkfZEM6dUTBYy;

1.5
date	2016.03.09.12.50.29;	author imil;	state Exp;
branches;
next	1.4;
commitid	8gwbW84KKe2v1YXy;

1.4
date	2016.03.09.12.09.29;	author imil;	state Exp;
branches;
next	1.3;
commitid	G63FmroTPiBHNXXy;

1.3
date	2016.03.08.20.21.50;	author imil;	state Exp;
branches;
next	1.2;
commitid	3dKe74J6WJ4SySXy;

1.2
date	2016.03.08.19.09.56;	author imil;	state Exp;
branches;
next	1.1;
commitid	sCYGlQ7L20uV9SXy;

1.1
date	2016.03.08.16.52.44;	author imil;	state Exp;
branches;
next	;
commitid	s35hyqiQ4PDVoRXy;


desc
@@


1.31
log
@facette: remove, BROKEN since 2017
@
text
@# $NetBSD: Makefile,v 1.30 2022/11/23 16:21:05 adam Exp $

DISTNAME=	facette-0.4.0dev
PKGREVISION=	27
CATEGORIES=	sysutils
MASTER_SITES=	${MASTER_SITE_GITHUB:=facette/}

MAINTAINER=	imil@@NetBSD.org
HOMEPAGE=	https://facette.io/
COMMENT=	Time series data visualization and graphing
LICENSE=	modified-bsd

GITHUB_PROJECT=	facette
GITHUB_TAG=	d77e77680d52d232305d0f12af6e3e1c857903cb

EXTRACT_USING=	bsdtar

BROKEN=		"Tries to install uglify-js during build."

.include "../../lang/go/version.mk"

USE_TOOLS+=	bsdtar gmake gsed pax pkg-config
BUILD_DEPENDS+=	${GO_PACKAGE_DEP}
BUILD_DEPENDS+=	nodejs-[0-9]*:../../lang/nodejs

BUILD_DEFS+=		VARBASE

SUBST_CLASSES+=		prefix
SUBST_MESSAGE.prefix=	Fixing prefix.
SUBST_STAGE.prefix=	pre-build
SUBST_FILES.prefix=	Makefile docs/examples/facette.json
SUBST_SED.prefix=	-e 's,/usr/local,${PREFIX},g'

SUBST_CLASSES+=		conf
SUBST_MESSAGE.conf=	Fixing configuration path.
SUBST_STAGE.conf=	pre-build
SUBST_FILES.conf=	cmd/facette/facette.go	\
			cmd/facettectl/facettectl.go	\
			docs/examples/facette.json	\
			docs/man/facette.1.md		\
			docs/man/facettectl.8.md	\
			pkg/config/config.go
SUBST_SED.conf=		-e 's,/etc,${PKG_SYSCONFDIR},g'

SUBST_CLASSES+=		rrd
SUBST_MESSAGE.rrd=	Fixing collectd rrd path.
SUBST_STAGE.rrd=	pre-build
SUBST_FILES.rrd=	docs/examples/providers/collectd.json
SUBST_SED.rrd=		-e 's,/var/lib,${VARBASE}/db,g'

CHECK_PORTABILITY_SKIP=	vendor/src/github.com/influxdb/influxdb/configure

.include "../../mk/bsd.prefs.mk"

FACETTE_USER?=		facette
FACETTE_GROUP?=		facette

RCD_SCRIPTS+=		facette
RCD_SCRIPT_SRC.facette=	${FILESDIR}/facette.sh

FACETTE_DOCDIR=		${PREFIX}/share/doc/facette
FACETTE_HTDOCS=		${PREFIX}/share/facette
FACETTE_DATADIR=	${VARBASE}/lib/facette
FACETTE_LOGDIR=		${VARBASE}/log/facette
EGDIR=			${PREFIX}/share/examples/facette

INSTALLATION_DIRS+=	bin ${EGDIR} ${FACETTE_DOCDIR}
INSTALLATION_DIRS+=	${FACETTE_HTDOCS}/template ${FACETTE_HTDOCS}/static

OWN_DIRS+=		${PKG_SYSCONFDIR}/facette
OWN_DIRS+=		${PKG_SYSCONFDIR}/facette/providers
OWN_DIRS+=		${VARBASE}/run/facette
OWN_DIRS+=		${FACETTE_DATADIR} ${FACETTE_LOGDIR}

OWN_DIRS_PERMS+=	${VARBASE}/run/facette			\
				${FACETTE_USER} ${FACETTE_GROUP} 0755
OWN_DIRS_PERMS+=	${FACETTE_DATADIR}			\
				${FACETTE_USER} ${FACETTE_GROUP} 0755
OWN_DIRS_PERMS+=	${FACETTE_LOGDIR}			\
				${FACETTE_USER} ${FACETTE_GROUP} 0755

PKG_GROUPS+=			${FACETTE_GROUP}
PKG_USERS+=			${FACETTE_USER}:${FACETTE_GROUP}
PKG_GECOS.${FACETTE_USER}=	Facette daemon user
PKG_HOME.${FACETTE_USER}=	${FACETTE_DATADIR}

FILES_SUBST+=		FACETTE_USER=${FACETTE_USER}
FILES_SUBST+=		FACETTE_GROUP=${FACETTE_GROUP}
FILES_SUBST+=		FACETTE_LOGDIR=${FACETTE_LOGDIR}

CONF_FILES+=		${EGDIR}/facette.json			\
			${PKG_SYSCONFDIR}/facette/facette.json
CONF_FILES+=		${EGDIR}/providers/collectd.json	\
			${PKG_SYSCONFDIR}/facette/providers/collectd.json

CGO_LDFLAGS=		-L${PREFIX}/lib ${COMPILER_RPATH_FLAG},${PREFIX}/lib

do-build:
	cd ${WRKSRC} && CGO_LDFLAGS=${CGO_LDFLAGS:Q} ${GMAKE} build

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/build/*/bin/facette	\
		${DESTDIR}${PREFIX}/bin/
	${INSTALL_PROGRAM} ${WRKSRC}/build/*/bin/facettectl	\
		${DESTDIR}${PREFIX}/bin/
	cd ${WRKSRC}/docs/man && ${PAX} -rw * ${DESTDIR}${FACETTE_DOCDIR}
	cd ${WRKSRC}/docs/examples && ${PAX} -rw * ${DESTDIR}${EGDIR}
	cd ${WRKSRC}/build/*/template &&	\
		${PAX} -rw * ${DESTDIR}${FACETTE_HTDOCS}/template
	cd ${WRKSRC}/build/*/static &&		\
		${PAX} -rw * ${DESTDIR}${FACETTE_HTDOCS}/static


.include "../../databases/rrdtool/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
@


1.30
log
@massive revision bump after textproc/icu update
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.29 2022/04/18 19:12:04 adam Exp $
@


1.29
log
@revbump for textproc/icu update
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.28 2021/12/08 16:06:28 adam Exp $
d4 1
a4 1
PKGREVISION=	26
@


1.28
log
@revbump for icu and libffi
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.27 2021/04/21 11:42:40 adam Exp $
d4 1
a4 1
PKGREVISION=	25
@


1.27
log
@revbump for textproc/icu
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.26 2020/11/05 09:09:07 ryoon Exp $
d4 1
a4 1
PKGREVISION=	24
@


1.26
log
@*: Recursive revbump from textproc/icu-68.1
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.25 2020/08/17 20:20:04 leot Exp $
d4 1
a4 1
PKGREVISION=	23
@


1.25
log
@*: revbump after fontconfig bl3 changes (libuuid removal)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.24 2020/06/02 08:24:44 adam Exp $
d4 1
a4 1
PKGREVISION=	22
@


1.24
log
@Revbump for icu
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.23 2020/03/10 22:10:57 wiz Exp $
d4 1
a4 1
PKGREVISION=	21
@


1.23
log
@librsvg: update bl3.mk to remove libcroco in rust case

recursive bump for the dependency change
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.22 2020/03/08 16:51:16 wiz Exp $
d4 1
a4 1
PKGREVISION=	20
@


1.22
log
@*: recursive bump for libffi
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.21 2019/11/04 17:47:31 rillig Exp $
d4 1
a4 1
PKGREVISION=	19
@


1.21
log
@mk: make BROKEN a list of lines, like PKG_FAIL_REASON

Packages defined the variable BROKEN inconsistently. Some added quotes,
like they are required in PKG_FAIL_REASON, some omitted them.

Now all packages behave the same, and pkglint will flag future mistakes.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.20 2018/11/14 22:22:23 kleink Exp $
d4 1
a4 1
PKGREVISION=	18
@


1.20
log
@Revbump after cairo 1.16.0 update.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.19 2018/11/12 03:52:53 ryoon Exp $
d18 1
a18 1
BROKEN=		Tries to install uglify-js during build.
@


1.19
log
@Recursive revbump from hardbuzz-2.1.1
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.18 2018/09/22 20:44:34 bsiegert Exp $
d4 1
a4 1
PKGREVISION=	17
@


1.18
log
@Use correct versioned Go dependency.

Build not tested because the package is marked BROKEN.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.17 2018/06/12 17:50:27 bsiegert Exp $
d4 1
a4 1
PKGREVISION=	16
@


1.17
log
@Revbump all Go packages after lang/go update.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.16 2018/04/16 14:35:10 wiz Exp $
d20 2
d23 1
a23 1
BUILD_DEPENDS+=	go-[0-9]*:../../lang/go
@


1.16
log
@Recursive bump for new fribidi dependency in pango.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.15 2018/03/12 11:17:32 wiz Exp $
d4 1
a4 1
PKGREVISION=	15
@


1.15
log
@Recursive bumps for fontconfig and libzip dependency changes.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.14 2017/04/13 15:12:06 bsiegert Exp $
d4 1
a4 1
PKGREVISION=	14
@


1.14
log
@Revbump all Go packages after the Go 1.8.1 update.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.13 2017/02/14 21:24:04 joerg Exp $
d4 1
a4 1
PKGREVISION=	13
@


1.13
log
@Fix Go invocation. Mark as BROKEN because it tries to fetch things from
the net during build.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.12 2017/02/12 06:25:59 ryoon Exp $
d4 1
a4 1
PKGREVISION=	12
@


1.12
log
@Recursive revbump from fonts/harfbuzz
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 2017/02/06 13:55:56 wiz Exp $
d18 2
@


1.11
log
@Recursive bump for harfbuzz's new graphite2 dependency.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2016/12/04 16:30:01 bsiegert Exp $
d4 1
a4 1
PKGREVISION=	11
@


1.10
log
@Revbump Go packages after 1.7.4 update.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2016/10/29 08:59:49 bsiegert Exp $
d4 1
a4 1
PKGREVISION=	10
@


1.9
log
@Revbump packages depending on Go after the Go 1.7.3 update.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2016/09/10 19:47:21 bsiegert Exp $
d4 1
a4 1
PKGREVISION=	9
@


1.8
log
@Revbump all Go packages after the Go 1.7.1 update.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2016/08/20 09:21:46 bsiegert Exp $
d4 1
a4 1
PKGREVISION=	8
@


1.7
log
@Revbump packages using Go for Go 1.7 release.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2016/03/14 12:55:40 imil Exp $
d4 1
a4 1
PKGREVISION=	7
@


1.6
log
@disable portability check for unused configure script
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2016/03/09 12:50:29 imil Exp $
d4 1
a4 1
PKGREVISION=	6
@


1.5
log
@Make pkglint(1) happy

. added BUILD_DEFS
. included bsd.prefs.mk
. moved COMMENTS up
. modified ${CGO_LDFLAGS} to ${CGO_LDFLAGS:Q}

Thanks Youri ;)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2016/03/09 12:09:29 imil Exp $
d4 1
a4 1
PKGREVISION=	5
d47 2
@


1.4
log
@. Added rc.d script
. Handle needed directories
. Working-by-default configuration
. More path fixing in templates
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2016/03/08 20:21:50 imil Exp $
d4 1
a4 1
PKGREVISION=	4
a6 2
GITHUB_PROJECT=	facette
GITHUB_TAG=	d77e77680d52d232305d0f12af6e3e1c857903cb
d13 3
d22 2
d47 2
d93 1
a93 1
	cd ${WRKSRC} && CGO_LDFLAGS="${CGO_LDFLAGS}" ${GMAKE} build
@


1.3
log
@Fixed template location
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2016/03/08 19:09:56 imil Exp $
d4 1
a4 1
PKGREVISION=	2
d21 37
a57 5
SUBST_CLASSES+=		paths
SUBST_MESSAGE.paths=	Fixing hardcoded paths.
SUBST_STAGE.paths=	pre-build
SUBST_FILES.paths=	Makefile
SUBST_SED.paths=	-e 's,/usr/local,${PREFIX}/,g'
d59 25
a83 5
DOCDIR=			${PREFIX}/share/doc/facette
EGDIR=			${PREFIX}/share/examples/facette
DATADIR=		${PREFIX}/share/facette
INSTALLATION_DIRS+=	bin ${EGDIR} ${DOCDIR}
INSTALLATION_DIRS+=	${DATADIR}/template ${DATADIR}/static
d95 1
a95 1
	cd ${WRKSRC}/docs/man && ${PAX} -rw * ${DESTDIR}${DOCDIR}
d98 1
a98 1
		${PAX} -rw * ${DESTDIR}${DATADIR}/template
d100 1
a100 1
		${PAX} -rw * ${DESTDIR}${DATADIR}/static
@


1.2
log
@Fixed build on NetBSD 7:
Explicit build target and linking
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2016/03/08 16:52:44 imil Exp $
d4 1
a4 1
PKGREVISION=	1
d30 2
a31 1
INSTALLATION_DIRS+=	bin ${EGDIR} ${DOCDIR} ${DATADIR}/static
d45 4
a48 2
	cd ${WRKSRC}/build/*/template && ${PAX} -rw * ${DESTDIR}${DATADIR}
	cd ${WRKSRC}/build/*/static && ${PAX} -rw * ${DESTDIR}${DATADIR}/static
@


1.1
log
@Initial import of facette, version 0.4.0dev, into the NetBSD Packages
Collection.

Facette is a time series data (called metrics) visualization software, it
doesn't collect nor store these data on its own. Through providers, it
inventories other collect/storage tools' local metrics, and queries those
remote storage resources when the user requests time series data to be
displayed on a graph.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2016/02/21 15:19:59 wiedi Exp $
d4 1
a26 2
MAKE_ENV+=		CGO_LDFLAGS="-L${PREFIX}/lib -Wl,-rpath,${PREFIX}/lib"

d32 5
@

