summaryrefslogtreecommitdiff
path: root/textproc/mdbook/Makefile
blob: 4fa1d66b494d48623848503ce167516f1523e474 (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
PORTNAME=	mdbook
DISTVERSIONPREFIX=	v
DISTVERSION=	0.4.35
CATEGORIES=	textproc

MAINTAINER=	eduardo@FreeBSD.org
COMMENT=	Create book from Markdown files (like GitBook but implemented in Rust)
WWW=		https://rust-lang.github.io/mdBook/

LICENSE=	MPL20
LICENSE_FILE=	${WRKSRC}/LICENSE

USES=		cargo cpe
CPE_VENDOR=	rust-lang
USE_GITHUB=	yes
GH_ACCOUNT=	rust-lang
GH_PROJECT=	mdBook

PLIST_FILES=	bin/mdbook

post-install:
	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/mdbook

.include <bsd.port.mk>