git: 24a0c77bb19b - main - dns/libnspsl: Refactor
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 02 Jun 2025 21:57:32 UTC
The branch main has been updated by bofh:
URL: https://cgit.FreeBSD.org/ports/commit/?id=24a0c77bb19b99f8ea6e3eab6823f69c6e982388
commit 24a0c77bb19b99f8ea6e3eab6823f69c6e982388
Author: Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2025-06-02 21:37:47 +0000
Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2025-06-02 21:56:30 +0000
dns/libnspsl: Refactor
- Use DISTVERSION
- Use DISTNAME/WRKSRC instead of EXTRACT_SUFX
Approved by: portmgr (blanket)
---
dns/libnspsl/Makefile | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/dns/libnspsl/Makefile b/dns/libnspsl/Makefile
index 58c816b80da0..1dc3e385b7d6 100644
--- a/dns/libnspsl/Makefile
+++ b/dns/libnspsl/Makefile
@@ -1,8 +1,8 @@
PORTNAME= libnspsl
-PORTVERSION= 0.1.7
+DISTVERSION= 0.1.7
CATEGORIES= dns
MASTER_SITES= https://download.netsurf-browser.org/libs/releases/
-EXTRACT_SUFX= -src.tar.gz
+DISTNAME= ${PORTNAME}-${DISTVERSION}-src
MAINTAINER= nc@FreeBSD.org
COMMENT= NetSurf public suffix list handling
@@ -18,6 +18,8 @@ USE_LDCONFIG= yes
MAKE_ENV+= BUILD_CC="${CC}" COMPONENT_TYPE="lib-shared"
PLIST_SUB+= VERSION=${PORTVERSION}
+WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION}
+
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libnspsl.so*