blob: b8f462316c793efb8c3a2c1bd5745f0d443e9c3a (
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
26
27
28
29
30
31
32
33
34
35
36
37
|
PORTNAME= cargo-generate
DISTVERSIONPREFIX= v
DISTVERSION= 0.18.3
PORTREVISION= 1
CATEGORIES= devel
MAINTAINER= lcook@FreeBSD.org
COMMENT= Quickly generate Rust project templates from existing git repositories
WWW= https://github.com/ashleygwilliams/cargo-generate
LICENSE= APACHE20 MIT
LICENSE_COMB= dual
LICENSE_FILE_APACHE20= ${WRKSRC}/LICENSE-APACHE
LICENSE_FILE_MIT= ${WRKSRC}/LICENSE-MIT
LIB_DEPENDS= libcurl.so:ftp/curl \
libgit2.so:devel/libgit2 \
libssh2.so:security/libssh2
USES= cargo localbase ssl
USE_GITHUB= yes
GH_ACCOUNT= ashleygwilliams
PLIST_FILES= bin/${PORTNAME}
PORTDOCS= CHANGELOG.md CODE_OF_CONDUCT.md CONTRIBUTING.md README.md \
TEMPLATES.md
OPTIONS_DEFINE= DOCS
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|