aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2002-10-28 07:03:15 +0800
committerknu <knu@FreeBSD.org>2002-10-28 07:03:15 +0800
commit7ae3a5fd6aa2ffed05e6e6b5c329d90c0628bc34 (patch)
tree2c423b3a727aa215ab58f3b117ad5fb55a8dfd27 /math
parent316834418f411eedc4428883ab84c653abda2643 (diff)
downloadfreebsd-ports-gnome-7ae3a5fd6aa2ffed05e6e6b5c329d90c0628bc34.tar.gz
freebsd-ports-gnome-7ae3a5fd6aa2ffed05e6e6b5c329d90c0628bc34.tar.zst
freebsd-ports-gnome-7ae3a5fd6aa2ffed05e6e6b5c329d90c0628bc34.zip
Update to 0.4.
Diffstat (limited to 'math')
-rw-r--r--math/ruby-gnuplot/Makefile15
-rw-r--r--math/ruby-gnuplot/distinfo2
-rw-r--r--math/ruby-gnuplot/pkg-plist5
3 files changed, 10 insertions, 12 deletions
diff --git a/math/ruby-gnuplot/Makefile b/math/ruby-gnuplot/Makefile
index 35a717918c0c..e025d6639e66 100644
--- a/math/ruby-gnuplot/Makefile
+++ b/math/ruby-gnuplot/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= gnuplot
-PORTVERSION= 0.3
+PORTVERSION= 0.4
CATEGORIES= math ruby
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= r${PORTNAME}
@@ -25,21 +25,24 @@ RUBY_SHEBANG_FILES= ${WRKSRC}/*.rb
NO_BUILD= yes
-WRKSRC= ${WRKDIR}/r${PORTNAME}
+WRKSRC= ${WRKDIR}/gplot
post-patch:
${RUBY} -i.orig -p \
- -e 'gsub %r:/usr/bin/gnuplot:, "${LOCALBASE}/bin/gnuplot"' \
- ${WRKSRC}/*.rb
+ -e 'gsub %r:#!/bin/env:, "#!/usr/bin/env"' \
+ ${WRKSRC}/Gnuplot.rb
+ ${RUBY} -i.orig -p \
+ -e 'gsub %r:gplot/Gnuplot:, "Gnuplot"' \
+ ${WRKSRC}/demo.rb
do-install:
${MKDIR} ${RUBY_SITELIBDIR}/gplot
- ${INSTALL_DATA} ${WRKSRC}/[A-Z]*.rb ${RUBY_SITELIBDIR}/gplot/
+ ${INSTALL_DATA} ${WRKSRC}/Gnuplot.rb ${RUBY_SITELIBDIR}/gplot/
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_MODEXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/demo.rb ${RUBY_MODEXAMPLESDIR}/
${MKDIR} ${RUBY_MODDOCDIR}
-.for f in README TODO
+.for f in README
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
.endfor
.endif
diff --git a/math/ruby-gnuplot/distinfo b/math/ruby-gnuplot/distinfo
index 248fa0b0dfb4..664454c557f2 100644
--- a/math/ruby-gnuplot/distinfo
+++ b/math/ruby-gnuplot/distinfo
@@ -1 +1 @@
-MD5 (ruby/rgnuplot-0.3.tar.gz) = 67762a9e0451182a4c5a58aee45e43ed
+MD5 (ruby/rgnuplot-0.4.tar.gz) = dfb8d485ce4975cd66d8ea82e3ca476c
diff --git a/math/ruby-gnuplot/pkg-plist b/math/ruby-gnuplot/pkg-plist
index 507a1b57ff3c..1ec420fe9e8a 100644
--- a/math/ruby-gnuplot/pkg-plist
+++ b/math/ruby-gnuplot/pkg-plist
@@ -1,11 +1,6 @@
-%%RUBY_SITELIBDIR%%/gplot/ContourPlot.rb
%%RUBY_SITELIBDIR%%/gplot/Gnuplot.rb
-%%RUBY_SITELIBDIR%%/gplot/Plot.rb
-%%RUBY_SITELIBDIR%%/gplot/PlotItem.rb
-%%RUBY_SITELIBDIR%%/gplot/Writer.rb
@dirrm %%RUBY_SITELIBDIR%%/gplot
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/demo.rb
%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/TODO
%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%