summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2004-11-27 16:12:57 +0000
committertaca <taca@pkgsrc.org>2004-11-27 16:12:57 +0000
commit4e5179db2d0250e0066218324fcb6a29136876d2 (patch)
treead0848cbadb5e9598d94fe5571e16e053c6087df
parenta163975dab6f129a4bec3f25a8e2dbe96ce9ec3e (diff)
downloadpkgsrc-4e5179db2d0250e0066218324fcb6a29136876d2.tar.gz
Migrate ruby-gd to use new framework for Ruby packages.
-rw-r--r--graphics/ruby-gd/Makefile16
-rw-r--r--graphics/ruby-gd/PLIST4
2 files changed, 8 insertions, 12 deletions
diff --git a/graphics/ruby-gd/Makefile b/graphics/ruby-gd/Makefile
index ba0daae9c84..8f371f70bbb 100644
--- a/graphics/ruby-gd/Makefile
+++ b/graphics/ruby-gd/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.8 2004/10/03 00:14:57 tv Exp $
+# $NetBSD: Makefile,v 1.9 2004/11/27 16:12:57 taca Exp $
DISTNAME= ruby-GD-${VER}-1
-PKGNAME= ruby-gd-${VER}.1
-PKGREVISION= 3
+PKGNAME= ${RUBY_PKGPREFIX}-gd-${VER}.1
CATEGORIES= graphics ruby
MASTER_SITES= http://tam.0xfa.com/ruby-gd/
@@ -10,12 +9,10 @@ MAINTAINER= rasputin@idoru.mine.nu
HOMEPAGE= # not available
COMMENT= Ruby extension to drive the GD library
-WRKSRC= ${WRKDIR}/ruby-GD-${VER}
-USE_BUILDLINK3= yes
-
-VER= 0.7.4
-DIST_SUBDIR= ruby
+USE_BUILDLINK3= yes
USE_RUBY_EXTCONF= yes
+WRKSRC= ${WRKDIR}/ruby-GD-${VER}
+VER= 0.7.4
CONFIGURE_ARGS+= --with-gd-dir=${PREFIX}
CONFIGURE_ARGS+= --with-ttf
@@ -31,6 +28,5 @@ post-install:
.include "../../graphics/gd/buildlink3.mk"
.include "../../graphics/freetype-lib/buildlink3.mk"
.include "../../graphics/freetype2/buildlink3.mk"
-.include "../../lang/ruby-base/Makefile.common"
-.include "../../lang/ruby-base/buildlink3.mk"
+.include "../../lang/ruby/modules.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/ruby-gd/PLIST b/graphics/ruby-gd/PLIST
index d35c7d036b8..5e789498a79 100644
--- a/graphics/ruby-gd/PLIST
+++ b/graphics/ruby-gd/PLIST
@@ -1,5 +1,5 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2003/10/05 09:55:18 taca Exp $
-${RUBY_ARCHLIBDIR}/GD.so
+@comment $NetBSD: PLIST,v 1.2 2004/11/27 16:12:57 taca Exp $
+${RUBY_SITEARCHLIBDIR}/GD.so
${RUBY_EXAMPLESDIR}/gd/example.rb
${RUBY_EXAMPLESDIR}/gd/gdtestttf.png
${RUBY_EXAMPLESDIR}/gd/gdtestttf.rb