2000-08-12 20:09:41 +00:00
|
|
|
# New ports collection makefile for: irb
|
|
|
|
# Date created: 19 April 1999
|
|
|
|
# Whom: Yasuhiro Fukuma <yasuf@big.or.jp>
|
1999-07-13 02:56:48 +00:00
|
|
|
#
|
1999-08-25 06:35:40 +00:00
|
|
|
# $FreeBSD$
|
1999-07-13 02:56:48 +00:00
|
|
|
#
|
|
|
|
|
2000-04-12 06:21:15 +00:00
|
|
|
PORTNAME= irb
|
|
|
|
PORTVERSION= 0.6.1
|
2000-08-16 12:21:24 +00:00
|
|
|
CATEGORIES= lang ruby
|
2000-09-05 12:44:13 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_RUBY}
|
|
|
|
MASTER_SITE_SUBDIR= contrib
|
2000-09-07 05:44:06 +00:00
|
|
|
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
1999-07-13 02:56:48 +00:00
|
|
|
EXTRACT_SUFX= .tgz
|
2000-08-12 20:35:31 +00:00
|
|
|
DIST_SUBDIR= ruby
|
1999-07-13 02:56:48 +00:00
|
|
|
|
|
|
|
MAINTAINER= yasuf@big.or.jp
|
|
|
|
|
2000-09-07 05:44:06 +00:00
|
|
|
RUBY_VER= 1.4
|
1999-07-13 02:56:48 +00:00
|
|
|
|
2000-09-07 05:44:06 +00:00
|
|
|
USE_RUBY= yes
|
2000-08-12 20:09:41 +00:00
|
|
|
|
2000-09-07 05:44:06 +00:00
|
|
|
NO_BUILD= yes
|
1999-07-13 02:56:48 +00:00
|
|
|
|
2000-09-07 05:44:06 +00:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
1999-07-13 02:56:48 +00:00
|
|
|
|
1999-11-14 01:42:00 +00:00
|
|
|
post-patch:
|
2000-08-12 20:09:41 +00:00
|
|
|
${PERL} -i -pe '$$. == 1 && s,^#!\s*\S+,#!${RUBY},' ${WRKSRC}/irb.rb
|
1999-11-14 01:42:00 +00:00
|
|
|
${RM} -f ${WRKSRC}/instirb.rb
|
|
|
|
|
1999-07-13 02:56:48 +00:00
|
|
|
do-install:
|
2000-09-07 05:44:06 +00:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/irb.rb ${PREFIX}/bin/irb${_RUBY_SUFFIX}
|
|
|
|
${LN} -fs irb${_RUBY_SUFFIX} ${PREFIX}/bin/irb
|
|
|
|
${MKDIR} ${RUBY_LIBDIR}/irb
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/*.rb ${RUBY_LIBDIR}/irb
|
1999-08-26 21:09:21 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
2000-09-07 05:44:06 +00:00
|
|
|
${MKDIR} ${RUBY_DOCDIR}/irb
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README* ${RUBY_DOCDIR}/irb
|
1999-08-26 21:09:21 +00:00
|
|
|
.endif
|
1999-07-13 02:56:48 +00:00
|
|
|
|
2000-09-26 08:02:17 +00:00
|
|
|
.include <bsd.port.mk>
|