diff options
author | taca <taca@pkgsrc.org> | 2004-11-27 16:12:57 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2004-11-27 16:12:57 +0000 |
commit | 1ea2373c735374c739955a2a77e8c40fc89bb1e4 (patch) | |
tree | ad0848cbadb5e9598d94fe5571e16e053c6087df /graphics | |
parent | 9eeb63b7be9162eee91de272cda8ead549a3abc8 (diff) | |
download | pkgsrc-1ea2373c735374c739955a2a77e8c40fc89bb1e4.tar.gz |
Migrate ruby-gd to use new framework for Ruby packages.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/ruby-gd/Makefile | 16 | ||||
-rw-r--r-- | graphics/ruby-gd/PLIST | 4 |
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 |