pkgsrc/archivers/zutils/Makefile
mef 22b2651b73 Updated archivers/zutils 1.3 to 1.5
---------------------------------- (From NEWS)
Changes in version 1.5:

 zupdate now passes '-q' to zcmp if specified.

 zcat, zgrep and ztest no longer read from standard input more than once
 if '-' is specified multiple times.

 zdiff now uses '_' as separator if both temporary file names are
 otherwise different. For example 'xxx_file.lz' and 'xxx_file.gz'.
---------------------------------- (From ChangeLog)
2016-05-15  Antonio Diaz Diaz  <antonio@gnu.org>

	* Version 1.5 released.
	* zupdate.cc (zupdate_file): Pass '-q' to zcmp if verbosity < 0.
	* zcat.cc zgrep.cc ztest.cc (main): Don't use stdin more than once.
	* zdiff.cc (set_fifonames): Use '_' if both names are different.
	* configure: Avoid warning on some shells when testing for g++.
	* Makefile.in: Detect the existence of install-info.
	* testsuite/check.sh: A POSIX shell is required to run the tests.

(pkgsrc-changes)
 - Add TEST_TARGET = check
  (but make test fails for now)
2016-09-19 00:36:59 +00:00

39 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.7 2016/09/19 00:36:59 mef Exp $
#
DISTNAME= zutils-1.5
CATEGORIES= archivers
MASTER_SITES= http://download.savannah.gnu.org/releases/zutils/
EXTRACT_SUFX= .tar.lz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://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= post-patch
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"