With the release of 3.2.8 Ruby 3.2 series switched to security fix only phase and will be reach its EoL on March 2026. So change defult version of Ruby to 3.3. Following changes are made to pass exp-run. * Fix build of audio/rubygem-ruby-shout by adding '--with-cflags="-Wno-error=int-conversion"' to CONFIGURE_ARGS. * Build of devel/rubygem-mmap2 fails with Ruby 3.3 and later because of internal API change of Ruby. So mark BROKEN with them. * devel/rubygem-xdg7, sysutils/vagrant and www/redmine51 don't support Ruby 3.3 and later. So mark BROKEN with them. * misc/sdformat and textproc/ruby-rdtool are already marked BROKEN with Ruby 3.2 and build with all other Ruby versions also fails with same error. So mark just BROKEN. * Fix plist error of sysutils/puppet8. * Fix RUN_DEPENDS of textproc/quarto. PR: 286217 Approved by: self (with hat of ruby) Exp-run by: antoine
41 lines
1.1 KiB
Makefile
41 lines
1.1 KiB
Makefile
PORTNAME= rdtool
|
|
PORTVERSION= 0.6.38
|
|
DISTVERSIONPREFIX= v
|
|
CATEGORIES= textproc ruby
|
|
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
|
DIST_SUBDIR= ruby
|
|
|
|
MAINTAINER= ruby@FreeBSD.org
|
|
COMMENT= RD to HTML/man/etc. converter (RD is to Ruby as POD is to Perl)
|
|
WWW= https://github.com/uwabami/rdtool
|
|
|
|
BROKEN= hook /wrkdirs/usr/ports/textproc/ruby-rdtool/work/rdtool-0.6.38/lib/rd/pre-setup.rb failed: undefined method 'exists?' for module FileTest
|
|
|
|
BUILD_DEPENDS= racc:devel/rubygem-racc
|
|
|
|
USES= ruby:setup
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= uwabami
|
|
|
|
RUBY_MODNAME= rd
|
|
|
|
DOCS_EN= README.rd doc/rd-draft.rd
|
|
DOCS_JA= README.rd.ja doc/rd-draft.rd.ja
|
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
|
|
|
post-install:
|
|
${MKDIR} ${STAGEDIR}${RUBY_SITELIBDIR}/rd
|
|
${INSTALL_DATA} ${WRKSRC}/lib/rd/dot.rd2rc ${STAGEDIR}${RUBY_SITELIBDIR}/rd/
|
|
${MKDIR} ${STAGEDIR}${RUBY_MODEXAMPLESDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/lib/rd/dot.rd2rc ${STAGEDIR}${RUBY_MODEXAMPLESDIR}/
|
|
${MKDIR} ${STAGEDIR}${RUBY_MODDOCDIR}/ja
|
|
.for f in ${DOCS_EN}
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${RUBY_MODDOCDIR}/
|
|
.endfor
|
|
.for f in ${DOCS_JA}
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${RUBY_MODDOCDIR}/ja/
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|