git: abec237fd0f8 - main - databases/tcl-lmdb: Improve port and update WWW

From: Daniel Engberg <diizzy_at_FreeBSD.org>
Date: Sun, 07 Apr 2024 16:51:17 UTC
The branch main has been updated by diizzy:

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

commit abec237fd0f8f3351816f0fa3964e1ea17a9fa2e
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2024-04-07 16:18:09 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2024-04-07 16:50:08 +0000

    databases/tcl-lmdb: Improve port and update WWW
    
    * Swtich from PORTVERSION to DISTVERSION
    * Update WWW entry
    * Use USES= localbase:ldflags helper
    
    PR:             278226
    Reviewed by:    gahr (maintainer)
---
 databases/tcl-lmdb/Makefile | 11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)

diff --git a/databases/tcl-lmdb/Makefile b/databases/tcl-lmdb/Makefile
index 58e816b43aa8..1ae713d36061 100644
--- a/databases/tcl-lmdb/Makefile
+++ b/databases/tcl-lmdb/Makefile
@@ -1,27 +1,24 @@
 PORTNAME=	tcl-lmdb
-PORTVERSION=	0.4.3
+DISTVERSION=	0.4.3
 PORTREVISION=	1
 CATEGORIES=	databases
 
 MAINTAINER=	gahr@FreeBSD.org
 COMMENT=	Tcl interface to the Lightning Memory-Mapped Database
-WWW=		https://sites.google.com/site/ray2501/tcl-lmdb
+WWW=		https://github.com/ray2501/tcl-lmdb
 
 LICENSE=	BSD2CLAUSE
 
 LIB_DEPENDS=	liblmdb.so:databases/lmdb
 
-USES=		gmake tcl:tea
+USES=		gmake localbase:ldflags tcl:tea
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	ray2501
 
 GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	--with-system-lmdb
 GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
-CFLAGS+=	-I${LOCALBASE}/include
-CPPFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib
+CONFIGURE_ARGS=	--with-system-lmdb
 
 TEST_TARGET=	test