summaryrefslogtreecommitdiff
path: root/misc/pick/Makefile
blob: 4b8873709fdefd78265c83d7e79edf8a635a1884 (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
# $NetBSD: Makefile,v 1.3 2019/03/12 19:02:45 leot Exp $

DISTNAME=	pick-3.0.1
CATEGORIES=	misc
MASTER_SITES=	${MASTER_SITE_GITHUB:=mptre/}
GITHUB_RELEASE=	v${PKGVERSION_NOREV}

MAINTAINER=	dbotw@gmx.net
HOMEPAGE=	https://github.com/mptre/pick/
COMMENT=	Fuzzy search tool for the command-line
LICENSE=	mit

HAS_CONFIGURE=	yes

CONFIGURE_ENV+=	INSTALL=${INSTALL_PROGRAM:Q}
CONFIGURE_ENV+=	INSTALL_MAN=${INSTALL_MAN:Q}
CONFIGURE_ENV+=	MANDIR=${PREFIX}/${PKGMANDIR}

CFLAGS.NetBSD+=	-D_OPENBSD_SOURCE	# reallocarray(3), strtonum(3)

TEST_TARGET=	test

.include "../../mk/curses.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"