aboutsummaryrefslogtreecommitdiffstats
path: root/math/ruby-bigfloat
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2001-03-29 01:03:41 +0800
committerknu <knu@FreeBSD.org>2001-03-29 01:03:41 +0800
commitd18a3226612aaa33794ff38dee37f945741b0aca (patch)
tree77c0163a93e863e7cfc64b05af9b801eaf78d1f1 /math/ruby-bigfloat
parent42771522cfab37a2d83126c74165aeba27e44d03 (diff)
downloadfreebsd-ports-gnome-d18a3226612aaa33794ff38dee37f945741b0aca.tar.gz
freebsd-ports-gnome-d18a3226612aaa33794ff38dee37f945741b0aca.tar.zst
freebsd-ports-gnome-d18a3226612aaa33794ff38dee37f945741b0aca.zip
Update to 1.1.6.
Diffstat (limited to 'math/ruby-bigfloat')
-rw-r--r--math/ruby-bigfloat/Makefile25
-rw-r--r--math/ruby-bigfloat/distinfo4
2 files changed, 22 insertions, 7 deletions
diff --git a/math/ruby-bigfloat/Makefile b/math/ruby-bigfloat/Makefile
index 4c4d6240e7be..7bad6745f072 100644
--- a/math/ruby-bigfloat/Makefile
+++ b/math/ruby-bigfloat/Makefile
@@ -6,11 +6,13 @@
#
PORTNAME= bigfloat
-PORTVERSION= 1.1.5
+PORTVERSION= 1.1.6
CATEGORIES= math ruby
MASTER_SITES= http://www.tinyforest.gr.jp/ruby/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${PORTNAME}.html ${PORTNAME}_en.html
DIST_SUBDIR= ruby
+EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= knu@FreeBSD.org
@@ -20,13 +22,24 @@ USE_RUBY_EXTCONF= yes
NO_WRKSUBDIR= yes
INSTALL_TARGET= site-install
+DOCS_EN= README ${PORTNAME}_en.html
+DOCS_JA= ${PORTNAME}.html
+
+post-extract:
+ ${RUBY} -pe 'gsub %r|\./(${PORTNAME}_en.html)|, "../\\1"' \
+ ${_DISTDIR}/${PORTNAME}.html > ${WRKSRC}/${PORTNAME}.html
+ ${RUBY} -pe 'gsub %r|\./(${PORTNAME}.html)|, "./ja/\\1"' \
+ ${_DISTDIR}/${PORTNAME}_en.html > ${WRKSRC}/${PORTNAME}_en.html
+
post-install:
.if !defined(NOPORTDOCS)
- ${MKDIR} ${RUBY_DOCDIR}/bigfloat/ja
- ${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/bigfloat_en.html \
- ${RUBY_DOCDIR}/bigfloat
- ${INSTALL_DATA} ${WRKSRC}/bigfloat.html \
- ${RUBY_DOCDIR}/bigfloat/ja
+ ${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}/ja
+.for f in ${DOCS_EN}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/
+.endfor
+.for f in ${DOCS_JA}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/ja/
+.endfor
.endif
.include <bsd.port.mk>
diff --git a/math/ruby-bigfloat/distinfo b/math/ruby-bigfloat/distinfo
index 318019338790..e14e5b4e8fde 100644
--- a/math/ruby-bigfloat/distinfo
+++ b/math/ruby-bigfloat/distinfo
@@ -1 +1,3 @@
-MD5 (ruby/bigfloat-1.1.5.tar.gz) = e11581339af4efc8d1505062fd09377b
+MD5 (ruby/bigfloat-1.1.6.tar.gz) = 29ffba8bf4bf535fccd247fc49065f19
+MD5 (ruby/bigfloat.html) = dcaf49e13f13cad6978f9e0d24f18e37
+MD5 (ruby/bigfloat_en.html) = 8ce760f62a03b11a807bde94eafef07f