summaryrefslogtreecommitdiff
path: root/graphics/ruby-gnuplot/Makefile
diff options
context:
space:
mode:
authorjlam <jlam>2008-04-04 15:30:00 +0000
committerjlam <jlam>2008-04-04 15:30:00 +0000
commit92988a1827aba813f938877019085bf01f1bc71e (patch)
treec080e0fce7907456de3fe1768865d098adfb51fd /graphics/ruby-gnuplot/Makefile
parent4e35b23d74df0714ee3be53e737413d477fc5877 (diff)
downloadpkgsrc-92988a1827aba813f938877019085bf01f1bc71e.tar.gz
Install as a gem using the pkgsrc rubygem.mk framework instead of
directly into site_ruby.
Diffstat (limited to 'graphics/ruby-gnuplot/Makefile')
-rw-r--r--graphics/ruby-gnuplot/Makefile21
1 files changed, 6 insertions, 15 deletions
diff --git a/graphics/ruby-gnuplot/Makefile b/graphics/ruby-gnuplot/Makefile
index c46f5e05617..f3403d03739 100644
--- a/graphics/ruby-gnuplot/Makefile
+++ b/graphics/ruby-gnuplot/Makefile
@@ -1,24 +1,15 @@
-# $NetBSD: Makefile,v 1.1.1.1 2006/05/07 21:41:18 minskim Exp $
+# $NetBSD: Makefile,v 1.2 2008/04/04 15:30:01 jlam Exp $
-DISTNAME= rgplot-2.2
-PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME:S/rg/gnu/}
+DISTNAME= gnuplot-2.2
+PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME}
+PKGREVISION= 1
CATEGORIES= graphics
-MASTER_SITES= http://rubyforge.org/frs/download.php/7093/
-EXTRACT_SUFX= .tar.bz2
MAINTAINER= minskim@NetBSD.org
HOMEPAGE= http://rgplot.rubyforge.org/
COMMENT= Ruby interface to a gnuplot process
-USE_RUBY_EXTCONF= yes
-WRKSRC= ${WRKDIR}/rgplot
-
-.include "../../lang/ruby/modules.mk"
-
-post-install:
- ${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/gnuplot
-.for f in AUTHORS.txt LICENSE.txt howto.html
- ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/gnuplot
-.endfor
+GEM_BUILD= gemspec
+.include "../../misc/rubygems/rubygem.mk"
.include "../../mk/bsd.pkg.mk"