aboutsummaryrefslogtreecommitdiff
path: root/science
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-07-09 00:30:40 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-07-09 00:30:40 +0000
commitf0e1deaef6e2bcd5cf9dc1df6d2f8e25de63ee71 (patch)
tree0f169242cae6bc6c22eb21c9912f9d21b54a6d41 /science
parent4db3287849ba3e3ee32e02f042ad92ec353938d8 (diff)
downloadports-f0e1deaef6e2bcd5cf9dc1df6d2f8e25de63ee71.tar.gz
ports-f0e1deaef6e2bcd5cf9dc1df6d2f8e25de63ee71.zip
Notes
Diffstat (limited to 'science')
-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 a56bea41b299..721f0d4240bc 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 be6347c7a5b1..c7b77f0a6682 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