git: a5e7d25c2b8d - main - security/sectok: Mark DEPRECATED

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sun, 01 Jun 2025 17:11:45 UTC
The branch main has been updated by bofh:

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

commit a5e7d25c2b8d6a2018f8e84352b35367a8109295
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2025-06-01 16:21:05 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2025-06-01 17:10:03 +0000

    security/sectok: Mark DEPRECATED
    
    - Last upstream release in 2003 and no longer maintained
    - Set EXPIRATION_DATE 2025-06-29
    - Add LICENSE LicenseRef-UMich
    - Use DISTVERSION instead of PORTVERSION
    - Use USES=localbase
    - Use USES=tar instead of EXTRACT_SUFX
---
 security/sectok/Makefile | 17 +++++++++++------
 1 file changed, 11 insertions(+), 6 deletions(-)

diff --git a/security/sectok/Makefile b/security/sectok/Makefile
index 458c2839342c..ed27ddb5ed4e 100644
--- a/security/sectok/Makefile
+++ b/security/sectok/Makefile
@@ -1,22 +1,27 @@
 PORTNAME=	sectok
-PORTVERSION=	20030825
-PORTREVISION=	3
+DISTVERSION=	20030825
+PORTREVISION=	4
 CATEGORIES=	security
 MASTER_SITES=	http://www.citi.umich.edu/projects/smartcard/
-EXTRACT_SUFX=	.tgz
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	ISO 7816 Smartcard Utility
 WWW=		http://www.citi.umich.edu/projects/smartcard/sectok.html
 
+LICENSE=	LicenseRef-UMich
+LICENSE_NAME=	University of Michigan License
+LICENSE_FILE=	${WRKSRC}/LICENSE
+LICENSE_PERMS=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
+
+DEPRECATED=	Last upstream release in 2003 and no longer maintained
+EXPIRATION_DATE=	2025-06-30
+
 LIB_DEPENDS=	libsectok.so:security/libsectok
 
-USES=		ssl
+USES=		ssl localbase tar:tgz
 USE_LDCONFIG=	yes
 
 MAKE_ARGS=	CC="${CC}" CFLAGS="${CFLAGS}"
-CPPFLAGS+=	-I${LOCALBASE}/include
-LIBS+=		-L${LOCALBASE}/lib
 
 PLIST_FILES=	bin/${PORTNAME} share/man/man1/${PORTNAME}.1.gz