diff --git a/devel/rubygem-better_html-rails61/Makefile b/devel/rubygem-better_html-rails61/Makefile
index ad1a8eeb6550..e2a8da75bfc3 100644
--- a/devel/rubygem-better_html-rails61/Makefile
+++ b/devel/rubygem-better_html-rails61/Makefile
@@ -1,23 +1,26 @@
PORTNAME= better_html
DISTVERSION= 2.1.1
CATEGORIES= devel rubygems
MASTER_SITES= RG
PKGNAMESUFFIX= -rails61
MAINTAINER= bofh@FreeBSD.org
COMMENT= Better HTML for Rails
WWW= https://github.com/Shopify/better-html
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/MIT-LICENSE
+DEPRECATED= Ruby on Rails 6.1.x reaches EOL on 2024-10-01
+EXPIRATION_DATE= 2024-10-25
+
RUN_DEPENDS= rubygem-actionview61>=6.0:devel/rubygem-actionview61 \
rubygem-activesupport61>=6.0:devel/rubygem-activesupport61 \
rubygem-ast>=2.0:devel/rubygem-ast \
rubygem-erubi>=1.4:www/rubygem-erubi \
rubygem-parser>=2.4:devel/rubygem-parser \
rubygem-smart_properties>0:devel/rubygem-smart_properties
USES= gem
.include