git: be563346d968 - main - dns/dnshistory: Update MASTER_SITES and WWW

From: Zsolt Udvari <uzsolt_at_FreeBSD.org>
Date: Thu, 24 Apr 2025 08:51:29 UTC
The branch main has been updated by uzsolt:

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

commit be563346d968371ae835c24f46989693b4af75cf
Author:     Chris Hutchinson <portmaster@bsdforge.com>
AuthorDate: 2025-04-24 08:48:35 +0000
Commit:     Zsolt Udvari <uzsolt@FreeBSD.org>
CommitDate: 2025-04-24 08:50:32 +0000

    dns/dnshistory: Update MASTER_SITES and WWW
    
    Change WRKSRC.
    Use localbase.
    Switch to DISTVERSION.
    Include only bsd.port.mk.
    
    PR:             286069
    Approved by:    submitter is maintainer
---
 dns/dnshistory/Makefile | 22 ++++++++++------------
 dns/dnshistory/distinfo |  5 +++--
 2 files changed, 13 insertions(+), 14 deletions(-)

diff --git a/dns/dnshistory/Makefile b/dns/dnshistory/Makefile
index 9019e725dc5c..043b0c0e7e13 100644
--- a/dns/dnshistory/Makefile
+++ b/dns/dnshistory/Makefile
@@ -1,34 +1,32 @@
 PORTNAME=	dnshistory
-PORTVERSION=	1.3
+DISTVERSION=	1.3
 PORTREVISION=	3
 CATEGORIES=	dns
-MASTER_SITES=	http://www.stedee.id.au/files/ \
-		http://launchpad.net/${PORTNAME}/${PORTVERSION}/${PORTVERSION}/+download/
+MASTER_SITES=	https://codeberg.org/BSDforge/${PORTNAME}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/
 
 MAINTAINER=	portmaster@BSDforge.com
 COMMENT=	Store DNS lookups to a DB
-WWW=		http://www.stedee.id.au/dnshistory
+WWW=		https://codeberg.org/BSDforge/dnshistory
 
 LICENSE=	GPLv2
 
 LIB_DEPENDS=	libpcre.so:devel/pcre
 
-USES=		bdb
+USES=		bdb localbase:ldflags
 GNU_CONFIGURE=	yes
-GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
+
+CPPFLAGS+=	-I${BDB_INCLUDE_DIR}
+LDFLAGS+=	-L${BDB_LIB_DIR}
+
+WRKSRC=		${WRKDIR}/${PORTNAME}
 
 PLIST_FILES=	bin/${PORTNAME} share/man/man1/${PORTNAME}.1.gz
 PORTDOCS=	COPYING ChangeLog NEWS
 
 OPTIONS_DEFINE=	DOCS
 
-.include <bsd.port.pre.mk>
-
-CPPFLAGS+=	-I${LOCALBASE}/include -I${BDB_INCLUDE_DIR}
-LDFLAGS+=	-L${LOCALBASE}/lib -L${BDB_LIB_DIR}
-
 post-install:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${PORTDOCS:C|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/dns/dnshistory/distinfo b/dns/dnshistory/distinfo
index ef0a8db2e1f4..bb4558630d88 100644
--- a/dns/dnshistory/distinfo
+++ b/dns/dnshistory/distinfo
@@ -1,2 +1,3 @@
-SHA256 (dnshistory-1.3.tar.gz) = 608f3a16ff8b99397c4361bbfc0ef28665b0c7380941cb6f89bd0d5ce3e4061b
-SIZE (dnshistory-1.3.tar.gz) = 123554
+TIMESTAMP = 1744585345
+SHA256 (dnshistory-1.3.tar.gz) = b8a6cc6e4a3b070b4e2e38b5c8c68eb2a5a229e20ba7c9a103498459c78fde2a
+SIZE (dnshistory-1.3.tar.gz) = 121504