[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.1, Tue Jun 15 07:27:30 2021 UTC (14 months ago) by pin
Branch: MAIN
CVS Tags: pkgsrc-2021Q2-base, pkgsrc-2021Q2

textproc/zet: import package

This is a command-line utility for doing set operations on files considered as
sets of lines. For instance, `zet union x y z` outputs the lines that occur in
any of `x`, `y`, or `z`.
Two notes:
-Each output line occurs only once, because we're treating the files as sets
 and the lines as their elements.
-We do take the file structure into account in one respect: the lines are
 output in the same order as they are encountered. So `zet union x` prints
 out the lines of `x`, in order, with duplicates removed.

# $NetBSD: Makefile,v 1.1 2021/06/15 07:27:30 pin Exp $

DISTNAME=	zet-0.1.1
CATEGORIES=	textproc
MASTER_SITES=	${MASTER_SITE_GITHUB:=yarrow/}
GITHUB_TAG=	v${PKGVERSION_NOREV}

MAINTAINER=	pin@NetBSD.org
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"

USE_LANGUAGES+=	c

INSTALLATION_DIRS=	bin

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/target/release/zet ${DESTDIR}${PREFIX}/bin

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