git: 9ec61d6d2048 - main - cad/linux-eagle5: Fix fetch error, mark deprecated

From: Thomas Zander <riggs_at_FreeBSD.org>
Date: Sat, 16 Apr 2022 09:26:34 UTC
The branch main has been updated by riggs:

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

commit 9ec61d6d2048d5ab4567207877a4188ff04dc810
Author:     Thomas Zander <riggs@FreeBSD.org>
AuthorDate: 2022-04-16 09:06:15 +0000
Commit:     Thomas Zander <riggs@FreeBSD.org>
CommitDate: 2022-04-16 09:26:32 +0000

    cad/linux-eagle5: Fix fetch error, mark deprecated
    
    Details:
    - Cadsoft, the EAGLE vendor, was acquired by Autodesk a while ago. The
      EAGLE 5 series was discontinued since, and is superseded by Autodesk
      EAGLE 9.
    - Mark deprecated, scheduled for removal at the end of the 2022. Until
      then, the distfile remains available through a LOCAL mirror.
    
    MFH:            2022Q2
---
 cad/linux-eagle5/Makefile | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/cad/linux-eagle5/Makefile b/cad/linux-eagle5/Makefile
index 4edf54740b9b..34ea35b63a36 100644
--- a/cad/linux-eagle5/Makefile
+++ b/cad/linux-eagle5/Makefile
@@ -2,9 +2,10 @@
 
 PORTNAME=	eagle5
 PORTVERSION=	${EAGLEVERSION}
-PORTREVISION=	6
+PORTREVISION=	7
 CATEGORIES=	cad linux
-MASTER_SITES=	ftp://ftp.cadsoft.de/eagle/program/${EAGLEBASEVERSION}/
+MASTER_SITES=	LOCAL/riggs/${PORTNAME} \
+		ftp://ftp.cadsoft.de/eagle/program/${EAGLEBASEVERSION}/
 PKGNAMEPREFIX=	linux-
 DISTNAME=	eagle-lin-${EAGLEVERSION}
 EXTRACT_SUFX=	.run
@@ -20,6 +21,9 @@ LICENSE_FILE=	${WRKSRC}/doc/license_en.txt
 # Copying the software is only allowed for backup by an individual licensee
 LICENSE_PERMS=	auto-accept
 
+DEPRECATED=	Deprecated upstream, superseded by Autodesk EAGLE 9
+EXPIRATION_DATE=	2022-12-31
+
 ONLY_FOR_ARCHS=	i386 amd64
 
 WRKSRC=		${WRKDIR}/${DISTNAME:S/lin-//}