aboutsummaryrefslogtreecommitdiff
path: root/lang/jruby
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2002-08-13 14:27:57 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2002-08-13 14:27:57 +0000
commit8e32747feea0cf51271d986722fd8e6cc11f6a7d (patch)
treed081857c61f0a19e4201a8611ba329b868619504 /lang/jruby
parent257e5bec5cb2a373333b0d9620db7126ec2c3641 (diff)
downloadports-8e32747feea0cf51271d986722fd8e6cc11f6a7d.tar.gz
ports-8e32747feea0cf51271d986722fd8e6cc11f6a7d.zip
Notes
Diffstat (limited to 'lang/jruby')
-rw-r--r--lang/jruby/Makefile16
-rw-r--r--lang/jruby/distinfo4
2 files changed, 14 insertions, 6 deletions
diff --git a/lang/jruby/Makefile b/lang/jruby/Makefile
index be0df97d2769..e9564fa7998e 100644
--- a/lang/jruby/Makefile
+++ b/lang/jruby/Makefile
@@ -6,12 +6,13 @@
#
PORTNAME= jruby
-PORTVERSION= 0.5.0
+PORTVERSION= 0.5.1
CATEGORIES= lang ruby java
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
-DISTFILES= ${PORTNAME}-${PORTVERSION:S/./_/g}${EXTRACT_SUFX}
+DISTFILES= ${BINDIST}
DIST_SUBDIR= ruby
+EXTRACT_ONLY= ${BINDIST}
MAINTAINER= knu@FreeBSD.org
@@ -22,13 +23,20 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:S/./_/g}
JAVA?= ${LOCALBASE}/bin/javavm
+BINDIST= ${PORTNAME}-${PORTVERSION:S/./_/g}${EXTRACT_SUFX}
+SRCDIST= ${PORTNAME}-src-${PORTVERSION:S/./_/g}${EXTRACT_SUFX}
+
.if !defined(NOPORTDOCS)
-DISTFILES+= ${PORTNAME}-src-${PORTVERSION:S/./_/g}${EXTRACT_SUFX}
+DISTFILES+= ${SRCDIST}
-FILES= README samples
+FILES= README samples src
.endif
post-extract:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${WRKSRC}/src
+ cd ${WRKSRC}/src; ${TAR} zxf ${DISTDIR}/${DIST_SUBDIR}/${SRCDIST}
+.endif
${FIND} ${WRKSRC} -name '*.swp' -delete
do-build:
diff --git a/lang/jruby/distinfo b/lang/jruby/distinfo
index ffd42795a568..eeb86125330f 100644
--- a/lang/jruby/distinfo
+++ b/lang/jruby/distinfo
@@ -1,2 +1,2 @@
-MD5 (ruby/jruby-0_5_0.tar.gz) = 3c64874719bd4ee78133561bc0a4411a
-MD5 (ruby/jruby-src-0_5_0.tar.gz) = cb088bab2d02b0270b2bf4df39182c32
+MD5 (ruby/jruby-0_5_1.tar.gz) = c119187311e3402ff952c981094f2d38
+MD5 (ruby/jruby-src-0_5_1.tar.gz) = 788b7fa96a06983db3ab7603d7ac43ff