freebsd-ports/dns/coredns/Makefile
2022-10-06 14:24:26 -05:00

28 lines
555 B
Makefile

PORTNAME= coredns
DISTVERSIONPREFIX= v
DISTVERSION= 1.10.0
PORTREVISION= 1
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}${MANPREFIX}/man/man${n}
.endfor
.include <bsd.port.mk>