blob: 42bb924f92d37c774230b7f6ba9f6cb68ef80d6c (
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= sentry-cli
DISTVERSION= 2.18.1
PORTREVISION= 2
CATEGORIES= devel
MAINTAINER= lcook@FreeBSD.org
COMMENT= Command line utility to work with Sentry
WWW= https://docs.sentry.io/cli/
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libcurl.so:ftp/curl \
libgit2.so:devel/libgit2 \
libzstd.so:archivers/zstd
USES= cargo ssl:build
USE_GITHUB= yes
GH_ACCOUNT= getsentry
PLIST_FILES= bin/${PORTNAME}
PORTDOCS= CHANGELOG.md README.md
OPTIONS_DEFINE= DOCS REPORTING
OPTIONS_DEFAULT= REPORTING
REPORTING_DESC= Enable crash reporting
REPORTING_VARS= CARGO_FEATURES+=with_crash_reporting
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>
|