diff --git a/textproc/rubygem-asciidoctor/Makefile b/textproc/rubygem-asciidoctor/Makefile index 0b7a8acb7d23..544be8c04ba0 100644 --- a/textproc/rubygem-asciidoctor/Makefile +++ b/textproc/rubygem-asciidoctor/Makefile @@ -1,20 +1,27 @@ PORTNAME= asciidoctor PORTVERSION= 2.0.26 +PORTREVISION= 1 CATEGORIES= textproc rubygems MASTER_SITES= RG MAINTAINER= ruby@FreeBSD.org COMMENT= Fast, open source text processor and publishing toolchain WWW= https://asciidoctor.org/ \ https://github.com/asciidoctor/asciidoctor LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE USES= gem NO_ARCH= yes PLIST_FILES= bin/asciidoctor -.include +.include + +.if ${RUBY_VER} >= 4.0 +RUN_DEPENDS+= rubygem-logger>=0:devel/rubygem-logger +.endif + +.include