Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- While I'm here: - Use upstream release tarball - Use tab instead of space - Add NO_ARCH - Add NO_BUILD - Use INSTALL_MAN: COPYTREE_BIN brings incorrect file mode (+x) to ruby-install.1.gz - Use . instead of \* - Use DATADIR Changes: https://github.com/postmodern/ruby-install/releases PR: 273273 Reported by: Henry Phan <henry@henryphan.com> (maintainer)
- Loading branch information
Showing
3 changed files
with
37 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,25 @@ | ||
PORTNAME= ruby-install | ||
PORTVERSION= 0.9.0 | ||
DISTVERSIONPREFIX= v | ||
CATEGORIES= devel ruby | ||
PORTNAME= ruby-install | ||
PORTVERSION= 0.9.1 | ||
CATEGORIES= devel ruby | ||
MASTER_SITES= https://github.com/postmodern/ruby-install/releases/download/v${PORTVERSION}/ | ||
|
||
MAINTAINER= henry@henryphan.com | ||
COMMENT= Compile and install different versions of Ruby | ||
MAINTAINER= henry@henryphan.com | ||
COMMENT= Compile and install different versions of Ruby | ||
WWW= https://github.com/postmodern/ruby-install | ||
|
||
LICENSE= MIT | ||
LICENSE_FILE= ${WRKSRC}/LICENSE.txt | ||
LICENSE= MIT | ||
LICENSE_FILE= ${WRKSRC}/LICENSE.txt | ||
|
||
RUN_DEPENDS= bash:shells/bash curl:ftp/curl sudo:security/sudo | ||
RUN_DEPENDS= bash:shells/bash \ | ||
curl:ftp/curl \ | ||
sudo:security/sudo | ||
|
||
USE_GITHUB= yes | ||
GH_ACCOUNT= postmodern | ||
NO_ARCH= yes | ||
NO_BUILD= yes | ||
|
||
do-install: | ||
${INSTALL_SCRIPT} ${WRKSRC}/bin/ruby-install ${STAGEDIR}${PREFIX}/bin | ||
( cd ${WRKSRC}/share/man/man1 && ${COPYTREE_BIN} \* ${STAGEDIR}${PREFIX}/share/man/man1 ) | ||
( cd ${WRKSRC}/share/ruby-install && ${COPYTREE_BIN} \* ${STAGEDIR}${PREFIX}/share/ruby-install ) | ||
${INSTALL_MAN} ${WRKSRC}/share/man/man1/ruby-install.1 ${STAGEDIR}${PREFIX}/share/man/man1 | ||
(cd ${WRKSRC}/share/ruby-install && ${COPYTREE_BIN} . ${STAGEDIR}${DATADIR}) | ||
|
||
.include <bsd.port.mk> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
TIMESTAMP = 1682250007 | ||
SHA256 (postmodern-ruby-install-v0.9.0_GH0.tar.gz) = 72cc31a47b9c5cf113aee878b4120830469160119087a18037755d195ce431af | ||
SIZE (postmodern-ruby-install-v0.9.0_GH0.tar.gz) = 34536 | ||
TIMESTAMP = 1692822498 | ||
SHA256 (ruby-install-0.9.1.tar.gz) = 9265d5d7d7ca7eb9b4130655b386d99168ef1a31f9aecd761d411e4d71caec9a | ||
SIZE (ruby-install-0.9.1.tar.gz) = 35636 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
bin/ruby-install | ||
share/man/man1/ruby-install.1.gz | ||
share/ruby-install/checksums.sh | ||
share/ruby-install/functions.sh | ||
share/ruby-install/jruby/dependencies.txt | ||
share/ruby-install/jruby/functions.sh | ||
share/ruby-install/logging.sh | ||
share/ruby-install/mruby/dependencies.txt | ||
share/ruby-install/mruby/functions.sh | ||
share/ruby-install/package_manager.sh | ||
share/ruby-install/ruby-install.sh | ||
share/ruby-install/ruby-versions.sh | ||
share/ruby-install/ruby/dependencies.txt | ||
share/ruby-install/ruby/functions.sh | ||
share/ruby-install/system.sh | ||
share/ruby-install/truffleruby-graalvm/dependencies.txt | ||
share/ruby-install/truffleruby-graalvm/functions.sh | ||
share/ruby-install/truffleruby/dependencies.txt | ||
share/ruby-install/truffleruby/functions.sh | ||
share/ruby-install/util.sh | ||
share/ruby-install/versions.sh | ||
%%DATADIR%%/checksums.sh | ||
%%DATADIR%%/functions.sh | ||
%%DATADIR%%/jruby/dependencies.txt | ||
%%DATADIR%%/jruby/functions.sh | ||
%%DATADIR%%/logging.sh | ||
%%DATADIR%%/mruby/dependencies.txt | ||
%%DATADIR%%/mruby/functions.sh | ||
%%DATADIR%%/package_manager.sh | ||
%%DATADIR%%/ruby-install.sh | ||
%%DATADIR%%/ruby-versions.sh | ||
%%DATADIR%%/ruby/dependencies.txt | ||
%%DATADIR%%/ruby/functions.sh | ||
%%DATADIR%%/system.sh | ||
%%DATADIR%%/truffleruby-graalvm/dependencies.txt | ||
%%DATADIR%%/truffleruby-graalvm/functions.sh | ||
%%DATADIR%%/truffleruby/dependencies.txt | ||
%%DATADIR%%/truffleruby/functions.sh | ||
%%DATADIR%%/util.sh | ||
%%DATADIR%%/versions.sh |