--- Makefile (revision 515742) +++ Makefile (working copy) @@ -2,6 +2,7 @@ PORTNAME= rdoc PORTVERSION= 6.1.2 +PORTREVISION= 1 CATEGORIES= devel rubygems MASTER_SITES= RG @@ -17,7 +18,13 @@ NO_ARCH= yes +.include + +.if ${RUBY_VER} >= 2.6 +PLIST_FILES= bin/rdoc bin/ri +.else post-install: ${RM} ${STAGEDIR}${PREFIX}/bin/rdoc ${STAGEDIR}${PREFIX}/bin/ri +.endif -.include +.include