blob: 58c164923b3ab254c09fd832657ae822d78434d3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# $NetBSD: Makefile,v 1.14 2020/02/02 14:19:14 bsiegert Exp $
DISTNAME= webhooks-3.12.0
PKGNAME= go-${DISTNAME}
PKGREVISION= 13
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_GITHUB:=go-playground/}
GITHUB_PROJECT= ${PKGBASE:S/^go-//}
GITHUB_TAG= v${PKGVERSION_NOREV}
MAINTAINER= minskim@NetBSD.org
HOMEPAGE= https://github.com/go-playground/webhooks
COMMENT= Webhook receiver for GitHub, Bitbucket, and GitLab
LICENSE= mit
SUBST_CLASSES+= import
SUBST_STAGE.import= pre-configure
SUBST_MESSAGE.import= Fixing import paths for go-gogs-client.
SUBST_FILES.import= gogs/gogs.go
SUBST_SED.import= -e 's,/gogits/,/gogs/,g'
GO_DIST_BASE= ${GITHUB_PROJECT}-${PKGVERSION_NOREV}
GO_SRCPATH= gopkg.in/go-playground/webhooks.v3
.include "../../www/go-gogs-client/buildlink3.mk"
.include "../../lang/go/go-package.mk"
.include "../../mk/bsd.pkg.mk"
|