head	1.2;
access;
symbols;
locks; strict;
comment	@# @;


1.2
date	2026.04.08.16.10.20;	author sborrill;	state Exp;
branches;
next	1.1;
commitid	Gi0noM7UZguuMaBG;

1.1
date	2026.04.08.13.37.32;	author sborrill;	state Exp;
branches;
next	;
commitid	MflMZKQzfkVbW9BG;


desc
@@


1.2
log
@vnstati: Bump PKGREVISION and improve build

Don't need gmake any longer.
Its own Makefile now installs correctly, so don't roll our own.
Remove incorrect path to check for a config file.
Add blank line at top of DESCR fragment to improve final output.
@
text
@# $NetBSD: Makefile,v 1.1 2026/04/08 13:37:32 sborrill Exp $
# Version is in Makefile.common shared with net/vnstati
# PKGREVISION should be bumped here

PKGREVISION=	1

PKGNAME=	${DISTNAME:S/-/i-/}

PATCHDIR=	../../net/vnstat/patches
PKGDIR=		../../net/vnstat
PLIST_SRC=	PLIST
DESCR_SRC=	../../net/vnstat/DESCR DESCR

CONFLICTS+=		vnstat<2.13
INSTALLATION_DIRS=	bin ${PKGMANDIR}/man1

DEPENDS+=	vnstat>=2.13:../../net/vnstat
BUILD_TARGET=	vnstati

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/vnstati			\
	    ${DESTDIR}${PREFIX}/bin/vnstati;			\
	${INSTALL_MAN} ${WRKSRC}/man/vnstati.1 			\
	    ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/vnstati.1

.include "../../net/vnstat/Makefile.common"
.include "../../graphics/gd/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
@


1.1
log
@vnstati: add 2.13 split out from vnstat package

vnstati, the tool to output images, was previously an option enabled by
default. It requires gd which is rather large (from a dependency point
of view) for a CLI-only system. Therefore, split vnstati into a separate
package allowing the main vnstat package to have no dependencies.
Thanks to kim@@ for the idea.
@
text
@d1 5
a5 1
# $NetBSD: Makefile,v 1.30 2025/10/23 20:38:56 wiz Exp $
d18 1
@

