PORTNAME= rdoc PORTVERSION= 6.4.0 CATEGORIES= devel rubygems MASTER_SITES= RG MAINTAINER= ruby@FreeBSD.org COMMENT= RDoc produces HTML and command-line documentation for Ruby projects LICENSE= GPLv2 RUBY LICENSE_COMB= dual LICENSE_FILE_RUBY= ${WRKSRC}/LICENSE.rdoc RUN_DEPENDS= rubygem-psych>=4.0.0:textproc/rubygem-psych USES= cpe gem USE_RUBY= yes NO_ARCH= yes CPE_VENDOR= ruby-lang .include .if ${RUBY_VER} >= 2.7 PLIST_FILES= bin/rdoc bin/ri share/man/man1/ri.1.gz post-install: ${MKDIR} ${STAGEDIR}${PREFIX}/share/man/man1 ${INSTALL_DATA} ${WRKSRC}/man/ri.1 ${STAGEDIR}${PREFIX}/share/man/man1 .elif ${RUBY_VER} == 2.6 # WIP: rdoc wrapper script is installed by ruby port so far, see bug 241554, 237833 post-install: ${RM} ${STAGEDIR}${PREFIX}/bin/rdoc ${STAGEDIR}${PREFIX}/bin/ri .else IGNORE= ${PORTNAME} is included in ${RUBY_PORT} .endif .include