diff options
author | taca <taca@pkgsrc.org> | 2003-10-05 09:55:18 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2003-10-05 09:55:18 +0000 |
commit | 3b1360fbb28d301382b03d61dd5d2620f2dea4b0 (patch) | |
tree | 2dce07b4609b9f0136f109fde1c25468b6c1a94b /graphics/ruby-gd | |
parent | bb82b19fc7db7675ae05692e39ad2f4703c1221c (diff) | |
download | pkgsrc-3b1360fbb28d301382b03d61dd5d2620f2dea4b0.tar.gz |
Initial importing of graphics/ruby-gd package based on PR pkg/22159 by
Rasputin <rasputin at idoru dot mine dot nu>.
Ruby extension library to drive Thomas Boutells gd library.
Diffstat (limited to 'graphics/ruby-gd')
-rw-r--r-- | graphics/ruby-gd/DESCR | 1 | ||||
-rw-r--r-- | graphics/ruby-gd/Makefile | 32 | ||||
-rw-r--r-- | graphics/ruby-gd/PLIST | 13 | ||||
-rw-r--r-- | graphics/ruby-gd/distinfo | 4 |
4 files changed, 50 insertions, 0 deletions
diff --git a/graphics/ruby-gd/DESCR b/graphics/ruby-gd/DESCR new file mode 100644 index 00000000000..c8351799cb0 --- /dev/null +++ b/graphics/ruby-gd/DESCR @@ -0,0 +1 @@ +Ruby extension library to drive Thomas Boutells gd library. diff --git a/graphics/ruby-gd/Makefile b/graphics/ruby-gd/Makefile new file mode 100644 index 00000000000..abe457aff4e --- /dev/null +++ b/graphics/ruby-gd/Makefile @@ -0,0 +1,32 @@ +# $NetBSD: Makefile,v 1.1.1.1 2003/10/05 09:55:18 taca Exp $ + +DISTNAME= ruby-GD-${VER}-1 +PKGNAME= ruby-gd-${VER}.1 +WRKSRC= ${WRKDIR}/ruby-GD-${VER} +CATEGORIES= graphics +MASTER_SITES= http://tam.0xfa.com/ruby-gd/ + +MAINTAINER= rasputin@idoru.mine.nu +HOMEPAGE= # not available +COMMENT= Ruby extension to drive the GD library + +VER= 0.7.4 +DIST_SUBDIR= ruby +USE_RUBY_EXTCONF= yes + +CONFIGURE_ARGS+= --with-gd-dir=${PREFIX} +CONFIGURE_ARGS+= --with-ttf +CONFIGURE_ARGS+= --with-ttf-dir=${PREFIX} +CONFIGURE_ARGS+= --with-freetype +CONFIGURE_ARGS+= --with-freetype-dir=${PREFIX} +CONFIGURE_ARGS+= --enable-gd2_0 + +post-install: + ${CP} -R ${WRKSRC}/doc ${RUBY_DOCDIR}/gd + ${CP} -R ${WRKSRC}/sample ${RUBY_EXAMPLESDIR}/gd + +.include "../../graphics/gd/buildlink2.mk" +.include "../../graphics/freetype-lib/buildlink2.mk" +.include "../../graphics/freetype2/buildlink2.mk" +.include "../../lang/ruby-base/Makefile.common" +.include "../../mk/bsd.pkg.mk" diff --git a/graphics/ruby-gd/PLIST b/graphics/ruby-gd/PLIST new file mode 100644 index 00000000000..d35c7d036b8 --- /dev/null +++ b/graphics/ruby-gd/PLIST @@ -0,0 +1,13 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2003/10/05 09:55:18 taca Exp $ +${RUBY_ARCHLIBDIR}/GD.so +${RUBY_EXAMPLESDIR}/gd/example.rb +${RUBY_EXAMPLESDIR}/gd/gdtestttf.png +${RUBY_EXAMPLESDIR}/gd/gdtestttf.rb +${RUBY_EXAMPLESDIR}/gd/webpng.rb +@dirrm ${RUBY_EXAMPLESDIR}/gd +${RUBY_DOCDIR}/gd/INSTALL.en +${RUBY_DOCDIR}/gd/INSTALL.ja +${RUBY_DOCDIR}/gd/manual.html +${RUBY_DOCDIR}/gd/manual.rd +${RUBY_DOCDIR}/gd/manual_index.html +@dirrm ${RUBY_DOCDIR}/gd diff --git a/graphics/ruby-gd/distinfo b/graphics/ruby-gd/distinfo new file mode 100644 index 00000000000..edd51b18c2f --- /dev/null +++ b/graphics/ruby-gd/distinfo @@ -0,0 +1,4 @@ +$NetBSD: distinfo,v 1.1.1.1 2003/10/05 09:55:18 taca Exp $ + +SHA1 (ruby/ruby-GD-0.7.4-1.tar.gz) = 87ad45f8b224ab2abb87d289112a245f58b16218 +Size (ruby/ruby-GD-0.7.4-1.tar.gz) = 38725 bytes |