9a3feda9e8
Patch provided by Jenz Guenther with minor adjustments by me. Changes: # v3.0.1 - 2019-03-10 ## Bug fixes - Honor `PREFIX` during configure. (adcba3c) (Anton Lindqvist) - Honor `MANDIR` during configure and install. (8c56f54) (Aggelos Avgerinos) - Honor `INSTALL_MAN` during configure and install. (869536f) (Leonardo Taccari) - Honor `BINDIR` during configure and install. (434c496) (Anton Lindqvist)
24 lines
621 B
Makefile
24 lines
621 B
Makefile
# $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"
|