Update to 0.2.
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -1 +1 @@
|
||||
MD5 (ruby/gnuplot.tar.gz) = 116aee9fa199a944fe7794856a329fa1
|
||||
MD5 (ruby/gnuplot-0.2.tar.gz) = d433aaa10871dc32f87df4e186307046
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user