summaryrefslogtreecommitdiffstats
path: root/science/gave
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-07-09 00:30:40 +0000
committerpav <pav@FreeBSD.org>2004-07-09 00:30:40 +0000
commit4626acc7be0973345800c171e5365ad8205fb20b (patch)
tree671e4fb81d7a421998e10b92bd73990da07302c8 /science/gave
parentb24c0d6b30f6f07c5dab97233d9ba200f490ba76 (diff)
downloadFreeBSD-ports-4626acc7be0973345800c171e5365ad8205fb20b.zip
FreeBSD-ports-4626acc7be0973345800c171e5365ad8205fb20b.tar.gz
- Update to 1.0.3
PR: ports/68762 Submitted by: Shin'ya Murakami <murakami@ahs.scitec.kobe-u.ac.jp> (maintainer)
Diffstat (limited to 'science/gave')
-rw-r--r--science/gave/Makefile17
-rw-r--r--science/gave/distinfo4
2 files changed, 16 insertions, 5 deletions
diff --git a/science/gave/Makefile b/science/gave/Makefile
index a56bea4..721f0d4 100644
--- a/science/gave/Makefile
+++ b/science/gave/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= gave
-PORTVERSION= 1.0.2
-PORTREVISION= 1
+PORTVERSION= 1.0.3
CATEGORIES= science graphics ruby
MASTER_SITES= http://ruby.gfd-dennou.org/products/gave/
DIST_SUBDIR= ruby
@@ -20,16 +19,28 @@ RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/narray.so:${PORTSDIR}/math/ruby-narray \
${RUBY_SITEARCHLIBDIR}/numru/netcdfraw.so:${PORTSDIR}/math/ruby-netcdf \
${RUBY_SITELIBDIR}/numru/gphys.rb:${PORTSDIR}/science/ruby-gphys \
${RUBY_SITEARCHLIBDIR}/libglade2.so:${PORTSDIR}/devel/ruby-libglade2 \
+ ${RUBY_SITEARCHLIBDIR}/gnome2.so:${PORTSDIR}/x11/ruby-gnome2 \
${RUBY_SITEARCHLIBDIR}/gnomevfs.so:${PORTSDIR}/devel/ruby-gnomevfs
USE_RUBY= yes
NO_BUILD= yes
+USE_REINPLACE= yes
+
+.include <bsd.port.pre.mk>
.if !defined(WITHOUT_NLS)
RUN_DEPENDS+= ${RUBY_SITEARCHLIBDIR}/gettext/_locale.so:${PORTSDIR}/devel/ruby-gettext
+.if ${RUBY_VER} >= 1.7
+RUN_DEPENDS+= ${RUBY_ARCHLIBDIR}/iconv.so:${PORTSDIR}/converters/ruby-iconv
+.else
+RUN_DEPENDS+= ${RUBY_SITEARCHLIBDIR}/iconv.so:${PORTSDIR}/converters/ruby-iconv
+.endif
.endif
+post-patch:
+ @${REINPLACE_CMD} -e 's/sitelibdir\+\"\/numru\/\"\+package/sitelibdir\+\"\/\"\+package/' ${WRKSRC}/install.rb
+
do-install:
@cd ${WRKSRC}/ && ${RUBY} ./install.rb --localedir=${PREFIX}/share/locale/
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/science/gave/distinfo b/science/gave/distinfo
index be6347c..c7b77f0 100644
--- a/science/gave/distinfo
+++ b/science/gave/distinfo
@@ -1,2 +1,2 @@
-MD5 (ruby/gave-1.0.2.tar.gz) = 7eaa687038051959f5fb9c2be0152a73
-SIZE (ruby/gave-1.0.2.tar.gz) = 21333
+MD5 (ruby/gave-1.0.3.tar.gz) = 00249814b6c5572f91de2a01d62f4339
+SIZE (ruby/gave-1.0.3.tar.gz) = 21366
OpenPOWER on IntegriCloud