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

File: [cvs.NetBSD.org] / pkgsrc / misc / moreutils / Makefile (download)

Revision 1.14, Thu Jan 13 11:49:41 2022 UTC (5 months, 2 weeks ago) by leot
Branch: MAIN
CVS Tags: pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1
Changes since 1.13: +2 -3 lines

moreutils: Update to 0.67

Changes:
0.67
----
 - README: Formalize that I am not adding new tools to moreutils, and
   have not for a long while. This package needs someone new to take over
   editorial responsibility.
 - Makefile: Install man pages without executable bit. Thanks, meator
 - ifne.1: Improve example that pipes to mail to avoid escape sequences.

0.66
----
 - vipe: When no output is piped into vipe, and stdin is connected to
   the terminal, don't read from stdin before opening the editor. This
   allows eg: vipe | command Thanks, Florian Pensec
 - chronic: With -v, flush stdout after printing "STDERR" header. Thanks,
   Adam Sj√łgren

# $NetBSD: Makefile,v 1.14 2022/01/13 11:49:41 leot Exp $

DISTNAME=	moreutils-0.67
CATEGORIES=	misc
MASTER_SITES=	https://git.joeyh.name/index.cgi/moreutils.git/snapshot/

MAINTAINER=	leot@NetBSD.org
HOMEPAGE=	https://joeyh.name/code/moreutils/
COMMENT=	Additional Unix utilities
LICENSE=	gnu-gpl-v2

USE_TOOLS+=	gmake pod2man perl:run

BUILD_DEPENDS+=	docbook-xsl-[0-9]*:../../textproc/docbook-xsl
BUILD_DEPENDS+=	libxml2-[0-9]*:../../textproc/libxml2
BUILD_DEPENDS+=	libxslt-[0-9]*:../../textproc/libxslt

DEPENDS+=	p5-IPC-Run-[0-9]*:../../devel/p5-IPC-Run

USE_LANGUAGES=	c99

REPLACE_PERL+=	chronic
REPLACE_PERL+=	combine
REPLACE_PERL+=	ts
REPLACE_PERL+=	vidir
REPLACE_PERL+=	vipe
REPLACE_PERL+=	zrun

LDFLAGS.SunOS+=	-lsocket -lnsl

MAKE_ENV+=	\
	PREFIX=${PREFIX} \
	MANDIR=${PREFIX}/${PKGMANDIR} \
	CFLAGS=${CFLAGS:Q} \
	LDFLAGS=${LDFLAGS:Q} \
	DOCBOOKXSL=${PREFIX}/share/xsl/docbook \
	INSTALL_BIN=${INSTALL_PROGRAM:Q} \
	INSTALL_MAN=${INSTALL_MAN:Q} \
	INSTALL_SCRIPT=${INSTALL_SCRIPT:Q}

# Avoid possible conflicts with `parallel' of parallel/parallel
post-install:
	${MV} ${DESTDIR}${PREFIX}/bin/parallel \
	    ${DESTDIR}${PREFIX}/bin/moreutils-parallel
	${MV} ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/parallel.1 \
	    ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/moreutils-parallel.1

.include "../../mk/bsd.pkg.mk"