aboutsummaryrefslogtreecommitdiffstats
path: root/archivers
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2019-01-22 17:09:50 +0800
committerdanfe <danfe@FreeBSD.org>2019-01-22 17:09:50 +0800
commit7c4b208af38091ab665501087450188465c19946 (patch)
treef03e89bd57ab09e249e338480b2f34ccb6aaac1a /archivers
parent489e7aba8a6cd2ded641b911d5b3a30dca479c4b (diff)
downloadfreebsd-ports-gnome-7c4b208af38091ab665501087450188465c19946.tar.gz
freebsd-ports-gnome-7c4b208af38091ab665501087450188465c19946.tar.zst
freebsd-ports-gnome-7c4b208af38091ab665501087450188465c19946.zip
- 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
Diffstat (limited to 'archivers')
-rw-r--r--archivers/gzip/Makefile11
-rw-r--r--archivers/gzip/distinfo6
-rw-r--r--archivers/gzip/pkg-plist9
3 files changed, 8 insertions, 18 deletions
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 <bsd.port.mk>
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