Update to 0.2.

This commit is contained in:
Akinori MUSHA
2002-02-22 15:37:05 +00:00
parent 1a89290626
commit 80c03469d9
3 changed files with 11 additions and 7 deletions

View File

@@ -6,11 +6,10 @@
#
PORTNAME= gnuplot
PORTVERSION= 0
PORTVERSION= 0.2
CATEGORIES= math ruby
MASTER_SITES= http://physci.gmu.edu/~gmiller/gnuplot/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DISTNAME= ${PORTNAME}
DIST_SUBDIR= ruby
MAINTAINER= knu@FreeBSD.org
@@ -20,13 +19,14 @@ RUN_DEPENDS= ${LOCALBASE}/bin/gnuplot:${PORTSDIR}/math/gnuplot \
USE_RUBY= yes
RUBY_SHEBANG_FILES= ${WRKSRC}/*.rb
NO_BUILD= yes
WRKSRC= ${WRKDIR}/gplot
post-patch:
${RUBY} -i.orig -p \
-e 'gsub %r:/bin/env:, "/usr/bin/env"' \
-e 'gsub %r:/usr/bin/gnuplot:, "${LOCALBASE}/bin/gnuplot"' \
${WRKSRC}/*.rb
@@ -34,8 +34,10 @@ do-install:
${MKDIR} ${RUBY_SITELIBDIR}/gplot
${INSTALL_DATA} ${WRKSRC}/*.rb ${RUBY_SITELIBDIR}/gplot/
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_DOCDIR}/gnuplot
${INSTALL_DATA} ${WRKSRC}/README ${RUBY_DOCDIR}/gnuplot/
${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}
.for f in README TODO
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/
.endfor
.endif
.include <bsd.port.mk>

View File

@@ -1 +1 @@
MD5 (ruby/gnuplot.tar.gz) = 116aee9fa199a944fe7794856a329fa1
MD5 (ruby/gnuplot-0.2.tar.gz) = d433aaa10871dc32f87df4e186307046

View File

@@ -1,7 +1,9 @@
%%RUBY_SITELIBDIR%%/gplot/ContourPlot.rb
%%RUBY_SITELIBDIR%%/gplot/Gnuplot.rb
%%RUBY_SITELIBDIR%%/gplot/Plot.rb
%%RUBY_SITELIBDIR%%/gplot/PlotItem.rb
%%RUBY_SITELIBDIR%%/gplot/Stream.rb
%%RUBY_SITELIBDIR%%/gplot/Writer.rb
@dirrm %%RUBY_SITELIBDIR%%/gplot
%%PORTDOCS%%%%RUBY_DOCDIR%%/gnuplot/README
%%PORTDOCS%%%%RUBY_DOCDIR%%/gnuplot/TODO
%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/gnuplot