Files
ports/devel/rubygem-irb/Makefile
Koichiro Iwao 6a1c422671 devel/rubygem-{irb,racc}: Return to pool
I would like to maintain these ports as Ruby team.
2021-09-29 17:18:46 +09:00

37 lines
776 B
Makefile

PORTNAME= irb
PORTVERSION= 1.3.7
CATEGORIES= devel rubygems
MASTER_SITES= RG
MAINTAINER= ruby@FreeBSD.org
COMMENT= Interactive Ruby
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
RUN_DEPENDS= rubygem-reline>=0.2.7:devel/rubygem-reline
USES= gem
USE_RUBY= yes
NO_ARCH= yes
.include <bsd.port.pre.mk>
.if ${RUBY_VER} >= 2.7
PLIST_FILES= bin/irb \
share/man/man1/irb.1.gz
post-install:
${MKDIR} ${STAGEDIR}${PREFIX}/share/man/man1
${INSTALL_DATA} ${WRKSRC}/man/irb.1 ${STAGEDIR}${PREFIX}/share/man/man1
.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
.else
IGNORE= ${PORTNAME} is included in lang/${RUBY_NAME}
.endif
.include <bsd.port.post.mk>