2021-03-19 18:36:46 +01:00
|
|
|
# $NetBSD: Makefile,v 1.27 2021/03/19 17:37:06 bsiegert Exp $
|
2018-10-01 00:33:02 +02:00
|
|
|
|
2020-03-30 10:05:14 +02:00
|
|
|
DISTNAME= v${VERSION}
|
|
|
|
PKGNAME= ${GITHUB_PROJECT}-${DISTNAME:S,^v,,}
|
2021-03-19 18:36:46 +01:00
|
|
|
PKGREVISION= 10
|
2020-03-30 10:05:14 +02:00
|
|
|
VERSION= 2.0.1
|
|
|
|
GITHUB_PROJECT= vultr
|
|
|
|
GITHUB_TAG= ${DISTNAME}
|
2018-10-01 00:33:02 +02:00
|
|
|
CATEGORIES= sysutils
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=JamesClonk/}
|
2020-03-30 10:05:14 +02:00
|
|
|
DIST_SUBDIR= ${GITHUB_PROJECT}
|
2018-10-01 00:33:02 +02:00
|
|
|
|
2020-08-25 15:47:30 +02:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2018-10-01 00:33:02 +02:00
|
|
|
HOMEPAGE= https://jamesclonk.github.io/vultr/
|
|
|
|
COMMENT= CLI and API client library for Vultr
|
|
|
|
LICENSE= mit
|
|
|
|
|
2020-03-30 10:05:14 +02:00
|
|
|
GO_DIST_BASE= ${PKGNAME_NOREV}
|
2018-10-01 00:33:02 +02:00
|
|
|
GO_SRCPATH= github.com/JamesClonk/vultr
|
|
|
|
|
|
|
|
INSTALLATION_DIRS+= bin
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKDIR}/bin/vultr ${DESTDIR}${PREFIX}/bin
|
|
|
|
|
|
|
|
.include "../../lang/go/go-package.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|