aboutsummaryrefslogtreecommitdiff
path: root/games/rpg-cli/Makefile
blob: f70d74dc1bc4cb59b0ac83a4ee975d5d35e2b60e (plain) (blame)
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
PORTNAME=	rpg-cli
DISTVERSION=	0.5.0
CATEGORIES=	games

MAINTAINER=	lcook@FreeBSD.org
COMMENT=	Your filesystem as a dungeon

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE

USES=		cargo
USE_GITHUB=	yes
GH_ACCOUNT=	facundoolano

CARGO_CRATES=	atty-0.2.14 \
		autocfg-1.0.1 \
		bincode-1.3.3 \
		bitflags-1.2.1 \
		cfg-if-1.0.0 \
		clap-3.0.0-beta.2 \
		clap_derive-3.0.0-beta.2 \
		colored-2.0.0 \
		ctor-0.1.20 \
		dirs-3.0.2 \
		dirs-sys-0.3.6 \
		dunce-1.0.2 \
		erased-serde-0.3.15 \
		getrandom-0.2.3 \
		ghost-0.1.2 \
		hashbrown-0.9.1 \
		heck-0.3.3 \
		hermit-abi-0.1.18 \
		indexmap-1.6.2 \
		inventory-0.1.10 \
		inventory-impl-0.1.10 \
		itoa-0.4.7 \
		lazy_static-1.4.0 \
		libc-0.2.97 \
		once_cell-1.8.0 \
		os_str_bytes-2.4.0 \
		ppv-lite86-0.2.10 \
		proc-macro-error-1.0.4 \
		proc-macro-error-attr-1.0.4 \
		proc-macro2-1.0.27 \
		quote-1.0.9 \
		rand-0.8.3 \
		rand_chacha-0.3.1 \
		rand_core-0.6.2 \
		rand_hc-0.3.0 \
		redox_syscall-0.2.8 \
		redox_users-0.4.0 \
		ryu-1.0.5 \
		serde-1.0.126 \
		serde_derive-1.0.126 \
		serde_json-1.0.64 \
		strsim-0.10.0 \
		syn-1.0.73 \
		termcolor-1.1.2 \
		textwrap-0.12.1 \
		typetag-0.1.7 \
		typetag-impl-0.1.7 \
		unicode-segmentation-1.7.1 \
		unicode-width-0.1.8 \
		unicode-xid-0.2.2 \
		vec_map-0.8.2 \
		version_check-0.9.3 \
		wasi-0.10.2+wasi-snapshot-preview1 \
		winapi-0.3.9 \
		winapi-i686-pc-windows-gnu-0.4.0 \
		winapi-util-0.1.5 \
		winapi-x86_64-pc-windows-gnu-0.4.0

PLIST_FILES=	bin/${PORTNAME}
PORTDOCS=	README.md

OPTIONS_DEFINE=	DOCS

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

post-install-DOCS-on:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} \
		${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>