aboutsummaryrefslogtreecommitdiffstats
path: root/lang/jruby
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2002-08-13 22:27:57 +0800
committerknu <knu@FreeBSD.org>2002-08-13 22:27:57 +0800
commite37f596329e0e7cd6fb86cead4b95105d4aaacdf (patch)
treea13e0f2e6563671658f8b462623c98b366a87590 /lang/jruby
parentf81b880625abebf9d0a1e807865b54242b1fbd1e (diff)
downloadfreebsd-ports-gnome-e37f596329e0e7cd6fb86cead4b95105d4aaacdf.tar.gz
freebsd-ports-gnome-e37f596329e0e7cd6fb86cead4b95105d4aaacdf.tar.zst
freebsd-ports-gnome-e37f596329e0e7cd6fb86cead4b95105d4aaacdf.zip
Update to 0.5.1.
Install source files properly.
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