blob: 59211b11d1298dea5b86e52f27a9cce3d9f9df8b (
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
38
39
40
|
PORTNAME= fselect
DISTVERSION= 0.8.4
PORTREVISION= 1
CATEGORIES= sysutils
MAINTAINER= lcook@FreeBSD.org
COMMENT= Find files with SQL-like queries
WWW= https://github.com/jhspetersson/fselect
LICENSE= APACHE20 MIT
LICENSE_COMB= dual
LICENSE_FILE_APACHE20= ${WRKSRC}/LICENSE-APACHE
LICENSE_FILE_MIT= ${WRKSRC}/LICENSE-MIT
LIB_DEPENDS= libzstd.so:archivers/zstd
USES= cargo
USE_GITHUB= yes
GH_ACCOUNT= jhspetersson
PLIST_FILES= bin/${PORTNAME} \
man/man1/${PORTNAME}.1.gz
_DOCS= docs/usage.md README.md
PORTDOCS= ${_DOCS:T}
OPTIONS_DEFINE= DOCS USERS
OPTIONS_DEFAULT= USERS
USERS_DESC= Query with 'user' and 'group' fields
USERS_VARS= CARGO_FEATURES+=users
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
${INSTALL_MAN} ${WRKSRC}/docs/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${_DOCS} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|