aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorashish <ashish@FreeBSD.org>2014-07-06 05:49:51 +0800
committerashish <ashish@FreeBSD.org>2014-07-06 05:49:51 +0800
commitd93bc2873989ade8cc00b768cc7860a5fa11bd9a (patch)
tree2342f25c4fffb1caeae9edff0361de9099b3eb4a /lang
parent7c49aa0ccca5fba04f5bf87d06f9975a457d8446 (diff)
downloadfreebsd-ports-gnome-d93bc2873989ade8cc00b768cc7860a5fa11bd9a.tar.gz
freebsd-ports-gnome-d93bc2873989ade8cc00b768cc7860a5fa11bd9a.tar.zst
freebsd-ports-gnome-d93bc2873989ade8cc00b768cc7860a5fa11bd9a.zip
- Update to 2.2.10
Diffstat (limited to 'lang')
-rw-r--r--lang/rubinius/Makefile18
-rw-r--r--lang/rubinius/distinfo10
2 files changed, 22 insertions, 6 deletions
diff --git a/lang/rubinius/Makefile b/lang/rubinius/Makefile
index 8184dbca03ae..b48f4ee6a70a 100644
--- a/lang/rubinius/Makefile
+++ b/lang/rubinius/Makefile
@@ -2,9 +2,15 @@
# $FreeBSD$
PORTNAME= rubinius
-PORTVERSION= 2.2.9
+PORTVERSION= 2.2.10
CATEGORIES= lang
-MASTER_SITES= http://releases.rubini.us/
+MASTER_SITES= http://releases.rubini.us/:source \
+ RG:gems
+DISTFILES= redcard-1.1.0.gem:gems \
+ rubinius-bridge-1.0.8.gem:gems \
+ daedalus-core-0.0.3.gem:gems \
+ ${DISTNAME}${EXTRACT_SUFX}:source
+EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= ashish@FreeBSD.org
COMMENT= LLVM based ruby language implementation
@@ -31,8 +37,7 @@ CONFIGURE_ARGS= -P "${PREFIX}" \
--vendordir "${PREFIX}/lib/ruby/vendor_ruby/rubinius" \
--stagingdir "${STAGEDIR}${PREFIX}" --with-execinfo
-USE_BZIP2= yes
-USES= perl5 gmake
+USES= perl5 gmake tar:bzip2
USE_RUBY= yes
RUBY_NO_RUN_DEPENDS= yes
USE_PERL5= build
@@ -69,6 +74,11 @@ F_ARCH= x86_64
F_ARCH= x86
.endif
+post-extract:
+.for DF in ${DISTFILES}
+ @${LN} -s ${DISTDIR}/${DF:C/:gems//g} ${WRKSRC}/vendor/cache/
+.endfor
+
post-patch:
@${GREP} -Rl '#!.*ruby$$' ${WRKSRC} |${XARGS} ${REINPLACE_CMD} -e '/^#!.*ruby$$/s/ruby$$/${RUBY_NAME}/g'
diff --git a/lang/rubinius/distinfo b/lang/rubinius/distinfo
index 4461f8366499..509c7eeead31 100644
--- a/lang/rubinius/distinfo
+++ b/lang/rubinius/distinfo
@@ -1,2 +1,8 @@
-SHA256 (rubinius-2.2.9.tar.bz2) = 7b01a7f2508167e73b5273b4e55e6616fc7fd975e79c84c4d2e3ef83d849d2ce
-SIZE (rubinius-2.2.9.tar.bz2) = 11409258
+SHA256 (redcard-1.1.0.gem) = 60c73d440f29fc3577eec86de00d55ee5351647d2d450ea48bc6d2ae5a62b8fc
+SIZE (redcard-1.1.0.gem) = 9728
+SHA256 (rubinius-bridge-1.0.8.gem) = 7bde9a12008e5c0651500fca6c8954ef48c5cfcfc77556592ebfbddbc81a2611
+SIZE (rubinius-bridge-1.0.8.gem) = 8192
+SHA256 (daedalus-core-0.0.3.gem) = 5afc30b5c20f1d307837be9cb4f99ccbe33587cc48f09793e62148ac5d123c08
+SIZE (daedalus-core-0.0.3.gem) = 14336
+SHA256 (rubinius-2.2.10.tar.bz2) = 3cb1a6ab2eba19b6dc84734666bb17a34332d247641b1a88b4c9324c69347780
+SIZE (rubinius-2.2.10.tar.bz2) = 11388721