summaryrefslogtreecommitdiff
path: root/graphics/ruby-gd/Makefile
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
commit1ea2373c735374c739955a2a77e8c40fc89bb1e4 (patch)
treead0848cbadb5e9598d94fe5571e16e053c6087df /graphics/ruby-gd/Makefile
parent9eeb63b7be9162eee91de272cda8ead549a3abc8 (diff)
downloadpkgsrc-1ea2373c735374c739955a2a77e8c40fc89bb1e4.tar.gz
Migrate ruby-gd to use new framework for Ruby packages.
Diffstat (limited to 'graphics/ruby-gd/Makefile')
-rw-r--r--graphics/ruby-gd/Makefile16
1 files changed, 6 insertions, 10 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"