diff options
Diffstat (limited to 'math')
| -rw-r--r-- | math/ruby-gnuplot/Makefile | 12 | ||||
| -rw-r--r-- | math/ruby-gnuplot/distinfo | 2 | ||||
| -rw-r--r-- | math/ruby-gnuplot/pkg-plist | 4 | 
3 files changed, 11 insertions, 7 deletions
diff --git a/math/ruby-gnuplot/Makefile b/math/ruby-gnuplot/Makefile index fc886dcbbf21..db950fe649a7 100644 --- a/math/ruby-gnuplot/Makefile +++ b/math/ruby-gnuplot/Makefile @@ -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> diff --git a/math/ruby-gnuplot/distinfo b/math/ruby-gnuplot/distinfo index 138da794a773..5fd6db4a5320 100644 --- a/math/ruby-gnuplot/distinfo +++ b/math/ruby-gnuplot/distinfo @@ -1 +1 @@ -MD5 (ruby/gnuplot.tar.gz) = 116aee9fa199a944fe7794856a329fa1 +MD5 (ruby/gnuplot-0.2.tar.gz) = d433aaa10871dc32f87df4e186307046 diff --git a/math/ruby-gnuplot/pkg-plist b/math/ruby-gnuplot/pkg-plist index e8bb7c4aefea..5624f7d7281a 100644 --- a/math/ruby-gnuplot/pkg-plist +++ b/math/ruby-gnuplot/pkg-plist @@ -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  | 
