From 7c4b208af38091ab665501087450188465c19946 Mon Sep 17 00:00:00 2001 From: danfe Date: Tue, 22 Jan 2019 09:09:50 +0000 Subject: - 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 --- archivers/gzip/Makefile | 11 +++++------ archivers/gzip/distinfo | 6 +++--- archivers/gzip/pkg-plist | 9 --------- 3 files changed, 8 insertions(+), 18 deletions(-) (limited to 'archivers') diff --git a/archivers/gzip/Makefile b/archivers/gzip/Makefile index 3e163f9e6b6f..61c3817d54b1 100644 --- a/archivers/gzip/Makefile +++ b/archivers/gzip/Makefile @@ -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 replacement for compress 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 diff --git a/archivers/gzip/distinfo b/archivers/gzip/distinfo index 2ba81c4f3dda..6d6aa4d4fefa 100644 --- a/archivers/gzip/distinfo +++ b/archivers/gzip/distinfo @@ -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 diff --git a/archivers/gzip/pkg-plist b/archivers/gzip/pkg-plist index 3273e7cdf23d..eaffa337249d 100644 --- a/archivers/gzip/pkg-plist +++ b/archivers/gzip/pkg-plist @@ -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 -- cgit