summaryrefslogtreecommitdiff
path: root/textproc/mdbook-linkcheck/Makefile
blob: 9526f0c149544032b9abb35ff1fe3c23288f143a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
PORTNAME=	mdbook-linkcheck
DISTVERSIONPREFIX=	v
DISTVERSION=	0.7.7
PORTREVISION=	5
CATEGORIES=	textproc

MAINTAINER=	jbeich@FreeBSD.org
COMMENT=	mdBook backend to check links
WWW=		https://github.com/Michael-F-Bryan/mdbook-linkcheck

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE

USES=		cargo ssl
USE_GITHUB=	yes
GH_ACCOUNT=	Michael-F-Bryan
PLIST_FILES=	bin/${PORTNAME}

post-patch:
	@${REINPLACE_CMD} -e '/native-tls/s/-vendored//' \
		${WRKSRC}/Cargo.toml

.include <bsd.port.mk>