[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / net / bbk_cli

File: [cvs.NetBSD.org] / pkgsrc / net / bbk_cli / Makefile (download)

Revision 1.7, Wed Oct 26 10:31:45 2022 UTC (3 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2022Q4-base, pkgsrc-2022Q4, HEAD
Changes since 1.6: +2 -2 lines

*: bump PKGREVISION for libunistring shlib major bump

# $NetBSD: Makefile,v 1.7 2022/10/26 10:31:45 wiz Exp $

GITHUB_PROJECT=	bbk
GITHUB_TAG=	7b810a696c78b746185c11282bdbe3fb7f8c5d4b
DISTNAME=	bbk
PKGNAME=	bbk_cli-1.0
PKGREVISION=	5
CATEGORIES=	net
MASTER_SITES=	${MASTER_SITE_GITHUB:=dotse/}

MAINTAINER=	tnn@NetBSD.org
HOMEPAGE=	http://www.bredbandskollen.se/en/bredbandskollen-cli/
COMMENT=	Bandwidth measurement tool for Nordic ISPs
LICENSE=	gnu-gpl-v2

USE_LANGUAGES=		c++
USE_TOOLS+=		gmake
MAKEFLAGS+=		CXX=${CXX}
BUILD_DIRS=		src/cli

PKG_OPTIONS_VAR=	PKG_OPTIONS.bbk_cli
PKG_SUPPORTED_OPTIONS+=	tls
PKG_SUGGESTED_OPTIONS+=	tls

.include "../../mk/bsd.options.mk"

.if !empty(PKG_OPTIONS:Mtls)
.include "../../security/gnutls/buildlink3.mk"
PKGSRC_MAKE_ENV+=	GNUTLS=1
.endif

INSTALLATION_DIRS+=	bin

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/src/cli/cli ${DESTDIR}${PREFIX}/bin/bbk_cli

.include "../../mk/bsd.pkg.mk"