git: 69b7aa5f9cdb - main - lang/ruby27: Mark DEPRECATED and set EXPIRATION_DATE

From: Yasuhiro Kimura <yasu_at_FreeBSD.org>
Date: Mon, 23 May 2022 11:13:23 UTC
The branch main has been updated by yasu:

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

commit 69b7aa5f9cdb85a36708376e37e30c10fdfd88ee
Author:     Yasuhiro Kimura <yasu@FreeBSD.org>
AuthorDate: 2022-05-23 11:12:43 +0000
Commit:     Yasuhiro Kimura <yasu@FreeBSD.org>
CommitDate: 2022-05-23 11:12:43 +0000

    lang/ruby27: Mark DEPRECATED and set EXPIRATION_DATE
    
    After 2.7.6 is released on April 12, 2022, Ruby 2.7 entered the
    security only maintainance phase. It continues for a year and after
    that Ruby 2.7 reaches its EoL. On the other hand default version of
    Ruby has switched to 3.0. So mark this port as DEPRECATED and set
    EXPIRATION_DATE to the date of EoL in order to encourage user to
    migrate to newer version.
    
    PR:             263451
    Approved by:    maintainer timeout
---
 lang/ruby27/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/lang/ruby27/Makefile b/lang/ruby27/Makefile
index 2af79ce94056..e4a66d5b382a 100644
--- a/lang/ruby27/Makefile
+++ b/lang/ruby27/Makefile
@@ -17,6 +17,9 @@ LICENSE_COMB=	dual
 LICENSE_FILE_BSD2CLAUSE=${WRKSRC}/BSDL
 LICENSE_FILE_RUBY=	${WRKSRC}/COPYING
 
+DEPRECATED=	Please migrate to newer versions. Ruby 2.7 will reach its EoL on April 12, 2023
+EXPIRATION_DATE=	2023-04-12
+
 # Using LIB_DEPENDS finds the libffi from gcc which causes problems
 BUILD_DEPENDS=	libffi>=0:devel/libffi
 LIB_DEPENDS=	libyaml.so:textproc/libyaml