ports/68762: [maintainer-update] update science/gave to 1.0.3 andfix dependencies
Shin'ya Murakami
murakami at ahs.scitec.kobe-u.ac.jp
Wed Jul 7 09:50:15 UTC 2004
>Number: 68762
>Category: ports
>Synopsis: [maintainer-update] update science/gave to 1.0.3 and fix dependencies
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Wed Jul 07 09:50:13 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Shin'ya Murakami
>Release: FreeBSD 5.2-CURRENT i386
>Organization:
>Environment:
System: FreeBSD faris.lodoss.forceria 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Sat Jun 5 19:53:41 JST 2004 murashin at faris.lodoss.forceria:/cvs/obj/mg/cvs/freebsd/src/sys/FARIS i386
>Description:
update to 1.0.3, and fix dependencies.
ruby-gettext optionally depends ruby-iconv,
and also ruby-libglade2 optionally depends ruby-gnome2.
gave uses these optional functions, so requires these ports.
In addition, installer in this version needs to be fixed
about an install place.
>How-To-Repeat:
N/A
>Fix:
--- gave.diff begins here ---
diff -ur /usr/ports/science/gave/Makefile gave/Makefile
--- /usr/ports/science/gave/Makefile Wed Jul 7 06:52:26 2004
+++ gave/Makefile Wed Jul 7 18:03:43 2004
@@ -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,26 @@
${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
do-install:
+ @${REINPLACE_CMD} -e 's/sitelibdir\+\"\/numru\/\"\+package/sitelibdir\+package/' ${WRKSRC}/install.rb
@cd ${WRKSRC}/ && ${RUBY} ./install.rb --localedir=${PREFIX}/share/locale/
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff -ur /usr/ports/science/gave/distinfo gave/distinfo
--- /usr/ports/science/gave/distinfo Sat Jun 5 06:52:37 2004
+++ gave/distinfo Wed Jul 7 17:25:48 2004
@@ -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
--- gave.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list