PORTNAME= fselect DISTVERSION= 0.8.6 PORTREVISION= 5 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} \ share/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 .include .if ${ARCH} == powerpc LIB_DEPENDS+= libatomic.so:lang/gcc${GCC_DEFAULT} LDFLAGS+= -L/usr/local/lib/gcc${GCC_DEFAULT} -latomic .endif post-install: ${INSTALL_MAN} ${WRKSRC}/docs/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/share/man/man1 post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${_DOCS} ${STAGEDIR}${DOCSDIR} .include