git: d94f59c10dec - main - dns/libpsl: Remove unnecessary substitution

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Wed, 21 Feb 2024 15:18:45 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=d94f59c10dec9975e80f9d42eaf1dc079db1fac0

commit d94f59c10dec9975e80f9d42eaf1dc079db1fac0
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-02-21 14:26:01 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-02-21 15:06:28 +0000

    dns/libpsl: Remove unnecessary substitution
    
    - Cosmetic change
---
 dns/libpsl/Makefile | 20 +++++++++-----------
 1 file changed, 9 insertions(+), 11 deletions(-)

diff --git a/dns/libpsl/Makefile b/dns/libpsl/Makefile
index 763039335bb2..df203e3ef298 100644
--- a/dns/libpsl/Makefile
+++ b/dns/libpsl/Makefile
@@ -1,7 +1,7 @@
 PORTNAME=	libpsl
-DISTVERSION=	0.21.5
+PORTVERSION=	0.21.5
 CATEGORIES=	dns
-MASTER_SITES=	https://github.com/rockdaboot/${PORTNAME}/releases/download/${DISTVERSION}/
+MASTER_SITES=	https://github.com/rockdaboot/libpsl/releases/download/${PORTVERSION}/
 
 MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	C library to handle the Public Suffix List
@@ -13,17 +13,17 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 BUILD_DEPENDS=	public_suffix_list>=0:dns/public_suffix_list
 
 USES=		localbase:ldflags meson pkgconfig python:build shebangfix tar:lz
-SHEBANG_FILES=	src/psl-make-dafsa
-USE_LDCONFIG=	yes
-
-USE_LOCALE=	en_US.UTF-8
-TEST_TARGET=	test
 
 MESON_ARGS=	--default-library=both \
 		-Dbuiltin=true \
 		-Ddocs=false \
 		-Dpsl_file=${LOCALBASE}/share/public_suffix_list/public_suffix_list.dat \
 		-Dpsl_testfile=${LOCALBASE}/share/public_suffix_list/test_psl.txt
+USE_LDCONFIG=	yes
+USE_LOCALE=	en_US.UTF-8
+
+SHEBANG_FILES=	src/psl-make-dafsa
+TEST_TARGET=	test
 
 OPTIONS_SINGLE=	IDNA
 OPTIONS_SINGLE_IDNA=	ICU IDN IDN2
@@ -34,16 +34,14 @@ IDN2_DESC=	Use dns/libidn2 (IDNA2008 library)
 
 ICU_LIB_DEPENDS=	libicuuc.so:devel/icu
 ICU_MESON_ON=		-Druntime=libicu
-
-IDN_USES=		iconv
 IDN_LIB_DEPENDS=	libidn.so:dns/libidn \
 			libunistring.so:devel/libunistring
 IDN_MESON_ON=		-Druntime=libidn
-
-IDN2_USES=		iconv
+IDN_USES=		iconv
 IDN2_LIB_DEPENDS=	libidn2.so:dns/libidn2 \
 			libunistring.so:devel/libunistring
 IDN2_MESON_ON=		-Druntime=libidn2
+IDN2_USES=		iconv
 
 post-install:
 	${RM} ${STAGEDIR}${PREFIX}/bin/psl-make-dafsa ${STAGEDIR}${PREFIX}/share/man/man1/psl-make-dafsa.1