summaryrefslogtreecommitdiff
path: root/dns/coredns/Makefile
blob: b46d33f78daf314d4659b6c358c844a4c83c64a9 (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
PORTNAME=	coredns
DISTVERSIONPREFIX=	v
DISTVERSION=	1.11.2
PORTREVISION=	3
CATEGORIES=	dns

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	DNS server that chains plugins
WWW=		https://coredns.io/

LICENSE=	APACHE20
LICENSE_FILE=	${WRKSRC}/LICENSE

USES=		go:modules

GO_MODULE=	github.com/${PORTNAME}/${PORTNAME}

USE_RC_SUBR=	${PORTNAME}

PORTSCOUT=	limit:^[0-9]*\.[0-9]*\.[0-9]*$$ # otherwise it picks up the deleted tag v011

post-install:
.for n in 1 5 7
	${INSTALL_MAN} ${WRKSRC}/man/*.${n} ${STAGEDIR}${PREFIX}/share/man/man${n}
.endfor

.include <bsd.port.mk>