diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2002-02-22 15:37:05 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2002-02-22 15:37:05 +0000 |
commit | 80c03469d9a9f7b39ccf59929ec38e4297ac83c6 (patch) | |
tree | 783db2e89846c7aed6db05e37ec9044e042587bd /math/ruby-gnuplot/Makefile | |
parent | Update to 0.2.1. (diff) |
Update to 0.2.
Notes
Notes:
svn path=/head/; revision=55091
Diffstat (limited to 'math/ruby-gnuplot/Makefile')
-rw-r--r-- | math/ruby-gnuplot/Makefile | 12 |
1 files changed, 7 insertions, 5 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> |