27 lines
711 B
Makefile
27 lines
711 B
Makefile
# $NetBSD: Makefile,v 1.33 2021/10/08 18:55:09 bsiegert Exp $
|
|
|
|
DISTNAME= v${VERSION}
|
|
PKGNAME= ${GITHUB_PROJECT}-${DISTNAME:S,^v,,}
|
|
PKGREVISION= 16
|
|
VERSION= 2.0.1
|
|
GITHUB_PROJECT= vultr
|
|
GITHUB_TAG= ${DISTNAME}
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=JamesClonk/}
|
|
DIST_SUBDIR= ${GITHUB_PROJECT}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://jamesclonk.github.io/vultr/
|
|
COMMENT= CLI and API client library for Vultr
|
|
LICENSE= mit
|
|
|
|
GO_DIST_BASE= ${PKGNAME_NOREV}
|
|
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"
|