diff --git a/devel/ruby-build/Makefile b/devel/ruby-build/Makefile index f3fd99683119..86a007ea5d03 100644 --- a/devel/ruby-build/Makefile +++ b/devel/ruby-build/Makefile @@ -1,44 +1,47 @@ PORTNAME= ruby-build PORTVERSION= 20250205 +PORTREVISION= 1 DISTVERSIONPREFIX= v CATEGORIES= devel ruby MAINTAINER= ruby@FreeBSD.org COMMENT= Compile and install different ruby versions WWW= https://github.com/rbenv/ruby-build LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE # ruby-build builds Ruby so these are needed at run-time. # warnings by portlint are not correct. keep this. RUN_DEPENDS= autoconf>0:devel/autoconf \ curl:ftp/curl \ - gmake:devel/gmake + gmake:devel/gmake \ + ${LOCALBASE}/libdata/pkgconfig/libffi.pc:devel/libffi \ + ${LOCALBASE}/libdata/pkgconfig/yaml-0.1.pc:textproc/libyaml USE_GITHUB= yes GH_ACCOUNT= rbenv NO_ARCH= yes NO_BUILD= yes PLIST_FILES= bin/ruby-build \ libexec/rbenv-install \ libexec/rbenv-uninstall \ share/man/man1/ruby-build.1.gz PORTDATA= * OPTIONS_DEFINE= RBENV OPTIONS_DEFAULT=RBENV RBENV_DESC= Install rbenv for installation support RBENV_RUN_DEPENDS= rbenv:devel/rbenv do-install: ${INSTALL_MAN} ${WRKSRC}/share/man/man1/ruby-build.1 ${STAGEDIR}${PREFIX}/share/man/man1 ${INSTALL_SCRIPT} ${WRKSRC}/bin/ruby-build ${STAGEDIR}${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKSRC}/bin/rbenv-install ${STAGEDIR}${PREFIX}/libexec ${INSTALL_SCRIPT} ${WRKSRC}/bin/rbenv-uninstall ${STAGEDIR}${PREFIX}/libexec @${MKDIR} ${STAGEDIR}${DATADIR} (cd ${WRKSRC}/share/ruby-build && ${COPYTREE_BIN} . ${STAGEDIR}${DATADIR}) .include