pkgsrc/archivers/zutils/Makefile
mef 5d91c4aabf (pkgsrc)
- (Makefile) Add following lines
      CONFIGURE_ARGS+=        --sysconfdir=${PREFIX}/etc
      CONF_FILES=             ${EGDIR}/zutilsrc ${PREFIX}/etc/zutilsrc
   - (PLIST)
      delete bin/zutils, see 2014-02-01 Changes Below.
(upstream)
   - Update 0.9 to 1.3
   ----------
2014-08-30  Antonio Diaz Diaz  <antonio@gnu.org>

	* Version 1.3 released.
	* testsuite/check.sh: Fixed two values of expected exit status.
	* zutils.texi: Documented that '--format' does not verify format.
	* Added two missing #includes.
	* License changed to GPL version 2 or later.

2014-02-01  Antonio Diaz Diaz  <antonio@gnu.org>

	* Version 1.2 released.
	* Added new utility; zupdate.
	* Removed zutils executable. Utils are now independent executables.
	* zgrep.cc: Fixed the exit status returned on error.
	* zutils.texinfo: Renamed to zutils.texi.

2013-08-02  Antonio Diaz Diaz  <antonio@gnu.org>

	* Version 1.1 released.
	* Added options '--bz2', '--gz', '--lz' and '--xz' to all utilities.
	* Added runtime configuration file 'zutilsrc'.
	* New function 'good_status' checks exit status of all children.
	* Fixed all uses of decompressed/uncompressed in the documentation.

2013-05-31  Antonio Diaz Diaz  <antonio@gnu.org>

	* Version 1.0 released.
	* Added new option '--format' to all utilities.
	* main.cc (main): Make 'grep_show_name' tri-state so that file
	  name is no prefixed to output by default when searching one
	  file and '--recursive' has not been selected.
	* Zgrep: Fixed output of option '-L' (it behaved like '-l').
	* zcmp.cc: Fixed deadlock when '-n' option is used.
	* zdiff.cc (set_data_feeder): Call compressor with option "-q"
	  only if verbosity < 0.
	* zutils.cc (set_data_feeder): Likewise.
	* Changed quote characters in messages as advised by GNU Standards.
	* configure: Options now accept a separate argument.
	* configure: 'datadir' renamed to 'datarootdir'.
	* Makefile.in: Added new target 'install-bin'.
	* Use 'setmode' instead of '_setmode' on Windows and OS/2.
	* zcat.cc (Line_number): Fixed a portability issue with Solaris 9.
	* INSTALL: Document installing zutils along with GNU gzip.
2014-12-31 01:25:22 +00:00

37 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.6 2014/12/31 01:25:22 mef Exp $
#
DISTNAME= zutils-1.3
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,'
post-install:
${MV} ${DESTDIR}${PREFIX}/etc/zutilsrc ${DESTDIR}${EGDIR}
.include "../../mk/bsd.pkg.mk"