blob: d7fd447ef334ead6c6d0f29317c2e8ec09904765 (
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
|
PORTNAME= cargo-generate
DISTVERSIONPREFIX= v
DISTVERSION= 0.19.0
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
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>
|