Changeset View
Changeset View
Standalone View
Standalone View
devel/rubygem-irb/Makefile
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= irb | PORTNAME= irb | ||||
PORTVERSION= 1.2.3 | PORTVERSION= 1.2.3 | ||||
PORTREVISION= 1 | |||||
CATEGORIES= devel rubygems | CATEGORIES= devel rubygems | ||||
MASTER_SITES= RG | MASTER_SITES= RG | ||||
MAINTAINER= meta@FreeBSD.org | MAINTAINER= meta@FreeBSD.org | ||||
COMMENT= Interactive Ruby | COMMENT= Interactive Ruby | ||||
LICENSE= BSD2CLAUSE | LICENSE= BSD2CLAUSE | ||||
LICENSE_FILE= ${WRKSRC}/LICENSE.txt | LICENSE_FILE= ${WRKSRC}/LICENSE.txt | ||||
RUN_DEPENDS= rubygem-reline>=0.0.1:devel/rubygem-reline | RUN_DEPENDS= rubygem-reline>=0.0.1:devel/rubygem-reline | ||||
USES= gem | USES= gem | ||||
USE_RUBY= yes | USE_RUBY= yes | ||||
NO_ARCH= yes | NO_ARCH= yes | ||||
.include <bsd.port.pre.mk> | .include <bsd.port.pre.mk> | ||||
.if ${RUBY_VER} < 2.6 | .if ${RUBY_VER} >= 2.7 | ||||
IGNORE= irb is included in lang/${RUBY_NAME} | PLIST_FILES= bin/irb \ | ||||
.endif | share/man/man1/irb.1.gz | ||||
# irb executable is installed by ruby port | |||||
post-install: | post-install: | ||||
${MKDIR} ${STAGEDIR}${PREFIX}/share/man/man1 | |||||
${INSTALL_DATA} ${WRKSRC}/man/irb.1 | |||||
.elif ${RUBY_VER} == 2.6 | |||||
# WIP: irb wrapper script is installed by ruby port so far, see bug 241554, 237833 | |||||
post-install: | |||||
${RM} ${STAGEDIR}${PREFIX}/bin/irb | ${RM} ${STAGEDIR}${PREFIX}/bin/irb | ||||
.else | |||||
IGNORE= ${PORTNAME} is included in lang/${RUBY_NAME} | |||||
.endif | |||||
.include <bsd.port.post.mk> | .include <bsd.port.post.mk> |