Xavier Beaudouin ee5c766cba */*: Introduction USES=sudo
A new uses 'sudo' has been added to transperently depends of the
proper flavor of sudo 'default' or 'sssd' depending on the default
version set by the user.

If you prefere to use 'sssd' flavor of sudo, add the following
to your make.conf:

        DEFAULT_VERSIONS+=sudo=sssd

All sudo consummer ports has benn updated to USES=sudo

Reviewed by:    0mp
Approved by:    mat
Sponsored by:   Klara, Inc.
Differential Revision:	https://reviews.freebsd.org/D52160
2025-11-11 04:16:23 +01:00

26 lines
713 B
Makefile

PORTNAME= ruby-install
DISTVERSION= 0.10.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
WWW= https://github.com/postmodern/ruby-install
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
RUN_DEPENDS= bash:shells/bash \
curl:ftp/curl
USES= sudo
NO_ARCH= yes
NO_BUILD= yes
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/bin/ruby-install ${STAGEDIR}${PREFIX}/bin
${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>