[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / textproc / zet

File: [cvs.NetBSD.org] / pkgsrc / textproc / zet / Makefile (download)

Revision 1.2, Mon Jul 5 08:45:08 2021 UTC (13 months, 2 weeks ago) by pin
Branch: MAIN
Changes since 1.1: +2 -3 lines

textproc/zet: update to 0.2.0

-Add support for UTF-16 files, and make sure lines that differ only in their
terminator (\n vs \r\n) are considered equal.

-Zet looks for Byte Order Marks in UTF-8, UTF-16LE and UTF-16BE files,
translating UTF-16LE and UTF-16BE to UTF-8. It outputs a (UTF-8) Byte Order Mark
if and only if it finds one in its first file argument.
-Zet strips off the line terminator (\n or \r\n) from each input line. On
output, it uses the line terminator found in the first line of its first file
argument (or \n if the first file consists of a single line with no terminator).

# $NetBSD: Makefile,v 1.2 2021/07/05 08:45:08 pin Exp $

DISTNAME=	zet-0.2.0
CATEGORIES=	textproc

HOMEPAGE=	https://github.com/yarrow/zet/
COMMENT=	CLI utility to find the union, intersection, etc of files
LICENSE=	apache-2.0 OR mit

.include "cargo-depends.mk"



	${INSTALL_PROGRAM} ${WRKSRC}/target/release/zet ${DESTDIR}${PREFIX}/bin

.include "../../lang/rust/cargo.mk"
.include "../../mk/bsd.pkg.mk"