summaryrefslogtreecommitdiff
path: root/textproc/mdbook-linkcheck/Makefile
blob: d3cbf5fb2ce40ef1afa7792e8310c9baf3e3552e (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=	2
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>