aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2002-06-11 21:10:51 +0800
committerAkinori MUSHA <knu@FreeBSD.org>2002-06-11 21:10:51 +0800
commitd741903b795b50608f41261550ecb594bf0a5cc9 (patch)
tree85d8046da60d9784fb1d21ab49bb1d212f06918f /math
parented16649ab304c5d091c00a33f2a27e399ec49619 (diff)
downloadfreebsd-ports-d741903b795b50608f41261550ecb594bf0a5cc9.tar.gz
freebsd-ports-d741903b795b50608f41261550ecb594bf0a5cc9.tar.zst
freebsd-ports-d741903b795b50608f41261550ecb594bf0a5cc9.zip
Update to 0.3.
Notes
Notes: svn path=/head/; revision=61108
Diffstat (limited to 'math')
-rw-r--r--math/ruby-gnuplot/Makefile12
-rw-r--r--math/ruby-gnuplot/distinfo2
-rw-r--r--math/ruby-gnuplot/pkg-plist2
3 files changed, 11 insertions, 5 deletions
diff --git a/math/ruby-gnuplot/Makefile b/math/ruby-gnuplot/Makefile
index db950fe649a7..5e4b6ee8472e 100644
--- a/math/ruby-gnuplot/Makefile
+++ b/math/ruby-gnuplot/Makefile
@@ -6,10 +6,12 @@
#
PORTNAME= gnuplot
-PORTVERSION= 0.2
+PORTVERSION= 0.3
CATEGORIES= math ruby
-MASTER_SITES= http://physci.gmu.edu/~gmiller/gnuplot/
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= r${PORTNAME}
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
+DISTNAME= r${PORTNAME}-${PORTVERSION}
DIST_SUBDIR= ruby
MAINTAINER= knu@FreeBSD.org
@@ -23,7 +25,7 @@ RUBY_SHEBANG_FILES= ${WRKSRC}/*.rb
NO_BUILD= yes
-WRKSRC= ${WRKDIR}/gplot
+WRKSRC= ${WRKDIR}/r${PORTNAME}
post-patch:
${RUBY} -i.orig -p \
@@ -32,8 +34,10 @@ post-patch:
do-install:
${MKDIR} ${RUBY_SITELIBDIR}/gplot
- ${INSTALL_DATA} ${WRKSRC}/*.rb ${RUBY_SITELIBDIR}/gplot/
+ ${INSTALL_DATA} ${WRKSRC}/[A-Z]*.rb ${RUBY_SITELIBDIR}/gplot/
.if !defined(NOPORTDOCS)
+ ${MKDIR} ${RUBY_EXAMPLESDIR}/${PORTNAME}
+ ${INSTALL_DATA} ${WRKSRC}/demo.rb ${RUBY_EXAMPLESDIR}/${PORTNAME}/
${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}
.for f in README TODO
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/
diff --git a/math/ruby-gnuplot/distinfo b/math/ruby-gnuplot/distinfo
index 5fd6db4a5320..248fa0b0dfb4 100644
--- a/math/ruby-gnuplot/distinfo
+++ b/math/ruby-gnuplot/distinfo
@@ -1 +1 @@
-MD5 (ruby/gnuplot-0.2.tar.gz) = d433aaa10871dc32f87df4e186307046
+MD5 (ruby/rgnuplot-0.3.tar.gz) = 67762a9e0451182a4c5a58aee45e43ed
diff --git a/math/ruby-gnuplot/pkg-plist b/math/ruby-gnuplot/pkg-plist
index 5624f7d7281a..0b0d5af44b3c 100644
--- a/math/ruby-gnuplot/pkg-plist
+++ b/math/ruby-gnuplot/pkg-plist
@@ -4,6 +4,8 @@
%%RUBY_SITELIBDIR%%/gplot/PlotItem.rb
%%RUBY_SITELIBDIR%%/gplot/Writer.rb
@dirrm %%RUBY_SITELIBDIR%%/gplot
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gnuplot/demo.rb
+%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/gnuplot
%%PORTDOCS%%%%RUBY_DOCDIR%%/gnuplot/README
%%PORTDOCS%%%%RUBY_DOCDIR%%/gnuplot/TODO
%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/gnuplot