4e449e031e
Changes: https://github.com/rust-lang/rust/releases/tag/1.48.0 Reviewed by: jbeich Tested by: bdragon, jbeich, mikael Differential Revision: https://reviews.freebsd.org/D27293
74 lines
1.5 KiB
Makefile
74 lines
1.5 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= kibi
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 0.2.1
|
|
PORTREVISION= 2
|
|
CATEGORIES= editors
|
|
|
|
MAINTAINER= vulcan@wired.sh
|
|
COMMENT= Tiny text editor written in Rust
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/COPYRIGHT
|
|
|
|
USES= cargo
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= ilai-deutel
|
|
|
|
CARGO_CRATES= bitflags-1.2.1 \
|
|
cfg-if-0.1.10 \
|
|
cloudabi-0.0.3 \
|
|
getrandom-0.1.14 \
|
|
lazy_static-1.4.0 \
|
|
libc-0.2.79 \
|
|
lock_api-0.3.4 \
|
|
parking_lot-0.10.2 \
|
|
parking_lot_core-0.7.2 \
|
|
ppv-lite86-0.2.6 \
|
|
proc-macro2-1.0.12 \
|
|
quote-1.0.4 \
|
|
rand-0.7.3 \
|
|
rand_chacha-0.2.2 \
|
|
rand_core-0.5.1 \
|
|
rand_hc-0.2.0 \
|
|
redox_syscall-0.1.56 \
|
|
remove_dir_all-0.5.2 \
|
|
scopeguard-1.1.0 \
|
|
serial_test-0.5.0 \
|
|
serial_test_derive-0.5.0 \
|
|
smallvec-1.4.0 \
|
|
syn-1.0.18 \
|
|
tempfile-3.1.0 \
|
|
unicode-width-0.1.8 \
|
|
unicode-xid-0.2.0 \
|
|
wasi-0.9.0+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
|
|
|
|
PORTDOCS= CHANGELOG.md README.md
|
|
|
|
OPTIONS_DEFINE= DOCS SYNTAX
|
|
OPTIONS_DEFAULT= SYNTAX
|
|
OPTIONS_SUB= yes
|
|
|
|
SYNTAX_DESC= Install Syntax-highlighting ini files
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/src/unix.rs
|
|
|
|
post-install:
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
|
|
|
|
post-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
|
|
|
post-install-SYNTAX-on:
|
|
@${MKDIR} ${STAGEDIR}${DATADIR}
|
|
cd ${WRKSRC} && ${COPYTREE_SHARE} syntax.d ${STAGEDIR}${DATADIR}
|
|
|
|
.include <bsd.port.mk>
|