head 1.2; access; symbols; locks; strict; comment @# @; 1.2 date 2019.03.12.19.02.45; author leot; state dead; branches; next 1.1; commitid IcMSLmsstdgyN6fB; 1.1 date 2019.02.28.19.27.43; author leot; state Exp; branches; next ; commitid 18ElJaPvcpyWjzdB; desc @@ 1.2 log @pick: Update to 3.0.1 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) @ text @$NetBSD: patch-Makefile,v 1.1 2019/02/28 19:27:43 leot Exp $ - Add support for MANDIR instead of forcing install of man pages in ${PREFIX}/man. - Use INSTALL_MAN instead of INSTALL to install man pages with the proper permissions (no executable bit set) --- Makefile.orig 2019-02-27 19:07:35.000000000 +0000 +++ Makefile @@@@ -68,6 +68,7 @@@@ DISTFILES+= tests/pick-test.c DISTFILES+= tests/pick-test.sh PREFIX= /usr/local +MANDIR= man all: ${PROG} @@@@ -100,8 +101,8 @@@@ distclean: clean install: ${PROG} @@mkdir -p ${DESTDIR}${PREFIX}/bin ${INSTALL} ${PROG} ${DESTDIR}${PREFIX}/bin - @@mkdir -p ${DESTDIR}${PREFIX}/man/man1 - ${INSTALL} ${.CURDIR}/pick.1 ${DESTDIR}${PREFIX}/man/man1 + @@mkdir -p ${DESTDIR}${PREFIX}/${MANDIR}/man1 + ${INSTALL_MAN} ${.CURDIR}/pick.1 ${DESTDIR}${PREFIX}/${MANDIR}/man1 .PHONY: install test: ${PROG} @ 1.1 log @pick: Update to 3.0.0 Patch provided by Jenz Guenther with some adjustments by myself. pkgsrc changes: - Adjust to configure and inject INSTALL*, PREFIX and MANDIR variables - Patch configure and Makefile to honor INSTALL_MAN and MANDIR - Add support for test Changes: # v3.0.0 - 2019-02-27 - pick is now available as a package on NetBSD. (ec5b83b) (Jenz Guenther) - Usage of autoconf and automake has been replaced in favor of a shell-script and plain Makefile(s). The process of building pick remains the same. (970c5f4) (Anton Lindqvist) @ text @d1 1 a1 1 $NetBSD$ @