Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Jan 2019 09:09:50 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r490932 - head/archivers/gzip
Message-ID:  <201901220909.x0M99okA074713@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danfe
Date: Tue Jan 22 09:09:50 2019
New Revision: 490932
URL: https://svnweb.freebsd.org/changeset/ports/490932

Log:
  - Update `archivers/gzip' to version 1.10
  - Switch to smaller .tar.xz distfile
  - Drop custom DOC_FILES variable in favor of PORTDOCS
  - Use option-helper target for installing docfiles

Modified:
  head/archivers/gzip/Makefile
  head/archivers/gzip/distinfo
  head/archivers/gzip/pkg-plist

Modified: head/archivers/gzip/Makefile
==============================================================================
--- head/archivers/gzip/Makefile	Tue Jan 22 07:44:00 2019	(r490931)
+++ head/archivers/gzip/Makefile	Tue Jan 22 09:09:50 2019	(r490932)
@@ -2,8 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	gzip
-PORTVERSION=	1.9
-PORTREVISION=	1
+PORTVERSION=	1.10
 CATEGORIES=	archivers
 MASTER_SITES=	GNU
 
@@ -12,19 +11,19 @@ COMMENT=	Compression utility designed to be a replacem
 
 LICENSE=	GPLv3+
 
-USES=		cpe charsetfix makeinfo
+USES=		cpe charsetfix makeinfo tar:xz
 GNU_CONFIGURE=	yes
 
 INFO=		gzip
 CPE_VENDOR=	gnu
 
-DOC_FILES=	AUTHORS COPYING ChangeLog ChangeLog-2007 INSTALL NEWS README \
+PORTDOCS=	AUTHORS COPYING ChangeLog ChangeLog-2007 INSTALL NEWS README \
 		THANKS TODO
 
 OPTIONS_DEFINE=	DOCS
 
-post-install:
+post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-	cd ${WRKSRC} && ${INSTALL_DATA} ${DOC_FILES} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>

Modified: head/archivers/gzip/distinfo
==============================================================================
--- head/archivers/gzip/distinfo	Tue Jan 22 07:44:00 2019	(r490931)
+++ head/archivers/gzip/distinfo	Tue Jan 22 09:09:50 2019	(r490932)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1518091237
-SHA256 (gzip-1.9.tar.gz) = 5d2d3a3432ef32f24cdb060d278834507b481a75adeca18850c73592f778f6ad
-SIZE (gzip-1.9.tar.gz) = 1181937
+TIMESTAMP = 1546148144
+SHA256 (gzip-1.10.tar.xz) = 8425ccac99872d544d4310305f915f5ea81e04d0f437ef1a230dc9d1c819d7c0
+SIZE (gzip-1.10.tar.xz) = 775144

Modified: head/archivers/gzip/pkg-plist
==============================================================================
--- head/archivers/gzip/pkg-plist	Tue Jan 22 07:44:00 2019	(r490931)
+++ head/archivers/gzip/pkg-plist	Tue Jan 22 09:09:50 2019	(r490932)
@@ -23,12 +23,3 @@ man/man1/zgrep.1.gz
 man/man1/zless.1.gz
 man/man1/zmore.1.gz
 man/man1/znew.1.gz
-%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
-%%PORTDOCS%%%%DOCSDIR%%/COPYING
-%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
-%%PORTDOCS%%%%DOCSDIR%%/ChangeLog-2007
-%%PORTDOCS%%%%DOCSDIR%%/INSTALL
-%%PORTDOCS%%%%DOCSDIR%%/NEWS
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%%%DOCSDIR%%/THANKS
-%%PORTDOCS%%%%DOCSDIR%%/TODO



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201901220909.x0M99okA074713>