mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-19 00:13:33 +00:00
109c3d4629
PR: 276033
35 lines
748 B
Makefile
35 lines
748 B
Makefile
PORTNAME= rustypaste-cli
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 0.8.0
|
|
PORTREVISION= 3
|
|
CATEGORIES= www
|
|
|
|
MAINTAINER= DtxdF@disroot.org
|
|
COMMENT= CLI tool for rustypaste
|
|
WWW= https://github.com/orhun/rustypaste-cli
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
USES= cargo
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= orhun
|
|
|
|
CARGO_FEATURES= --no-default-features
|
|
|
|
PLIST_DIRS= ${EXAMPLESDIR}
|
|
PLIST_FILES= ${EXAMPLESDIR}/config.toml \
|
|
bin/rpaste
|
|
|
|
OPTIONS_DEFINE= NATIVE_CERTS
|
|
|
|
NATIVE_CERTS_DESC= Support using the OS TLS trust store
|
|
NATIVE_CERTS_VARS= CARGO_FEATURES+=use-native-certs
|
|
|
|
post-install:
|
|
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/config.toml ${STAGEDIR}${EXAMPLESDIR}
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/rpaste
|
|
|
|
.include <bsd.port.mk>
|