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
This commit is contained in:
Chris Hutchinson 2025-04-24 10:48:35 +02:00 committed by Zsolt Udvari
parent 8d2df6d99e
commit be563346d9
2 changed files with 13 additions and 14 deletions

View file

@ -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>

View file

@ -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