summaryrefslogtreecommitdiff
path: root/chat/matterircd/Makefile
blob: 67555c8b7fabae29910d3523f5c0ab4a160fc1af (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.55 2022/12/08 16:14:20 bsiegert Exp $

DISTNAME=	matterircd-0.19.4
MASTER_SITES=	${MASTER_SITE_GITHUB:=42wim/}
PKGREVISION=	32
CATEGORIES=	chat
GITHUB_TAG=	v${PKGVERSION_NOREV}
EXTRACT_USING=	bsdtar

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	https://github.com/42wim/matterircd
COMMENT=	Minimal IRC server which integrates with Mattermost and Slack
LICENSE=	mit

GO_DIST_BASE=		${PKGNAME_NOREV}
GO_SRCPATH=		github.com/42wim/matterircd
GO_BUILD_PATTERN=	${GO_SRCPATH}

pre-configure:
	${RM} -rf ${WRKSRC}/vendor/github.com/mattermost/platform/vendor/github.com/alecthomas/log4go/examples

do-install:
	${INSTALL_PROGRAM} ${WRKDIR}/bin/matterircd ${DESTDIR}${PREFIX}/bin

.include "../../devel/go-golang-lru/buildlink3.mk"
.include "../../lang/go/go-package.mk"
.include "../../mk/bsd.pkg.mk"