pkgsrc/archivers/zutils/Makefile
nia ff827cd161 zutils: Update to 1.10
Changes in version 1.10:

A portability issue with Solaris 10 has been fixed.

It has been documented in the manual that 'zgrep -L' fails with GNU grep
versions 3.2 to 3.4 inclusive because of a wrong change reverted in GNU grep
3.5.

'make check' now tests empty input files with all tools except zupdate.
2021-02-12 07:27:48 +00:00

39 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.13 2021/02/12 07:27:48 nia Exp $
#
DISTNAME= zutils-1.10
CATEGORIES= archivers
MASTER_SITES= https://download.savannah.gnu.org/releases/zutils/
EXTRACT_SUFX= .tar.lz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://www.nongnu.org/zutils/zutils.html
COMMENT= Utilities for any combination of compressed and non-compressed files
LICENSE= gnu-gpl-v3
CONFLICTS= lzip<1.12
HAS_CONFIGURE= yes
CONFIGURE_ARGS+= --prefix=${PREFIX}
CONFIGURE_ARGS+= --mandir=${PREFIX}/${PKGMANDIR}
CONFIGURE_ARGS+= --infodir=${PREFIX}/${PKGINFODIR}
CONFIGURE_ARGS+= --sysconfdir=${PREFIX}/etc
USE_LANGUAGES= c++
AUTO_MKDIRS= yes
INFO_FILES= yes
EGDIR= ${PREFIX}/share/examples/zutils
CONF_FILES= ${EGDIR}/zutilsrc ${PREFIX}/etc/zutilsrc
SUBST_CLASSES+= sysconfdir
SUBST_STAGE.sysconfdir= pre-configure
SUBST_FILES.sysconfdir= zutilsrc
SUBST_MESSAGE.sysconfdir= path of sysconfdir in example (zutilsrc)
SUBST_SED.sysconfdir= -e '/sysconfdir/s,$${sysconfdir},${PREFIX}/etc,'
TEST_TARGET= check
post-install:
${MV} ${DESTDIR}${PREFIX}/etc/zutilsrc ${DESTDIR}${EGDIR}
.include "../../mk/bsd.pkg.mk"