aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkunda <luzpaz@pm.me>2024-05-05 17:04:38 +0000
committerGanael LAPLANCHE <martymac@FreeBSD.org>2024-05-05 17:06:55 +0000
commit8f86b9737ce64b1f757e49b78be2a86ddb9eed8f (patch)
tree2f81140e96290753bc217873be8539b892beb550
parent91abaabd197bc70c1cfa92ca1f6c78936687b8a4 (diff)
downloadports-8f86b9737ce64b1f757e49b78be2a86ddb9eed8f.tar.gz
ports-8f86b9737ce64b1f757e49b78be2a86ddb9eed8f.zip
sysutils/pv: Update to 1.8.9
Changelog: https://codeberg.org/a-j-wood/pv/src/tag/v1.8.9/docs/NEWS.md Port changes: - Use SSL for MASTER_SITES - Change license from ART20 to GPLv3+ - Remove obsolete option LFS - Switch to using a pkg-plist file PR: 278528 Reported by: kunda <luzpaz@pm.me>
-rw-r--r--sysutils/pv/Makefile29
-rw-r--r--sysutils/pv/distinfo6
-rw-r--r--sysutils/pv/pkg-plist10
3 files changed, 26 insertions, 19 deletions
diff --git a/sysutils/pv/Makefile b/sysutils/pv/Makefile
index b59e7fa9a4e0..aa970c24af4e 100644
--- a/sysutils/pv/Makefile
+++ b/sysutils/pv/Makefile
@@ -1,41 +1,38 @@
PORTNAME= pv
-PORTVERSION= 1.7.0
-PORTREVISION= 1
+PORTVERSION= 1.8.9
CATEGORIES= sysutils
-MASTER_SITES= http://www.ivarch.com/programs/sources/
+MASTER_SITES= https://www.ivarch.com/programs/sources/
MAINTAINER= martymac@FreeBSD.org
COMMENT= Pipe throughput monitor
WWW= https://www.ivarch.com/programs/pv.shtml
-LICENSE= ART20
+LICENSE= GPLv3+
+LICENSE_FILE= ${WRKSRC}/docs/COPYING
-USES= tar:bzip2 gmake
-
-CONFLICTS= waon
+USES= gmake
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share
-MAKE_ENV+= LD=${LD}
-PLIST_FILES= bin/pv share/man/man1/pv.1.gz
+CONFLICTS= waon
PORTDOCS= README.md INSTALL NEWS.md TODO.md
-OPTIONS_DEFINE= DOCS NLS LFS
-OPTIONS_DEFAULT= LFS
-NLS_CONFIGURE_ON= --enable-static-nls
-NLS_CONFIGURE_OFF= --disable-nls
-LFS_CONFIGURE_ENABLE= lfs
+OPTIONS_DEFINE= DOCS NLS
+OPTIONS_SUB= yes
+
+NLS_USES= gettext
+NLS_CONFIGURE_ENABLE= nls
post-patch:
- @${CP} ${WRKSRC}/README.md ${WRKSRC}/doc
+ @${CP} ${WRKSRC}/README.md ${WRKSRC}/docs
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/pv
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/doc/|} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/docs/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
diff --git a/sysutils/pv/distinfo b/sysutils/pv/distinfo
index f3ea08537b54..935eb6ef0c39 100644
--- a/sysutils/pv/distinfo
+++ b/sysutils/pv/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1690211867
-SHA256 (pv-1.7.0.tar.bz2) = 1372b41053881a05e2df10cb054304decc0233261c0aa0e96185842fa5a422ad
-SIZE (pv-1.7.0.tar.bz2) = 115665
+TIMESTAMP = 1713985817
+SHA256 (pv-1.8.9.tar.gz) = a0789d8f8c5a08faf370b5a07d1d936aeff9504a4f49da76d4164797ac4606e6
+SIZE (pv-1.8.9.tar.gz) = 330129
diff --git a/sysutils/pv/pkg-plist b/sysutils/pv/pkg-plist
new file mode 100644
index 000000000000..bc3c4c0917aa
--- /dev/null
+++ b/sysutils/pv/pkg-plist
@@ -0,0 +1,10 @@
+bin/pv
+%%PORTDOCS%%%%DOCSDIR%%/ACKNOWLEDGEMENTS.md
+%%PORTDOCS%%%%DOCSDIR%%/COPYING
+%%PORTDOCS%%%%DOCSDIR%%/DEVELOPERS.md
+%%PORTDOCS%%%%DOCSDIR%%/benchmark.sh
+%%NLS%%share/locale/de/LC_MESSAGES/pv.mo
+%%NLS%%share/locale/fr/LC_MESSAGES/pv.mo
+%%NLS%%share/locale/pl/LC_MESSAGES/pv.mo
+%%NLS%%share/locale/pt/LC_MESSAGES/pv.mo
+share/man/man1/pv.1.gz