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