git: 9f279ac50748 - main - www/links: the port had been updated to version 2.25 and cleaned up
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 17 Dec 2021 08:11:54 UTC
The branch main has been updated by danfe:
URL: https://cgit.FreeBSD.org/ports/commit/?id=9f279ac50748cab67a9050ace31e8cff5549a23f
commit 9f279ac50748cab67a9050ace31e8cff5549a23f
Author: Alexey Dokuchaev <danfe@FreeBSD.org>
AuthorDate: 2021-12-17 08:11:10 +0000
Commit: Alexey Dokuchaev <danfe@FreeBSD.org>
CommitDate: 2021-12-17 08:11:10 +0000
www/links: the port had been updated to version 2.25 and cleaned up
Particularly, remove NLS option (gettext is long unused), add missing
`pkgconfig' to the USES list, do not literally repeat COMMENT text in
DESKTOP_ENTRIES, and switch to .tar.bz2 distfile which is smaller.
PR: 260466
---
www/links/Makefile | 16 +++++-----------
www/links/distinfo | 6 +++---
2 files changed, 8 insertions(+), 14 deletions(-)
diff --git a/www/links/Makefile b/www/links/Makefile
index 703097508fd3..506bcf0cc62a 100644
--- a/www/links/Makefile
+++ b/www/links/Makefile
@@ -1,8 +1,7 @@
# Created by: Michael Vasilenko <acid@stu.cn.ua>
PORTNAME= links
-DISTVERSION= 2.20.2
-PORTREVISION= 1
+PORTVERSION= 2.25
PORTEPOCH= 1
CATEGORIES= www
MASTER_SITES= http://links.twibright.com/download/
@@ -19,13 +18,13 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-ssl --without-pmshell --without-atheos \
--without-gpm --without-fb --without-windows
-USES= cpe localbase:ldflags ssl gettext-runtime
+USES= cpe localbase:ldflags ssl tar:bz2
CPE_VENDOR= twibright
PLIST_FILES= bin/links man/man1/links.1.gz
-OPTIONS_DEFINE= BROTLI CIPHERSTRING DIRECTFB IPV6 NLS SVG SVGALIB THREADS TRANS \
+OPTIONS_DEFINE= BROTLI CIPHERSTRING DIRECTFB IPV6 SVG SVGALIB THREADS TRANS \
UTF8 X11
OPTIONS_DEFAULT= UTF8 X11
@@ -41,9 +40,6 @@ DIRECTFB_CONFIGURE_WITH=directfb
IPV6_CONFIGURE_WITH= ipv6
-NLS_USES= gettext-runtime
-NLS_CONFIGURE_ENABLE= gettext-runtime
-
SVG_CONFIGURE_WITH= librsvg
SVG_USES= gnome
SVG_USE= gnome=librsvg2,glib20,gdkpixbuf2,cairo
@@ -75,7 +71,7 @@ CIPHERSTRING?= HIGH:!SSLv2:!aNULL:!eNULL:@STRENGTH
.if ${PORT_OPTIONS:MDIRECTFB} || ${PORT_OPTIONS:MSVGALIB} || ${PORT_OPTIONS:MX11}
LIB_DEPENDS+= libpng.so:graphics/png \
libtiff.so:graphics/tiff
-USES+= jpeg
+USES+= jpeg pkgconfig
CONFIGURE_ARGS+= --enable-graphics
.else
.if ${PORT_OPTIONS:MSVG}
@@ -86,7 +82,7 @@ CONFIGURE_ARGS+= --disable-graphics --without-libjpeg --without-libtiff
.if ${PORT_OPTIONS:MX11}
DESKTOP_ENTRIES="links" \
- "Lynx-like text WWW browser" \
+ "${COMMENT}" \
"${PREFIX}/share/pixmaps/links.xpm" \
"links -g" \
"Network;WebBrowser;" \
@@ -95,8 +91,6 @@ DESKTOP_ENTRIES="links" \
post-patch:
@${REINPLACE_CMD} -e "s!/etc/!${PREFIX}/etc/!" ${WRKSRC}/os_dep.h
- @${REINPLACE_CMD} -e "/LIBS=/{s/-lpthread/-pthread/;s/-ldl//;}" \
- ${WRKSRC}/configure
.if ${PORT_OPTIONS:MCIPHERSTRING}
@${REINPLACE_CMD} -e '/SSL_CTX_set_options/ \
s/;/; SSL_CTX_set_cipher_list(ctx, "${CIPHERSTRING}");/' \
diff --git a/www/links/distinfo b/www/links/distinfo
index e725e0f6a3b2..809eebe5dff1 100644
--- a/www/links/distinfo
+++ b/www/links/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1574015007
-SHA256 (links-2.20.2.tar.gz) = f0ec13b019e5501ef29858bf61a3bf89cece0b0f065b5064be242bce84e675bd
-SIZE (links-2.20.2.tar.gz) = 7063295
+TIMESTAMP = 1633288908
+SHA256 (links-2.25.tar.bz2) = 2dd78508698e8279ef4f09a3a2a21e9595040113402da6c553974414fb49dd2c
+SIZE (links-2.25.tar.bz2) = 6505187